Kernel build breaks in dev/cardbus

From: Lukas Ertl <l.ertl_at_univie.ac.at>
Date: Mon, 6 Oct 2003 15:34:44 +0200 (CEST)
Hi,

a buildkernel from a fresh cvsup breaks with these errors:

cc -O -pipe -mcpu=pentiumpro  -D_KERNEL -Wall -Wredundant-decls
-Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline
-Wcast-qual  -fformat-extensions -std=c99 -DKLD_MODULE -nostdinc -I-   -I. -I_at_
-I_at_/../include -finline-limit=15000 -fno-common -g -mno-align-long-strings
-mpreferred-stack-boundary=2 -ffreestanding -Wall -Wredundant-decls -Wnested-externs
-Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual
-fformat-extensions -std=c99 -c /usr/src/sys/dev/cardbus/cardbus.c
/usr/src/sys/dev/cardbus/cardbus_cis.c: In function `decode_tuple_copy':
/usr/src/sys/dev/cardbus/cardbus_cis.c:205: error: invalid application of
`sizeof' to an incomplete type
/usr/src/sys/dev/cardbus/cardbus_cis.c:209: error: invalid application of
`sizeof' to an incomplete type
/usr/src/sys/dev/cardbus/cardbus_cis.c:214: error: invalid use of
undefined type `struct cis_tupleinfo'
/usr/src/sys/dev/cardbus/cardbus_cis.c:214: error: dereferencing pointer
to incomplete type
/usr/src/sys/dev/cardbus/cardbus_cis.c:215: error: invalid use of
undefined type `struct cis_tupleinfo'
/usr/src/sys/dev/cardbus/cardbus_cis.c:215: error: dereferencing pointer
to incomplete type
/usr/src/sys/dev/cardbus/cardbus_cis.c:216: error: invalid use of
undefined type `struct cis_tupleinfo'
/usr/src/sys/dev/cardbus/cardbus_cis.c:216: error: dereferencing pointer
to incomplete type
/usr/src/sys/dev/cardbus/cardbus_cis.c:217: error: invalid use of
undefined type `struct cis_tupleinfo'
/usr/src/sys/dev/cardbus/cardbus_cis.c:217: error: dereferencing pointer
to incomplete type
/usr/src/sys/dev/cardbus/cardbus_cis.c: In function `cardbus_cis_free':
/usr/src/sys/dev/cardbus/cardbus_cis.c:1124: error: invalid use of
undefined type `struct cis_tupleinfo'
/usr/src/sys/dev/cardbus/cardbus_cis.c:1124: error: dereferencing pointer
to incomplete type
/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
*** Error code 1
2 errors
*** Error code 2
1 error
*** Error code 2
1 error
*** Error code 2
1 error
*** Error code 2
1 error

regards,
le

-- 
Lukas Ertl                             eMail: l.ertl_at_univie.ac.at
UNIX Systemadministrator               Tel.:  (+43 1) 4277-14073
Vienna University Computer Center      Fax.:  (+43 1) 4277-9140
University of Vienna                   http://mailbox.univie.ac.at/~le/
Received on Mon Oct 06 2003 - 04:34:54 UTC

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