make buildkernel failure in cardbus.c

From: Arjan van Leeuwen <avleeuwen_at_piwebs.com>
Date: Mon, 6 Oct 2003 12:08:30 +0200
While trying to do a make buildkernel, cvsupped two hours ago:

/usr/local/bin/gcc -c -O -pipe -march=athlon-xp -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/dev/acpica -I/usr/src/sys/contrib/ipfilter 
-I/usr/src/sys/contrib/dev/ath -I/usr/src/sys/contrib/dev/ath/freebsd 
-D_KERNEL -include opt_global.h -fno-common -finline-limit=15000 
-fno-strict-aliasing  -mno-align-long-strings -mpreferred-stack-boundary=2 
-ffreestanding -Werror  /usr/src/sys/dev/cardbus/cardbus.c
/usr/src/sys/dev/cardbus/cardbus.c:380: error: `card_cis_read_desc' undeclared 
here (not in a function)
/usr/src/sys/dev/cardbus/cardbus.c:380: error: initializer element is not 
constant
/usr/src/sys/dev/cardbus/cardbus.c:380: error: (near initialization for 
`cardbus_methods[27].desc')
/usr/src/sys/dev/cardbus/cardbus.c:380: error: initializer element is not 
constant
/usr/src/sys/dev/cardbus/cardbus.c:380: error: (near initialization for 
`cardbus_methods[27]')
/usr/src/sys/dev/cardbus/cardbus.c:381: error: `card_cis_free_desc' undeclared 
here (not in a function)
/usr/src/sys/dev/cardbus/cardbus.c:381: error: initializer element is not 
constant
/usr/src/sys/dev/cardbus/cardbus.c:381: error: (near initialization for 
`cardbus_methods[28].desc')
/usr/src/sys/dev/cardbus/cardbus.c:381: error: initializer element is not 
constant
/usr/src/sys/dev/cardbus/cardbus.c:381: error: (near initialization for 
`cardbus_methods[28]')
/usr/src/sys/dev/cardbus/cardbus.c:384: error: initializer element is not 
constant
/usr/src/sys/dev/cardbus/cardbus.c:384: error: (near initialization for 
`cardbus_methods[29]')
/usr/src/sys/dev/cardbus/cardbus.c:385: error: initializer element is not 
constant
/usr/src/sys/dev/cardbus/cardbus.c:385: error: (near initialization for 
`cardbus_methods[30]')
/usr/src/sys/dev/cardbus/cardbus.c:386: error: initializer element is not 
constant
/usr/src/sys/dev/cardbus/cardbus.c:386: error: (near initialization for 
`cardbus_methods[31]')
/usr/src/sys/dev/cardbus/cardbus.c:387: error: initializer element is not 
constant
/usr/src/sys/dev/cardbus/cardbus.c:387: error: (near initialization for 
`cardbus_methods[32]')
/usr/src/sys/dev/cardbus/cardbus.c:388: error: initializer element is not 
constant
/usr/src/sys/dev/cardbus/cardbus.c:388: error: (near initialization for 
`cardbus_methods[33]')
/usr/src/sys/dev/cardbus/cardbus.c:389: error: initializer element is not 
constant
/usr/src/sys/dev/cardbus/cardbus.c:389: error: (near initialization for 
`cardbus_methods[34]')
/usr/src/sys/dev/cardbus/cardbus.c:390: error: initializer element is not 
constant
/usr/src/sys/dev/cardbus/cardbus.c:390: error: (near initialization for 
`cardbus_methods[35]')
/usr/src/sys/dev/cardbus/cardbus.c:391: error: initializer element is not 
constant
/usr/src/sys/dev/cardbus/cardbus.c:391: error: (near initialization for 
`cardbus_methods[36]')
/usr/src/sys/dev/cardbus/cardbus.c:392: error: initializer element is not 
constant
/usr/src/sys/dev/cardbus/cardbus.c:392: error: (near initialization for 
`cardbus_methods[37]')
/usr/src/sys/dev/cardbus/cardbus.c:394: error: initializer element is not 
constant
/usr/src/sys/dev/cardbus/cardbus.c:394: error: (near initialization for 
`cardbus_methods[38]')
*** Error code 1

Stop in /usr/obj/usr/src/sys/AMD760.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.

Arjan
Received on Mon Oct 06 2003 - 01:08:34 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:24 UTC