i use cygwin lastest toolchain & pspsdk 1.0.
i have include pspumd.h in my main.c
but there is a pspgcc error when i compiling
undefined reference to sceUmdCheckMedium
undefined reference to sceUmdWaitDriveStat
undefined reference to sceUmdActivate
undefined reference to sceUmdWaitDriveStat
Use build.mak as a starting point or start reading up on GCC. You should read GCC's manuals anyway, so you know what's going on. build.mak is used by all PSPSDK sample code.