[vlc-devel] Re: CVS Commit (fenrir)

Derk-Jan Hartman d.hartman at student.utwente.nl
Wed Apr 16 20:13:53 CEST 2003


On woensdag, apr 16, 2003, at 18:33 Europe/Amsterdam, cvs at videolan.org 
wrote:
> Update of /cvs/videolan/vlc/modules/stream_out
> Modified Files:
> 	transcode.c
>
> Log Message:
>  * transcode: tried to fix compilation with older libavcodec.

Now i get ld errors
I'm guessing this is because in MacOSX we completely statically compile 
everything? including ffmpeg?

gcc  -Winline -Wdisabled-optimization -Wsign-compare -Wall  
-no-cpp-precomp -D_INTL_REDIRECT_MACROS -finline-limit-30000 -pipe   -o 
vlc  src/vlc-vlc.o lib/libvlc.a -all_load -ldl -lpthread -framework 
vecLib  intl/libintl.a modules/audio_output/libcoreaudio.a 
modules/codec/libtheora.a modules/codec/ffmpeg/libffmpeg.a 
modules/codec/mpeg_video/libmpeg_video.a 
modules/codec/mpeg_video/idct/libidct.a 
modules/codec/mpeg_video/idct/libidctclassic.a   
modules/codec/mpeg_video/idct/libidctaltivec.a 
modules/codec/mpeg_video/motion/libmotion.a 
modules/codec/mpeg_video/motion/libmotionaltivec.a 
modules/gui/macosx/libmacosx.a                     
modules/misc/memcpy/libmemcpyaltivec.a                     
modules/stream_out/libstream_out_transcode.a -framework CoreAudio 
-ltheora -logg -all_load -lm -lavcodec -framework vecLib -framework 
vecLib -framework IOKit -framework Cocoa -framework Carbon -framework 
QuickTime -lobjc -ObjC -framework vecLib -lm -lavcodec

ld: multiple definitions of symbol _align_get_bits
/usr/local/lib/libavcodec.a(common.o) definition of _align_get_bits in 
section (__TEXT,__text)
/usr/local/lib/libavcodec.a(common.o) definition of _align_get_bits in 
section (__TEXT,__text)
ld: multiple definitions of symbol _align_put_bits
/usr/local/lib/libavcodec.a(common.o) definition of _align_put_bits in 
section (__TEXT,__text)
/usr/local/lib/libavcodec.a(common.o) definition of _align_put_bits in 
section (__TEXT,__text)
ld: multiple definitions of symbol _check_marker
/usr/local/lib/libavcodec.a(common.o) definition of _check_marker in 
section (__TEXT,__text)
/usr/local/lib/libavcodec.a(common.o) definition of _check_marker in 
section (__TEXT,__text)
ld: multiple definitions of symbol _ff_float2fraction
/usr/local/lib/libavcodec.a(common.o) definition of _ff_float2fraction 
in section (__TEXT,__text)
/usr/local/lib/libavcodec.a(common.o) definition of _ff_float2fraction 
in section (__TEXT,__text)
ld: multiple definitions of symbol _ff_gcd
/usr/local/lib/libavcodec.a(common.o) definition of _ff_gcd in section 
(__TEXT,__text)
/usr/local/lib/libavcodec.a(common.o) definition of _ff_gcd in section 
(__TEXT,__text)

and on and on and on.


---
Videolan - VLC media player
Derk-Jan Hartman (thedj at users.sourceforge.net)
Co-Developer of the MacOS X port of vlc
http://www.videolan.org/vlc

-- 
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