[Bf-committers] GSOC audio system cleanup branch linking issue @ 1190832406

Nathan Letwory jesterking at letwory.net
Thu Sep 27 06:34:07 CEST 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Michael Fox wrote:
> You all are missing the point, there eorrors in his branch are
> 
> Compiling ==> 'buildinfo.c'
> Linking program ==> 'blender'
> /home/mfoxdogg/bf_blender_audio/build/linux2/lib/libbf_blenkernel.a(writeffmpeg.o): In function `generate_video_frame':
> /home/mfoxdogg/bf_blender_audio/blender/source/blender/blenkernel/intern/writeffmpeg.c:321: undefined reference to `img_convert'
> /home/mfoxdogg/bf_blender_audio/build/linux2/lib/libbf_imbuf.a(anim.o):
> In function `ffmpeg_fetchibuf':
> /home/mfoxdogg/bf_blender_audio/blender/source/blender/imbuf/intern/anim.c:709: undefined reference to `img_convert'
> /home/mfoxdogg/bf_blender_audio/build/linux2/lib/libbf_soundsystem.a(ffmpegReader.o): In function `ffmpegReader::fillBuffer(float*, int)':
> /home/mfoxdogg/bf_blender_audio/blender/intern/tinySND/ffmpeg/ffmpegReader.cpp:151: undefined reference to `av_seek_frame(AVFormatContext*, int, long long, int)'
> /home/mfoxdogg/bf_blender_audio/blender/intern/tinySND/ffmpeg/ffmpegReader.cpp:152: undefined reference to `avcodec_flush_buffers(AVCodecContext*)'
> /home/mfoxdogg/bf_blender_audio/build/linux2/lib/libbf_soundsystem.a(ffmpegReader.o): In function `~ffmpegReader':
> /home/mfoxdogg/bf_blender_audio/blender/intern/tinySND/ffmpeg/ffmpegReader.cpp:126: undefined reference to `avcodec_close(AVCodecContext*)'
> /home/mfoxdogg/bf_blender_audio/blender/intern/tinySND/ffmpeg/ffmpegReader.cpp:127: undefined reference to `av_close_input_file(AVFormatContext*)'
> /home/mfoxdogg/bf_blender_audio/blender/intern/tinySND/ffmpeg/ffmpegReader.cpp:126: undefined reference to `avcodec_close(AVCodecContext*)'
> /home/mfoxdogg/bf_blender_audio/blender/intern/tinySND/ffmpeg/ffmpegReader.cpp:127: undefined reference to `av_close_input_file(AVFormatContext*)'
> /home/mfoxdogg/bf_blender_audio/blender/intern/tinySND/ffmpeg/ffmpegReader.cpp:126: undefined reference to `avcodec_close(AVCodecContext*)'
> /home/mfoxdogg/bf_blender_audio/blender/intern/tinySND/ffmpeg/ffmpegReader.cpp:127: undefined reference to `av_close_input_file(AVFormatContext*)'
> collect2: ld returned 1 exit status
> scons: *** [/home/mfoxdogg/bf_blender_audio/build/linux2/bin/blender]
> Error 1
> scons: building terminated because of errors.
> mfoxdogg at linux-wopb:~/bf_blender_audio/blender>  
> 
> which has nothing to do with the recent upgrade of ffmpeg

This output means that either the ffmpeg libraries are entirely missing
from the final linking line OR that you need to play with the priority
of different libraries to make sure the linking order is correct. The
easiest way is to first run with scons BF_QUIET=0 and then copy&paste
the final linking line and tweak that for every trial, until there are
no more errors.

/Nathan

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (MingW32)

iD8DBQFG+zK/RnS9XhVfakkRAi4yAJ9eMCPeD84iY7elyPFQMmv+Nvqi3QCgoTo6
fCGfApd3UwZq6OH9cg9lBew=
=9lZB
-----END PGP SIGNATURE-----


More information about the Bf-committers mailing list