Netboot Mailing List (by thread)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Cross-compile problem (continued)



I had somehow removed the RedHat package containing the compiler header
files. I re-installed this package, and ran './configure', which worked
fine.

Now, when I run make, I get compiler errors :-

making all in makerom
make[1]: Entering directory `/usr/src/netboot/makerom'
gcc -O  -DHAVE_CONFIG_H -DDEFAULT_DIR=\"/usr/local/lib/netboot\" -I.
-I.. -I../bootrom/headers   -c main.c -o main.o
In file included from main.c:22:
../common.h:190: warning: redefinition of `__u8'
/usr/include/asm/types.h:12: warning: `__u8' previously declared here
../common.h:191: warning: redefinition of `__u16'
/usr/include/asm/types.h:15: warning: `__u16' previously declared here
../common.h:192: conflicting types for `__u32'
/usr/include/asm/types.h:18: previous declaration of `__u32'
main.c: In function `checkaccess':
main.c:171: `R_OK' undeclared (first use this function)
main.c:171: (Each undeclared identifier is reported only once
main.c:171: for each function it appears in.)
main.c: In function `main':
main.c:248: warning: assignment makes pointer from integer without a
cast
main.c:250: warning: assignment makes pointer from integer without a
cast
make[1]: *** [main.o] Error 1
make[1]: Leaving directory `/usr/src/netboot/makerom'
make: *** [all] Error 1

Any ideas?

--
Ross Golder
Technical Dept
CPD Ltd, Whetstone, London, N20 9LD.
Tel: +44 (0) 973 897671
mailto:rossg@cpd.co.uk (Work)
http://www.cpd.co.uk/~rossg




For requests or suggestions regarding this mailing list archive please write to netboot@gkminix.han.de.