Netboot Mailing List (by thread)

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

Re: Cross-compile problem (continued)



--pgp-sign-Multipart_Tue_Jul__8_09:51:45_1997-1
Content-Type: text/plain; charset=US-ASCII

Ross Golder writes:
 > 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?

Wasn't there a problem with one of the recent versions of
"netboot". Maybe, this is what you are seeing. As a quick'n'dirty fix,
I would suggest that you just remove the lones 190-192 from
"common.h". While this is not an ideal fix, it will probably work
until somebody sends you an official patch.


Markus

--
Markus Gutschke                         Internet: markus@infoscape.com
Infoscape, Inc                          Phone:    +1-415-537-3778
657 Mission Street, Suite 200
San Francisco, CA 94105

Disclaimer: The above message represents my personal opinion; It does
            not constitute an offical statement by Infoscape!

--pgp-sign-Multipart_Tue_Jul__8_09:51:45_1997-1
Content-Type: application/pgp-signature
Content-Transfer-Encoding: 7bit

-----BEGIN PGP MESSAGE-----
Version: 2.6.2

iQCVAwUBM8JwIRqJqDLErwMxAQEsqwP7BJ80zJ8YntSGGfUWXzM8GK358DseIRnj
PiGFF52iqPjUqbIrEMpEaF8ejDkgJm/58fVj4pMi5Mu/r4APjDAL+Oa9rdkzH2hZ
abG0TB7PPF5BmE5ssHXGXU8DYM18Vvr+Pa4XTjyPq65cH/IQ/A3UVcJaBarZrN2W
WZ032hO3OmE=
=6XPG
-----END PGP MESSAGE-----

--pgp-sign-Multipart_Tue_Jul__8_09:51:45_1997-1--



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