[vlc-devel] Re: vlc: svn commit r16524 (thresh)

Felix Kühne fk at aenneburghardt.de
Tue Sep 5 23:28:46 CEST 2006


Am 05.09.2006 um 14:45 schrieb Pavlov Konstantin:

> On Tuesday 05 September 2006 16:33, Subversion daemon wrote:
>> r16524 | thresh | 2006-09-05 14:33:53 +0200 (Tue, 05 Sep 2006) | 3  
>> lines
>> Changed paths:
>>    M /trunk/configure.ac
>>
>> We can build ffmpeg and stream_out_switcher as plugins when found by
>> pkg-config. Can we?
>
> seems like that commit made macosx buildbot unhappy:
>
> /bin/sh ../../../libtool --tag=CC --mode=link
> gcc -Wsign-compare -Wall -I/Users/buildbot/slave/intel-osx-trunk/ 
> build/./extras/contrib/include -D_INTL_REDIRECT_MACROS -pipe -L/ 
> Users/buildbot/slave/intel-osx-trunk/build/./extras/contrib/lib -o
> libffmpeg_plugin.dylib
> libffmpeg_plugin.a -L/usr/local/lib -g -shared -bundle -undefined
> error -lpthread -fpic -fPIC -L/Users/buildbot/slave/intel-osx-trunk/ 
> build/extras/contrib/lib -lpostproc -L/Users/buildbot/slave/intel- 
> osx-trunk/build/extras/contrib/lib -lavformat -lavcodec -lz - 
> lmp3lame -lfaac -lavutil -lm -u
> _vlc_entry__0_8_6b
> gcc -Wsign-compare -Wall -I/Users/buildbot/slave/intel-osx-trunk/ 
> build/./extras/contrib/include -D_INTL_REDIRECT_MACROS -pipe -o
> libffmpeg_plugin.dylib -g -shared -bundle -undefined error -fpic - 
> fPIC -u
> _vlc_entry__0_8_6b  -L/Users/buildbot/slave/intel-osx-trunk/build/./ 
> extras/contrib/lib
> libffmpeg_plugin.a -L/usr/local/lib -lpthread -L/Users/buildbot/ 
> slave/intel-osx-trunk/build/extras/contrib/lib -lpostproc - 
> lavformat -lavcodec -lz /Users/buildbot/slave/intel-osx-trunk/build/ 
> extras/contrib/lib/libmp3lame.a /Users/buildbot/slave/intel-osx- 
> trunk/build/extras/contrib/lib/libfaac.a -lavutil -lm
> i686-apple-darwin8-gcc-4.0.1: unrecognized option '-shared'
> /usr/bin/ld: /Users/buildbot/slave/intel-osx-trunk/build/./extras/ 
> contrib/lib/libavutil.a(mem.o)
> has local relocation entries in non-writable section  
> (__TEXT,__symbol_stub)
> collect2: ld returned 1 exit status
> make[6]: *** [libffmpeg_plugin.dylib] Error 1
>
> can anyone of macos-developers tell me what to do in such a case?

I got the problem yesterday with Rémi's libtool changes when linking  
libvlc. He told me that it is related to the fact that the extras/ 
contrib system produces static libraries, which appears to be bad  
idea when linking plugins. Perhaps, this hint helps you tomorrow.  
Additionally, it can surely be arranged to get you ssh/VNC-access to  
one of our Macs, so you can do some further tests.

For the meantime, I just committed a quick fix to keep configure  
creating builtins on Macs instead of doing plugins.

BTW. pkgconfig doesn't exist on Macs (well, it runs but it isn't used  
at all). It just seems so that this part of configure is used for  
extras/contrib detection as well.

Kind regards,
Felix
-- 
This is the vlc-devel mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://developers.videolan.org/lists.html



More information about the vlc-devel mailing list