I just installed it from packages, but it doesn't seem to perform as expected. configure scripts die with errors that the C compiler is broken, tons of include files in sys/, gnu/ and bits/ are missing, and if I manually modify the Makefiles to match the example projects that come with it, I end up getting compile errors like the following:
arm-thumb-elf-g++ -nostartfiles -Wall -Wl,-Map,gp-ffplay.map -T lnkscript crt0.o -o gp-ffplay.elf ffplay.o cmdutils.o -lgpmem -lgpos -lgpstdio -lgpstdlib -lgpsound -lgpgraphic -lgpfont -lavcodec -lavformat -lSDL
crt0.o: In function `_GpInit':
crt0.o(.text+0x68): undefined reference to `asm_user_entry'
crt0.o: In function `_fw_init_for_dbg':
crt0.o(.text+0x194): undefined reference to `asm_user_entry_path'
crt0.o: In function `CopyZIData':
crt0.o(.text+0x24c): undefined reference to `HEAPSTART'
crt0.o(.text+0x250): undefined reference to `HEAPEND'
crt0.o(.text+0x254): undefined reference to `Main'
ffplay.o: In function `decode_thread':
/home/unit3/devel/ffmpeg-cvs-2003-08-20/ffplay.c:1310: undefined reference to `rtsp_pause'
/home/unit3/devel/ffmpeg-cvs-2003-08-20/ffplay.c:1312: undefined reference to `rtsp_resume'
/home/unit3/devel/ffmpeg-cvs-2003-08-20/ffplay.c:1256: undefined reference to `rtsp_demux'
ffplay.o: In function `opt_rtp_tcp':
/home/unit3/devel/ffmpeg-cvs-2003-08-20/ffplay.c:1602: undefined reference to `rtsp_default_protocols'
/usr/lib/gcc-lib/arm-thumb-elf/3.2.1/../../../../arm-thumb-elf/lib/libgpos.a(gpos_core.o): In function `GpKernelInitialize':
gpos_core.o(.text+0x194): undefined reference to `GpPredefinedStackGet'
gpos_core.o(.text+0x2b4): undefined reference to `GpMain'
/usr/lib/gcc-lib/arm-thumb-elf/3.2.1/../../../../arm-thumb-elf/lib/libgpos.a(gpos_user.o): In function `GpTimerSet':
gpos_user.o(.text+0x280): undefined reference to `GpPredefinedStackGet'
/usr/lib/gcc-lib/arm-thumb-elf/3.2.1/../../../../arm-thumb-elf/lib/libgpos.a(gpos_user.o): In function `GpNetThreadAct':
gpos_user.o(.text+0x45c): undefined reference to `GpPredefinedStackGet'
/usr/lib/gcc-lib/arm-thumb-elf/3.2.1/../../../../arm-thumb-elf/lib/libavformat.a(utils.o): In function `av_open_input_file':
/home/unit3/devel/ffmpeg-cvs-2003-08-20/libavformat/utils.c:333: undefined reference to `rtp_demux'
/usr/lib/gcc-lib/arm-thumb-elf/3.2.1/../../../../arm-thumb-elf/lib/libavformat.a(utils.o): In function `av_close_input_file':
/home/unit3/devel/ffmpeg-cvs-2003-08-20/libavformat/utils.c:971: undefined reference to `rtp_demux'
/usr/lib/gcc-lib/arm-thumb-elf/3.2.1/../../../../arm-thumb-elf/lib/libavformat.a(allformats.o): In function `av_register_all':
/home/unit3/devel/ffmpeg-cvs-2003-08-20/libavformat/allformats.c:30: undefined reference to `avcodec_register_all'
/home/unit3/devel/ffmpeg-cvs-2003-08-20/libavformat/allformats.c:74: undefined reference to `dv1394_init'
/usr/lib/gcc-lib/arm-thumb-elf/3.2.1/../../../../arm-thumb-elf/lib/libavformat.a(jpeg.o): In function `jpeg_read':
/home/unit3/devel/ffmpeg-cvs-2003-08-20/libavformat/jpeg.c:104: undefined reference to `mjpeg_decoder'
/usr/lib/gcc-lib/arm-thumb-elf/3.2.1/../../../../arm-thumb-elf/lib/libavformat.a(jpeg.o): In function `jpeg_write':
/home/unit3/devel/ffmpeg-cvs-2003-08-20/libavformat/jpeg.c:186: undefined reference to `mjpeg_encoder'
/usr/lib/gcc-lib/arm-thumb-elf/3.2.1/../../../../arm-thumb-elf/lib/libSDL.a(SDL_syscond.o): In function `SDL_CondSignal':
SDL_syscond.o(.text+0x1c): undefined reference to `pthread_cond_signal'
/usr/lib/gcc-lib/arm-thumb-elf/3.2.1/../../../../arm-thumb-elf/lib/libSDL.a(SDL_syscond.o): In function `SDL_CondBroadcast':
SDL_syscond.o(.text+0x74): undefined reference to `pthread_cond_broadcast'
/usr/lib/gcc-lib/arm-thumb-elf/3.2.1/../../../../arm-thumb-elf/lib/libSDL.a(SDL_syscond.o): In function `SDL_CondWaitTimeout':
SDL_syscond.o(.text+0x15c): undefined reference to `pthread_cond_timedwait'
/usr/lib/gcc-lib/arm-thumb-elf/3.2.1/../../../../arm-thumb-elf/lib/libSDL.a(SDL_syscond.o): In function `SDL_CondWait':
SDL_syscond.o(.text+0x1c0): undefined reference to `pthread_cond_wait'
collect2: ld returned 1 exit status
make: *** [gp-ffplay.elf] Error 1
Can someone help me work out the issues I'm having? How do I track down this crap? I noticed that someone was talking about making a cross toolchain with Gentoo, would that serve me better?
arm-thumb-elf-g++ -nostartfiles -Wall -Wl,-Map,gp-ffplay.map -T lnkscript crt0.o -o gp-ffplay.elf ffplay.o cmdutils.o -lgpmem -lgpos -lgpstdio -lgpstdlib -lgpsound -lgpgraphic -lgpfont -lavcodec -lavformat -lSDL
crt0.o: In function `_GpInit':
crt0.o(.text+0x68): undefined reference to `asm_user_entry'
crt0.o: In function `_fw_init_for_dbg':
crt0.o(.text+0x194): undefined reference to `asm_user_entry_path'
crt0.o: In function `CopyZIData':
crt0.o(.text+0x24c): undefined reference to `HEAPSTART'
crt0.o(.text+0x250): undefined reference to `HEAPEND'
crt0.o(.text+0x254): undefined reference to `Main'
ffplay.o: In function `decode_thread':
/home/unit3/devel/ffmpeg-cvs-2003-08-20/ffplay.c:1310: undefined reference to `rtsp_pause'
/home/unit3/devel/ffmpeg-cvs-2003-08-20/ffplay.c:1312: undefined reference to `rtsp_resume'
/home/unit3/devel/ffmpeg-cvs-2003-08-20/ffplay.c:1256: undefined reference to `rtsp_demux'
ffplay.o: In function `opt_rtp_tcp':
/home/unit3/devel/ffmpeg-cvs-2003-08-20/ffplay.c:1602: undefined reference to `rtsp_default_protocols'
/usr/lib/gcc-lib/arm-thumb-elf/3.2.1/../../../../arm-thumb-elf/lib/libgpos.a(gpos_core.o): In function `GpKernelInitialize':
gpos_core.o(.text+0x194): undefined reference to `GpPredefinedStackGet'
gpos_core.o(.text+0x2b4): undefined reference to `GpMain'
/usr/lib/gcc-lib/arm-thumb-elf/3.2.1/../../../../arm-thumb-elf/lib/libgpos.a(gpos_user.o): In function `GpTimerSet':
gpos_user.o(.text+0x280): undefined reference to `GpPredefinedStackGet'
/usr/lib/gcc-lib/arm-thumb-elf/3.2.1/../../../../arm-thumb-elf/lib/libgpos.a(gpos_user.o): In function `GpNetThreadAct':
gpos_user.o(.text+0x45c): undefined reference to `GpPredefinedStackGet'
/usr/lib/gcc-lib/arm-thumb-elf/3.2.1/../../../../arm-thumb-elf/lib/libavformat.a(utils.o): In function `av_open_input_file':
/home/unit3/devel/ffmpeg-cvs-2003-08-20/libavformat/utils.c:333: undefined reference to `rtp_demux'
/usr/lib/gcc-lib/arm-thumb-elf/3.2.1/../../../../arm-thumb-elf/lib/libavformat.a(utils.o): In function `av_close_input_file':
/home/unit3/devel/ffmpeg-cvs-2003-08-20/libavformat/utils.c:971: undefined reference to `rtp_demux'
/usr/lib/gcc-lib/arm-thumb-elf/3.2.1/../../../../arm-thumb-elf/lib/libavformat.a(allformats.o): In function `av_register_all':
/home/unit3/devel/ffmpeg-cvs-2003-08-20/libavformat/allformats.c:30: undefined reference to `avcodec_register_all'
/home/unit3/devel/ffmpeg-cvs-2003-08-20/libavformat/allformats.c:74: undefined reference to `dv1394_init'
/usr/lib/gcc-lib/arm-thumb-elf/3.2.1/../../../../arm-thumb-elf/lib/libavformat.a(jpeg.o): In function `jpeg_read':
/home/unit3/devel/ffmpeg-cvs-2003-08-20/libavformat/jpeg.c:104: undefined reference to `mjpeg_decoder'
/usr/lib/gcc-lib/arm-thumb-elf/3.2.1/../../../../arm-thumb-elf/lib/libavformat.a(jpeg.o): In function `jpeg_write':
/home/unit3/devel/ffmpeg-cvs-2003-08-20/libavformat/jpeg.c:186: undefined reference to `mjpeg_encoder'
/usr/lib/gcc-lib/arm-thumb-elf/3.2.1/../../../../arm-thumb-elf/lib/libSDL.a(SDL_syscond.o): In function `SDL_CondSignal':
SDL_syscond.o(.text+0x1c): undefined reference to `pthread_cond_signal'
/usr/lib/gcc-lib/arm-thumb-elf/3.2.1/../../../../arm-thumb-elf/lib/libSDL.a(SDL_syscond.o): In function `SDL_CondBroadcast':
SDL_syscond.o(.text+0x74): undefined reference to `pthread_cond_broadcast'
/usr/lib/gcc-lib/arm-thumb-elf/3.2.1/../../../../arm-thumb-elf/lib/libSDL.a(SDL_syscond.o): In function `SDL_CondWaitTimeout':
SDL_syscond.o(.text+0x15c): undefined reference to `pthread_cond_timedwait'
/usr/lib/gcc-lib/arm-thumb-elf/3.2.1/../../../../arm-thumb-elf/lib/libSDL.a(SDL_syscond.o): In function `SDL_CondWait':
SDL_syscond.o(.text+0x1c0): undefined reference to `pthread_cond_wait'
collect2: ld returned 1 exit status
make: *** [gp-ffplay.elf] Error 1
Can someone help me work out the issues I'm having? How do I track down this crap? I noticed that someone was talking about making a cross toolchain with Gentoo, would that serve me better?