On Wed, Mar 02, 2005, Frederik Dannemare wrote: > i386-linux-gcc -Wl,-rpath,/usr/lib -o motion motion.o conf.o draw.o > video.o track.o alg.o event.o picture.o rotate.o netcam.o netcam_wget.o > webcam.o ffmpeg.o xmlrpc-httpd.o control.o -lm -lpthread -ljpeg > -L/usr/lib -lavformat -lavcodec -lm -lz -L/usr/lib -lxmlrpc > -lxmlrpc_xmlparse -lxmlrpc_xmltok -L/usr/lib -lmysqlclient -lz > -L/usr/lib -lpq > /usr/lib/libavformat.a(ogg.o)(.text+0x57): In function > `ogg_write_header': > : undefined reference to `ogg_stream_init' > [...] > [ much of the same... ] > /usr/lib/libavcodec.a(oggvorbis.o)(.text+0x6bc): In function > `oggvorbis_decode_frame': > : undefined reference to `vorbis_synthesis_read' > [...]
You need to add -lvorbis et al. to your link line. An easier step is to read /usr/share/doc/libavcodec-dev/README.Debian . > Doing > cd /usr/lib/ > ln -s libavcodec-cvs.so libavcodec.so > ln -s libavformat-cvs.so libavformat.so > apparently fixes the problem and I can now link against ffmpeg > (libavcodec/libavformat) to properly build my package. > > Any change I can convince you to provide me those two symlinks in your > next upload of ffmpeg? I suspect other future packages linking against > ffmpeg would need those two to be present. Sorry, libavcodec-cvs.so and libavformat-cvs.so are not in my packages, so there is not much I can do here. -- Sam. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]