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
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.