$ make -f Makefile.gp2x
rm -f main.o aspirin.o aspirin.gpe
arm-linux-gcc -c main.c -o main.o -I"/c/devkitGP2X/include" -DGP2X -DSOUND -O2 -Wall
arm-linux-gcc -c aspirin.c -o aspirin.o -I"/c/devkitGP2X/include" -DGP2X -DSOUND -O2 -Wall
arm-linux-gcc -static main.o aspirin.o -o aspirin.gpe -L/c/devkitgp2x/lib --Wl,-rpath,/c/devkitgp2x/lib -lSDL_mixer -lmikmod -lvorbisidec -lsmpeg -lSDL_image -lpng12 -ljpeg -lz -lSDL -lSDLmain -lpthread -lgcc -lm
c:/devkitgp2x/lib\libmikmod.a(mdriver.o): In function `MD_DropPrivileges':
../playercode/mdriver.c:919: warning: Using 'getpwnam' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
c:/devkitgp2x/lib\libsmpeg.a(smpeg.o): In function `SMPEG_new_rwops':
/home/Administrator/newtoolchain/smpeg-0.4.4/smpeg.cpp:100: undefined reference to `operator new(unsigned int)'
/home/Administrator/newtoolchain/smpeg-0.4.4/smpeg.cpp:101: undefined reference to `operator new(unsigned int)'
c:/devkitgp2x/lib\libsmpeg.a(smpeg.o): In function `SMPEG_new_data':
/home/Administrator/newtoolchain/smpeg-0.4.4/smpeg.cpp:85: undefined reference to `operator new(unsigned int)'
/home/Administrator/newtoolchain/smpeg-0.4.4/smpeg.cpp:86: undefined reference to `operator new(unsigned int)'
c:/devkitgp2x/lib\libsmpeg.a(smpeg.o): In function `SMPEG_new_descr':
/home/Administrator/newtoolchain/smpeg-0.4.4/smpeg.cpp:65: undefined reference to `operator new(unsigned int)'
c:/devkitgp2x/lib\libsmpeg.a(smpeg.o):/home/Administrator/newtoolchain/smpeg-0.4.4/smpeg.cpp:66: more undefined references to `operator new(unsigned int)' follow
c:/devkitgp2x/lib\libsmpeg.a(smpeg.o): In function `SMPEG_delete':
/home/Administrator/newtoolchain/smpeg-0.4.4/smpeg.cpp:173: undefined reference to `operator delete(void*)'
c:/devkitgp2x/lib\libsmpeg.a(MPEG.o): In function `~MPEG':
/home/Administrator/newtoolchain/smpeg-0.4.4/MPEG.cpp:156: undefined reference to `operator delete[](void*)'
/home/Administrator/newtoolchain/smpeg-0.4.4/MPEG.cpp:157: undefined reference to `operator delete(void*)'
/home/Administrator/newtoolchain/smpeg-0.4.4/MPEG.cpp:156: undefined reference to `operator delete[](void*)'
/home/Administrator/newtoolchain/smpeg-0.4.4/MPEG.cpp:156: undefined reference to `operator delete[](void*)'
c:/devkitgp2x/lib\libsmpeg.a(MPEG.o): In function `MPEG:
arse_stream_list()':
/home/Administrator/newtoolchain/smpeg-0.4.4/MPEG.cpp:490: undefined reference to `operator new(unsigned int)'
/home/Administrator/newtoolchain/smpeg-0.4.4/MPEG.cpp:498: undefined reference to `operator new(unsigned int)'
c:/devkitgp2x/lib\libsmpeg.a(MPEG.o): In function `MPEG::Init(SDL_RWops*, bool)':
/home/Administrator/newtoolchain/smpeg-0.4.4/MPEG.cpp:91: undefined reference to `operator new(unsigned int)'
c:/devkitgp2x/lib\libsmpeg.a(MPEG.o): In function `MPEG':
/home/Administrator/newtoolchain/smpeg-0.4.4/MPEG.cpp:66: undefined reference to `operator new[](unsigned int)'
/home/Administrator/newtoolchain/smpeg-0.4.4/MPEG.cpp:66: undefined reference to `operator new[](unsigned int)'
c:/devkitgp2x/lib\libsmpeg.a(MPEGring.o): In function `~MPEG_ring':
/home/Administrator/newtoolchain/smpeg-0.4.4/MPEGring.cpp:124: undefined reference to `operator delete(void*)'
c:/devkitgp2x/lib\libsmpeg.a(MPEGstream.o): In function `MPEGstream':
/home/Administrator/newtoolchain/smpeg-0.4.4/MPEGstream.cpp:35: undefined reference to `operator new(unsigned int)'
/home/Administrator/newtoolchain/smpeg-0.4.4/MPEGstream.cpp:35: undefined reference to `operator new(unsigned int)'
c:/devkitgp2x/lib\libsmpeg.a(MPEGstream.o): In function `MPEGstream::delete_marker(MPEGstream_marker*)':
/home/Administrator/newtoolchain/smpeg-0.4.4/MPEGstream.cpp:223: undefined reference to `operator delete(void*)'
c:/devkitgp2x/lib\libsmpeg.a(MPEGstream.o): In function `~MPEGstream':
/home/Administrator/newtoolchain/smpeg-0.4.4/MPEGstream.cpp:59: undefined reference to `operator delete(void*)'
/home/Administrator/newtoolchain/smpeg-0.4.4/MPEGstream.cpp:61: undefined reference to `operator delete(void*)'
/home/Administrator/newtoolchain/smpeg-0.4.4/MPEGstream.cpp:59: undefined reference to `operator delete(void*)'
/home/Administrator/newtoolchain/smpeg-0.4.4/MPEGstream.cpp:61: undefined reference to `operator delete(void*)'
c:/devkitgp2x/lib\libsmpeg.a(MPEGstream.o):/home/Administrator/newtoolchain/smpeg-0.4.4/MPEGstream.cpp:77: more undefined references to `operator delete(void*)' follow
c:/devkitgp2x/lib\libsmpeg.a(MPEGstream.o): In function `MPEGstream::reset_stream()':
/home/Administrator/newtoolchain/smpeg-0.4.4/MPEGstream.cpp:81: undefined reference to `operator new(unsigned int)'
c:/devkitgp2x/lib\libsmpeg.a(MPEGstream.o): In function `MPEGstream::garbage_collect()':
/home/Administrator/newtoolchain/smpeg-0.4.4/MPEGstream.cpp:332: undefined reference to `operator delete(void*)'
c:/devkitgp2x/lib\libsmpeg.a(MPEGstream.o): In function `MPEGstream::new_marker(int)':
/home/Administrator/newtoolchain/smpeg-0.4.4/MPEGstream.cpp:180: undefined reference to `operator new(unsigned int)'
c:/devkitgp2x/lib\libsmpeg.a(MPEGsystem.o): In function `~MPEGsystem':
/home/Administrator/newtoolchain/smpeg-0.4.4/MPEGsystem.cpp:485: undefined reference to `operator delete(void*)'
/home/Administrator/newtoolchain/smpeg-0.4.4/MPEGsystem.cpp:490: undefined reference to `operator delete[](void*)'
/home/Administrator/newtoolchain/smpeg-0.4.4/MPEGsystem.cpp:491: undefined reference to `operator delete(void*)'
/home/Administrator/newtoolchain/smpeg-0.4.4/MPEGsystem.cpp:485: undefined reference to `operator delete(void*)'
/home/Administrator/newtoolchain/smpeg-0.4.4/MPEGsystem.cpp:490: undefined reference to `operator delete[](void*)'
/home/Administrator/newtoolchain/smpeg-0.4.4/MPEGsystem.cpp:485: undefined reference to `operator delete(void*)'
/home/Administrator/newtoolchain/smpeg-0.4.4/MPEGsystem.cpp:490: undefined reference to `operator delete[](void*)'
c:/devkitgp2x/lib\libsmpeg.a(MPEGsystem.o): In function `MPEGsystem':
/home/Administrator/newtoolchain/smpeg-0.4.4/MPEGsystem.cpp:403: undefined reference to `operator new[](unsigned int)'
/home/Administrator/newtoolchain/smpeg-0.4.4/MPEGsystem.cpp:425: undefined reference to `operator new(unsigned int)'
/home/Administrator/newtoolchain/smpeg-0.4.4/MPEGsystem.cpp:403: undefined reference to `operator new[](unsigned int)'
/home/Administrator/newtoolchain/smpeg-0.4.4/MPEGsystem.cpp:425: undefined reference to `operator new(unsigned int)'
c:/devkitgp2x/lib\libsmpeg.a(MPEGsystem.o): In function `MPEGsystem::FillBuffer()':
/home/Administrator/newtoolchain/smpeg-0.4.4/MPEGsystem.cpp:820: undefined reference to `operator new(unsigned int)'
/home/Administrator/newtoolchain/smpeg-0.4.4/MPEGsystem.cpp:855: undefined reference to `operator new(unsigned int)'
/home/Administrator/newtoolchain/smpeg-0.4.4/MPEGsystem.cpp:828: undefined reference to `operator new(unsigned int)'
c:/devkitgp2x/lib\libsmpeg.a(MPEGsystem.o): In function `MPEGsystem::TotalTime()':
/home/Administrator/newtoolchain/smpeg-0.4.4/MPEGsystem.cpp:976: undefined reference to `operator new[](unsigned int)'
/home/Administrator/newtoolchain/smpeg-0.4.4/MPEGsystem.cpp:1074: undefined reference to `operator delete[](void*)'
c:/devkitgp2x/lib\libsmpeg.a(MPEGsystem.o): In function `MPEGsystem::TimeElapsedAudio(int)':
/home/Administrator/newtoolchain/smpeg-0.4.4/MPEGsystem.cpp:1120: undefined reference to `operator new[](unsigned int)'
/home/Administrator/newtoolchain/smpeg-0.4.4/MPEGsystem.cpp:1168: undefined reference to `operator delete(void*)'
c:/devkitgp2x/lib\libsmpeg.a(MPEGaudio.lo): In function `MPEGaudio::StartDecoding()':
/home/Administrator/newtoolchain/smpeg-0.4.4/audio/MPEGaudio.cpp:153: undefined reference to `operator new(unsigned int)'
c:/devkitgp2x/lib\libsmpeg.a(MPEGaudio.lo): In function `~MPEGaudio':
/home/Administrator/newtoolchain/smpeg-0.4.4/audio/MPEGaudio.cpp:90: undefined reference to `operator delete(void*)'
c:/devkitgp2x/lib\libsmpeg.a(MPEGaudio.lo)
.gnu.linkonce.d._ZTV15MPEGaudioaction[_ZTV15MPEGaudioaction]+0x10): undefined reference to `__cxa_pure_virtual'
c:/devkitgp2x/lib\libsmpeg.a(MPEGaudio.lo)
.gnu.linkonce.d._ZTV15MPEGaudioaction[_ZTV15MPEGaudioaction]+0x14): undefined reference to `__cxa_pure_virtual'
c:/devkitgp2x/lib\libsmpeg.a(MPEGaudio.lo)
.gnu.linkonce.d._ZTV15MPEGaudioaction[_ZTV15MPEGaudioaction]+0x18): undefined reference to `__cxa_pure_virtual'
c:/devkitgp2x/lib\libsmpeg.a(MPEGaudio.lo)
.gnu.linkonce.d._ZTV15MPEGaudioaction[_ZTV15MPEGaudioaction]+0x1c): undefined reference to `__cxa_pure_virtual'
c:/devkitgp2x/lib\libsmpeg.a(MPEGaudio.lo)
.gnu.linkonce.d._ZTV15MPEGaudioaction[_ZTV15MPEGaudioaction]+0x20): undefined reference to `__cxa_pure_virtual'
c:/devkitgp2x/lib\libsmpeg.a(MPEGaudio.lo)
.gnu.linkonce.d._ZTV15MPEGaudioaction[_ZTV15MPEGaudioaction]+0x28): more undefined references to `__cxa_pure_virtual' follow
c:/devkitgp2x/lib\libsmpeg.a(MPEGvideo.lo): In function `~MPEGvideo':
/home/Administrator/newtoolchain/smpeg-0.4.4/video/MPEGvideo.cpp:227: undefined reference to `operator delete(void*)'
c:/devkitgp2x/lib\libsmpeg.a(MPEGvideo.lo)
.gnu.linkonce.d._ZTV15MPEGvideoaction[_ZTV15MPEGvideoaction]+0x10): undefined reference to `__cxa_pure_virtual'
c:/devkitgp2x/lib\libsmpeg.a(MPEGvideo.lo)
.gnu.linkonce.d._ZTV15MPEGvideoaction[_ZTV15MPEGvideoaction]+0x14): undefined reference to `__cxa_pure_virtual'
c:/devkitgp2x/lib\libsmpeg.a(MPEGvideo.lo)
.gnu.linkonce.d._ZTV15MPEGvideoaction[_ZTV15MPEGvideoaction]+0x18): undefined reference to `__cxa_pure_virtual'
c:/devkitgp2x/lib\libsmpeg.a(MPEGvideo.lo)
.gnu.linkonce.d._ZTV15MPEGvideoaction[_ZTV15MPEGvideoaction]+0x1c): undefined reference to `__cxa_pure_virtual'
c:/devkitgp2x/lib\libsmpeg.a(MPEGvideo.lo)
.gnu.linkonce.d._ZTV15MPEGvideoaction[_ZTV15MPEGvideoaction]+0x20): undefined reference to `__cxa_pure_virtual'
c:/devkitgp2x/lib\libsmpeg.a(MPEGvideo.lo)
.gnu.linkonce.d._ZTV15MPEGvideoaction[_ZTV15MPEGvideoaction]+0x28): more undefined references to `__cxa_pure_virtual' follow
c:/devkitgp2x/lib\libsmpeg.a(MPEGlist.o): In function `~MPEGlist':
/home/Administrator/newtoolchain/smpeg-0.4.4/MPEGlist.cpp:19: undefined reference to `operator delete(void*)'
/home/Administrator/newtoolchain/smpeg-0.4.4/MPEGlist.cpp:19: undefined reference to `operator delete(void*)'
c:/devkitgp2x/lib\libsmpeg.a(MPEGlist.o): In function `MPEGlist::Alloc(unsigned int)':
/home/Administrator/newtoolchain/smpeg-0.4.4/MPEGlist.cpp:31: undefined reference to `operator new(unsigned int)'
/home/Administrator/newtoolchain/smpeg-0.4.4/MPEGlist.cpp:35: undefined reference to `operator new[](unsigned int)'
make: *** [aspirin.gpe] Error 1