[x264-devel] Re: Build issue

David Rosenstiehl trendywanabee at free.fr
Fri Dec 8 20:47:05 CET 2006


Ok, so I downloaded the latest xcode this night, and now ./configure  
&& make works.

Except that if I do a ./configure --enable-shared, it doesn't :

nasm -O2 -f macho -DPREFIX -Icommon/i386/ -o common/i386/deblock-a.o  
common/i386/deblock-a.asm
gcc -shared -o libx264.so.54 common/mc.o common/predict.o common/ 
pixel.o common/macroblock.o common/frame.o common/dct.o common/cpu.o  
common/cabac.o common/common.o common/mdate.o common/csp.o common/ 
set.o common/quant.o encoder/analyse.o encoder/me.o encoder/ 
ratecontrol.o encoder/set.o encoder/macroblock.o encoder/cabac.o  
encoder/cavlc.o encoder/encoder.o encoder/eval.o common/i386/mc-c.o  
common/i386/predict-c.o common/i386/dct-a.o common/i386/cpu-a.o  
common/i386/pixel-a.o common/i386/mc-a.o common/i386/mc-a2.o common/ 
i386/predict-a.o common/i386/pixel-sse2.o common/i386/quant-a.o  
common/i386/deblock-a.o -Wl,-soname,libx264.so.54 -lm -lmx -lpthread -s
i686-apple-darwin8-gcc-4.0.1: unrecognized option '-shared'
/usr/bin/ld: unknown flag: -soname
collect2: ld returned 1 exit status
make: *** [libx264.so.54] Error 1

Any idea on this one ?

David.


On Dec 7, 2006, at 9:55 PM, Guillaume POIRIER wrote:

> Hi,
>
> On 12/7/06, David Rosenstiehl <trendywanabee at free.fr> wrote:
>
>> nasm -O2 -f macho -DPREFIX -Icommon/i386/ -o common/i386/mc-a.o
>> common/i386/mc-a.asm
>> common/i386/mc-a.asm:45: panic: invalid section name .text align=16
>> make: *** [common/i386/mc-a.o] Error 3
>> david-rosenstiehls-computer:~/src/x264 guyk$ nasm -v
>> NASM version 0.98.40 compiled on Jan 13 2006
>> david-rosenstiehls-computer:~/src/x264 guyk$ nasm -O2 -f macho -
>> DPREFIX -Icommon/i386/ -o common/i386/mc-a.o common/i386/mc-a.asm
>> common/i386/mc-a.asm:45: panic: invalid section name .text align=16
>>
>> As you can see with the latest line, this is deterministic, and can
>> be easily reproduced each time.
>>
>> And as you can see from the line before, this is a recent nasm (in
>> fact the one that comes with tiger).
>
> nasm -v
> NASM version 0.98.40 (Apple Computer, Inc. build 11) compiled on  
> Sep 11 2006
>
> Use the one from latest Xcode.
>
> Guillaume
> -- 
> An association of men who will not quarrel with one another is a thing
> which has never yet existed, from the greatest confederacy of nations
> down to a town meeting or a vestry.
> -- Thomas Jefferson
> (when interviewed about MPlayer ML flamewars)
> http://www.brainyquote.com/quotes/quotes/t/thomasjeff157207.html
>
> -- 
> This is the x264-devel mailing-list
> To unsubscribe, go to: http://developers.videolan.org/lists.html
>
>

-- 
This is the x264-devel mailing-list
To unsubscribe, go to: http://developers.videolan.org/lists.html



More information about the x264-devel mailing list