Gareth Bransby g.c.bransby-99@student.lboro.ac.uk wrote:
I fixed it!!! I think.
I think the errno.h that it was looking for was the one in /usr/src/linux-2.4.3/include/asm-i386/errno.h This one had all the defines for 'EINTR' etc.
In general error numbers are platform dependent, so including an x86 header file probably isn't the safest thing to do... :-)
It looks like your problems come from a messed up toolchain - you may be better off getting hold of a pre-built version that is know to work.
The gcc v2.95.3 from
ftp://ftp.arm.linux.org.uk/pub/armlinux/toolchain/
works for me.
mad-0.14.2b builds without problem after running configure with the following options:
CC="/usr/local/arm/2.95.3/bin/arm-linux-gcc" ./configure --enable-speed --disable-debugging --enable-fpm=arm --disable-nls --disable-mmap --host=arm-linux
(Note that other options probably work fine as well, but the above should produce something fairly optimal for ARM).
Andre --
__________________________________________________ Do You Yahoo!? Everything you'll ever need on one web page from News and Sport to Email and Music Charts http://uk.my.yahoo.com