[vlc-devel] MacOSX Leopard compilation : still troubles

Eric Nicolas erik.nicolas at gmail.com
Fri Mar 14 07:47:44 CET 2008


Le 13 mars 08 à 13:25, Rafaël Carré a écrit :

>>
>> I'm stuck here for now...
>
> update OSX
>
> btw i'm running 10.5


My OSX is up to date, 10.5.2.
Maybe your's is not ?

Le 13 mars 08 à 13:46, Pierre d'Herbemont a écrit :

> Quoting Rafaël Carré <funman at videolan.org>:
>
>> On Thu, 2008-03-13 at 08:09 +0100, Eric Nicolas wrote:
>
>>> --
>>>
>>> Now to VLC itself :
>>>
>>> 	Mac-Pro:vlc-0.9.0-git enicolas$ ./configure --enable-debug --with-
>>> macosx-sdk
>>> 	...
>>> 	configure: error: C compiler cannot create executables
>>> 	See `config.log' for more details.
>>>
>>> config.log says:
>>>
>>> 	configure:3683: gcc    conftest.c  >&5
>>> 	/Xcode2.5/usr/bin/../libexec/gcc/i686-apple-darwin8/4.0.1/ld: /usr/
>>> lib/gcc/../libSystem.dylib unknown flags (type) of section 6
>>> (__TEXT,__literal16) in load command 0
>>> 	collect2: ld returned 1 exit status
>>>
>>> I'm stuck here for now...
>>
>> update OSX
>
> Also, don't use Xcode 2.5. Use Xcode 3.0 or Xcode 3.1. CMake builds  
> fine on Mac
> OS X 10.5 here.

??
I was just following the instructions on videolan wiki : "You need  
Xcode 2.5 to compile VLC on Leopard" !!!
You may want to update the wiki, then.

-> I started all over again with the latest sources snapshot and Xcode  
3.

Now all the contribs compile ok :-)

But VLC doesn't compile either :

ld: absolute addressing (perhaps -mdynamic-no-pic) used in  
_sws_rgb2rgb_init from /workarea/contrib/vlc-0.9.0-git/./extras/ 
contrib/lib/libswscale.a(rgb2rgb.o) not allowed in slidable image
collect2: ld returned 1 exit status
make[6]: *** [libffmpeg_plugin.la] Error 1
make[5]: *** [all-modules] Error 1
make[4]: *** [all-recursive] Error 1
make[3]: *** [all] Error 2
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

EN.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20080314/3ec3e6d2/attachment.html>


More information about the vlc-devel mailing list