From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/6152 Path: news.gmane.org!not-for-mail From: Isaac Dunham Newsgroups: gmane.linux.lib.musl.general Subject: Re: why is there no __MUSL__ macro? Date: Thu, 11 Sep 2014 07:53:00 -0700 Message-ID: <20140911145259.GB1779@newbook> References: <541180B9.5070604@posteo.de> <54119475.1090208@posteo.de> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1410447205 32450 80.91.229.3 (11 Sep 2014 14:53:25 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 11 Sep 2014 14:53:25 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-6165-gllmg-musl=m.gmane.org@lists.openwall.com Thu Sep 11 16:53:17 2014 Return-path: Envelope-to: gllmg-musl@plane.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by plane.gmane.org with smtp (Exim 4.69) (envelope-from ) id 1XS5kK-0005Lz-I6 for gllmg-musl@plane.gmane.org; Thu, 11 Sep 2014 16:53:16 +0200 Original-Received: (qmail 21818 invoked by uid 550); 11 Sep 2014 14:53:15 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Original-Received: (qmail 21809 invoked from network); 11 Sep 2014 14:53:15 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:subject:message-id:references:mime-version :content-type:content-disposition:content-transfer-encoding :in-reply-to:user-agent; bh=p9R4EH8TG1adj3SLUEuogpy05T7KM6jgZ/xHVBfqxVY=; b=dgqjQ/+I/fji8edXrz4d7PA9LwTbaWNUHCSrJUfs50uthUmqDYrUZlozTkHtpkkQFi sy4GZ/29yaPnjjgqYLvz++7d+WQRr3ernZqxuUgjGqE3Yc5zFXsdKZl9Z7Z8ot7kUb3q jPYgOF4Rarh3MaeWnyz1Ch8vo2JLtgZqDLM1bV0tiYckxLgdyBIuG+B2Jr9mw1g98KuE v9yo83iixPhmXYnFzcILfZkzQMzDYlN4VZkFCVXKDONKQjv1sAEMcwQa2dS1pW5ryaOi mcPZsePRNBOPq4s4eir6sDZIxw2WrW/rzAS4nExY1c0MicZFD5ZtX/XoL0HP2rQBbgTf QisQ== X-Received: by 10.70.131.70 with SMTP id ok6mr2201451pdb.133.1410447183672; Thu, 11 Sep 2014 07:53:03 -0700 (PDT) Content-Disposition: inline In-Reply-To: <54119475.1090208@posteo.de> User-Agent: Mutt/1.5.23 (2014-03-12) Xref: news.gmane.org gmane.linux.lib.musl.general:6152 Archived-At: 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