2.2.17 compile error in ipconfig.c

From: Wakko Warner (wakko@animx.eu.org)
Date: Sun Sep 24 2000 - 15:31:44 EST


I'm compiling this kernel for a diskless machine. I have bootp configured
as the only way for the kernel to get the IP.

Here's the error:
cc -D__KERNEL__ -I/usr/src/linux/gohan/2.2.17/include -Wall
-Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strict-aliasing -D__SMP__
-pipe -fno-strength-reduce -m486 -malign-loops=2 -malign-jumps=2
-malign-functions=2 -DCPU=686 -c -o ipconfig.o ipconfig.c
ipconfig.c: In function `ic_open_devs':
ipconfig.c:142: parse error before `SELF'
ipconfig.c:160: parse error before `SELF'
ipconfig.c:161: `SELF' undeclared (first use in this function)
ipconfig.c:161: (Each undeclared identifier is reported only once
ipconfig.c:161: for each function it appears in.)
ipconfig.c: In function `ic_setup_if':
ipconfig.c:235: parse error before `SELF'
ipconfig.c:241: parse error before `SELF'
ipconfig.c:247: parse error before `SELF'
ipconfig.c: In function `ic_setup_routes':
ipconfig.c:264: parse error before `SELF'
ipconfig.c:273: parse error before `SELF'
ipconfig.c: In function `ic_defaults':
ipconfig.c:307: parse error before `SELF'
ipconfig.c:312: `SELF' undeclared (first use in this function)
ipconfig.c:312: parse error before string constant
ipconfig.c: In function `ip_auto_config':
ipconfig.c:968: `CONF_OPEN_RETRIES' undeclared (first use in this function)
ipconfig.c:977: `pnp_get_info' undeclared (first use in this function)
ipconfig.c:987: `CONF_PRE_OPEN' undeclared (first use in this function)
ipconfig.c:996: `CONF_POST_OPEN' undeclared (first use in this function)
ipconfig.c:1052: parse error before `SELF'
ipconfig.c:1088: `SELF' undeclared (first use in this function)
ipconfig.c:1088: parse error before string constant
ipconfig.c:968: warning: unused variable `retries'
ipconfig.c:987: warning: label `try_try_again' defined but not used
ipconfig.c:969: warning: `jiff' might be used uninitialized in this function
ipconfig.c: At top level:
ipconfig.c:94: warning: `ic_got_reply' defined but not used
make[3]: *** [ipconfig.o] Error 1
make[3]: Leaving directory `/usr/src/linux/gohan/2.2.17/net/ipv4'
make[2]: *** [first_rule] Error 2
make[2]: Leaving directory `/usr/src/linux/gohan/2.2.17/net/ipv4'
make[1]: *** [_subdir_ipv4] Error 2
make[1]: Leaving directory `/usr/src/linux/gohan/2.2.17/net'
make: *** [_dir_net] Error 2

-- 
 Lab tests show that use of micro$oft causes cancer in lab animals
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sat Sep 30 2000 - 21:00:12 EST