Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Fri, 12 Sep 2014 09:39:33 +0200
From: Jörg Krause <jkrause@...teo.de>
To: musl@...ts.openwall.com
Subject: Re: why is there no __MUSL__ macro?


On 09/11/2014 04:53 PM, Isaac Dunham wrote:
> On Thu, Sep 11, 2014 at 02:24:21PM +0200, Jörg Krause wrote:
>> On 09/11/2014 01:17 PM, Jens wrote:
>>> A somewhat limited build of ffmpeg, atleast, works fine with musl:
>>> OPTPREFIX=opt/av
>>> configure --prefix=/$OPTPREFIX \
>>> --enable-gpl\
>>> --enable-small --disable-ffplay --disable-ffprobe --disable-ffserver\
>>> --enable-libmp3lame\
>>> --enable-libx264 \
>>> --disable-network --cc=musl-gcc
>> I'm using a musl cross-compiling toolchain and the limited build even
>> without mp3 and x264 fails for me:
>>
>> ./configure --enable-cross-compile\
>>   --cross-prefix=/home/joerg/x86_64-linux-musl/bin/x86_64-linux-musl-\
>>   --arch=x86_64 --target-os=linux\
>>   --prefix=/home/joerg/test/ffmpeg\
>>   --enable-gpl\
>>   --enable-small --disable-ffplay --disable-ffprobe --disable-ffserver\
>>   --disable-network
>> [...]
>> make: *** [libavformat/segment.o] Error 1
>>
> It would be easier to see what's going on if you provided the command line
> for compiling that file, plus the rest of the error.
> If ffmpeg is showing the "CC ..." message rather than a massive command
> line, then run "make V=1".
>
> Thanks,
> Iaac Dunham

Hi Isaac,

it was not my intention to report an error. I just wanted to reply that 
the configuration posted by Jens did not work for me.

Btw, to fix the compilation with musl it's necessary to add the feature 
test macro _XOPEN_SOURCE=600.

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.