Re: Arm cross compile

Rob Leslie <[email protected]> Sun, 13 Mar 2005 12:25:09 -0800
Newsgroups gmane.comp.audio.mad.devel
Message-ID <[email protected]>
On Mar 12, 2005, at 1:47 PM, Andrew Douglas wrote:
> I wonder if anyone can help. I'm trying to cross compile
> madplay-0.15.2b for an arm9 processor running a 2.4.18 kernel. I'm
> building the source on a redhat9 host. I do the following:
>
> $ ./configure && make && make install
>
> for libmad and libid3tag. Then I try configuring madplay with the
> following command:
>
> $ RANLIB=arm-linux-ranlib CC=arm-linux-gcc ./configure --host=arm-linux
>
> and get the following error:
>
> checking mad.h usability... no
> checking mad.h presence... no
> checking for mad.h... no
> configure: error: mad.h was not found
> *** You must first install libmad before you can build this package.

 From your above description it appears you have not cross-compiled 
libmad. You need to use the same RANLIB, CC, and --host settings when 
you build libmad and libid3tag (and, potentially, zlib) as when you 
build madplay.

-- 
Rob Leslie
[email protected]