buildkernel issue with ip_carp.c w/ device carp

From: <eculp_at_bafirst.com>
Date: Sun, 13 Nov 2005 06:44:29 -0600
In today's current I am having an issue on all my test machines 
compiling the kernel with "device carp"   Compilation breaks at 
ip_carp.c  Removing device carp everything compiles fine.

   5652 cc -c -O2 -pipe -fno-strict-aliasing  -Wall -Wredundant-decls 
-Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes 
-Wpointer-arith -Winline -Wcast-qual  -fformat-extensions -std=c99  
-nostdinc -I-  -I. -I/usr/src/sys -I/usr/src/sys/contrib/altq -D_KERNEL 
-DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common 
-finline-limit=8000 --param inline-unit-growth=100 --param 
large-function-growth=1000  -mno-align-long-strings 
-mpreferred-stack-boundary=2  -mno-mmx -mno-3dnow -mno-sse -mno-sse2 
-mno-sse3 -ffreestanding -Werror  /usr/src/sys/netinet/ip_carp.c
   5653 /usr/src/sys/netinet/ip_carp.c: In function `carp_send_arp':
   5654 /usr/src/sys/netinet/ip_carp.c:1053: warning: implicit 
declaration of function `LLADDR'
   5655 /usr/src/sys/netinet/ip_carp.c:1053: warning: nested extern 
declaration of `LLADDR'
   5656 /usr/src/sys/netinet/ip_carp.c:1053: warning: passing arg 3 of 
`arp_ifinit2' makes pointer from integer without a cast
   5657 /usr/src/sys/netinet/ip_carp.c: In function `carp_iamatch':
   5658 /usr/src/sys/netinet/ip_carp.c:1148: warning: nested extern 
declaration of `LLADDR'
   5659 /usr/src/sys/netinet/ip_carp.c:1053: warning: redundant 
redeclaration of 'LLADDR'
   5660 /usr/src/sys/netinet/ip_carp.c:1053: warning: previous implicit 
declaration of 'LLADDR' was here
   5661 /usr/src/sys/netinet/ip_carp.c:1148: warning: assignment makes 
pointer from integer without a cast
   5662 /usr/src/sys/netinet/ip_carp.c:1166: warning: nested extern 
declaration of `LLADDR'
   5663 /usr/src/sys/netinet/ip_carp.c:1053: warning: redundant 
redeclaration of 'LLADDR'
   5664 /usr/src/sys/netinet/ip_carp.c:1053: warning: previous implicit 
declaration of 'LLADDR' was here
   5665 /usr/src/sys/netinet/ip_carp.c:1166: warning: assignment makes 
pointer from integer without a cast
   5666 /usr/src/sys/netinet/ip_carp.c: In function `carp_forus':
   5667 /usr/src/sys/netinet/ip_carp.c:1254: warning: nested extern 
declaration of `LLADDR'
   5668 /usr/src/sys/netinet/ip_carp.c:1053: warning: redundant 
redeclaration of 'LLADDR'
   5669 /usr/src/sys/netinet/ip_carp.c:1053: warning: previous implicit 
declaration of 'LLADDR' was here
   5670 /usr/src/sys/netinet/ip_carp.c:1254: warning: passing arg 2 of 
`bcmp' makes pointer from integer without a cast
   5671 /usr/src/sys/netinet/ip_carp.c: In function `carp_ioctl':
   5672 /usr/src/sys/netinet/ip_carp.c:1866: warning: nested extern 
declaration of `LLADDR'
   5673 /usr/src/sys/netinet/ip_carp.c:1053: warning: redundant 
redeclaration of 'LLADDR'
   5674 /usr/src/sys/netinet/ip_carp.c:1053: warning: previous implicit 
declaration of 'LLADDR' was here
   5675 /usr/src/sys/netinet/ip_carp.c:1866: error: subscripted value 
is neither array nor pointer
   5676 /usr/src/sys/netinet/ip_carp.c:1867: error: subscripted value 
is neither array nor pointer
   5677 /usr/src/sys/netinet/ip_carp.c:1868: error: subscripted value 
is neither array nor pointer
   5678 /usr/src/sys/netinet/ip_carp.c:1869: error: subscripted value 
is neither array nor pointer
   5679 /usr/src/sys/netinet/ip_carp.c:1870: error: subscripted value 
is neither array nor pointer
   5680 /usr/src/sys/netinet/ip_carp.c:1871: error: subscripted value 
is neither array nor pointer
   5681 *** Error code 1

Thanks,

ed
Received on Sun Nov 13 2005 - 11:44:31 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:47 UTC