[vlc-devel] (BeOS make problem) adding libpostproc.a

Stephan Assmus superstippi at gmx.de
Thu Apr 15 11:37:27 CEST 2004


Hi all,

The BeOS make process currently fails linking vlc. I need to add the 
postproc library to be linked. This is the line that doesn't work:

gcc -Wsign-compare -Wall -Wno-multichar -pipe -L/boot/home/config/lib -
o vlc src/vlc-vlc.o lib/libvlc.a ./modules/misc/memcpy/libmemcpymmx.a .
/modules/video_chroma/libi420_rgb_mmx.a ./modules/video_chroma/
libi422_yuy2_mmx.a ./modules/video_chroma/libi420_ymga_mmx.a ./modules/
video_chroma/libi420_yuy2_mmx.a ./modules/misc/memcpy/libmemcpy3dn.a ./
modules/codec/ffmpeg/libffmpeg.a ./modules/stream_out/
libstream_out_transcode.a -L/usr/local/lib -lpthread /boot/home/config/
lib/libintl.so -L/boot/home/config//lib /boot/home/config//lib/
libiconv.so -Wl,-rpath -Wl,/boot/home/config/lib -Wl,-rpath -Wl,/boot/
home/config//lib -lbe -L/boot/home/config/lib -lavformat -lz -lavcodec

It gives the following error:

./modules/codec/ffmpeg/libffmpeg.a(libffmpeg_a-postprocess.o): In 
function `InitPostproc__ffmpeg':
libffmpeg_a-postprocess.o(.text+0x28e): undefined reference to 
`pp_get_context'
./modules/codec/ffmpeg/libffmpeg.a(libffmpeg_a-postprocess.o): In 
function `PostprocPict__ffmpeg':
libffmpeg_a-postprocess.o(.text+0x38a): undefined reference to 
`pp_postprocess'
./modules/codec/ffmpeg/libffmpeg.a(libffmpeg_a-postprocess.o): In 
function `ClosePostproc__ffmpeg':
libffmpeg_a-postprocess.o(.text+0x3be): undefined reference to 
`pp_free_mode'
libffmpeg_a-postprocess.o(.text+0x3cd): undefined reference to 
`pp_free_context'
./modules/codec/ffmpeg/libffmpeg.a(libffmpeg_a-postprocess.o): In 
function `PPQCallback':
libffmpeg_a-postprocess.o(.text+0x484): undefined reference to 
`pp_get_mode_by_name_and_quality'
collect2: ld returned 1 exit status
make[2]: *** [vlc] Error 1
make[2]: Leaving directory `/boot/home/projects/develop/vlc/vlc-trunk'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/boot/home/projects/develop/vlc/vlc-trunk'
make: *** [all] Error 2

I can manually correct this by executing

gcc -Wsign-compare -Wall -Wno-multichar -pipe -L/boot/home/config/lib -
o vlc src/vlc-vlc.o lib/libvlc.a ./modules/misc/memcpy/libmemcpymmx.a .
/modules/video_chroma/libi420_rgb_mmx.a ./modules/video_chroma/
libi422_yuy2_mmx.a ./modules/video_chroma/libi420_ymga_mmx.a ./modules/
video_chroma/libi420_yuy2_mmx.a ./modules/misc/memcpy/libmemcpy3dn.a ./
modules/codec/ffmpeg/libffmpeg.a ./modules/stream_out/
libstream_out_transcode.a -L/usr/local/lib -lpthread /boot/home/config/
lib/libintl.so -L/boot/home/config//lib /boot/home/config//lib/
libiconv.so -Wl,-rpath -Wl,/boot/home/config/lib -Wl,-rpath -Wl,/boot/
home/config//lib -lbe -L/boot/home/config/lib -lavformat -lz -lavcodec 
-lpostproc

How can I add libpostproc.a somewhere in the makefile jungle?

Best regards,
-Stephan

-- 
This is the vlc-devel mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://developers.videolan.org/lists.html
If you are in trouble, please contact <postmaster at videolan.org>



More information about the vlc-devel mailing list