Arm cross compile

Andrew Douglas <[email protected]> Sat, 12 Mar 2005 16:47:40 -0500
Newsgroups gmane.comp.audio.mad.devel
Message-ID <[email protected]>
Hi 

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.

I include the libmad dir with CFLAG and then it complains about
libid3. I include this then it complains:

configure: error: libmad was not found

This doesn't seem right. Is there something I've done wrong. 

Any hints would be appreciated.

TIA

Andy Douglas