Subject: NetBSD 1.5.3_ALPHA: cardbus does not compile
To: tech-kern@netbsd.org, <port-i386@netbsd.org>
From: Teemu Rinta-aho <teemu.rinta-aho@nomadiclab.com>
List: port-i386
Date: 02/01/2002 16:48:25
Hi,

I should probably write a bug report but I try
these mailing lists first...

I just updated the netbsd-1-5 branch from
anoncvs.netbsd.org but I can not compile the
kernel on my laptop. See the following:

.
.
cc  -O2 -Werror -Wall -Wmissing-prototypes -Wstrict-prototypes
-Wpointer-arith -Wno-uninitialized -Wno-main -I. -I../../../../arch
-I../../../.. -nostdinc -DLKM -DMAXUSERS=32 -D_KERNEL -Di386  -c
../../../../dev/cardbus/if_tlp_cardbus.c
cc  -O2 -Werror -Wall -Wmissing-prototypes -Wstrict-prototypes
-Wpointer-arith -Wno-uninitialized -Wno-main -I. -I../../../../arch
-I../../../.. -nostdinc -DLKM -DMAXUSERS=32 -D_KERNEL -Di386  -c
../../../../dev/cardbus/ohci_cardbus.c
cc  -O2 -Werror -Wall -Wmissing-prototypes -Wstrict-prototypes
-Wpointer-arith -Wno-uninitialized -Wno-main -I. -I../../../../arch
-I../../../.. -nostdinc -DLKM -DMAXUSERS=32 -D_KERNEL -Di386  -c
../../../../dev/cardbus/if_rtk_cardbus.c
../../../../dev/cardbus/if_rtk_cardbus.c:110:
`CARDBUS_PRODUCT_REALTEK_RT8139' undeclared here (not in a function)
../../../../dev/cardbus/if_rtk_cardbus.c:110: initializer element for
`rtk_cardbus_devs[3].rtk_did' is not constant
*** Error code 1

Stop.

--
Teemu Rinta-aho                    Tel: +358 9 299 3078
NomadicLab, Ericsson Research      Mobile: +358 40 562 3066
Oy L M Ericsson Ab                 E-mail: teemu.rinta-aho@nomadiclab.com