On 8 December 2010 20:08, Dave Anderson <[email protected]> wrote: > I'm not asking for support on this; I primarily want to make sure that > whatever developer uses this option knows it's broken before the next > time he needs it. > > I have a Sony Vaio PCG-FX120 notebook (inherited, and not enough spare > cash to replace it at this time) with cardbus slots that don't work > (almost certainly because the BIOS provides incorrect PCI configuration > info). The CBB_DEBUG option looked like it might provide some useful > information for figuring out how to hack it to work, so I tried building > a test kernel with that option (initially using a late-November version > of current, then updated my source tree to 7 December and tried again). > This is the error I get: > > cc -Werror -Wall -Wstrict-prototypes -Wmissing-prototypes -Wno-main > -Wno-uninitialized -Wno-format -Wstack-larger-than-2047 > -fno-builtin-printf -fno-builtin -snprintf -fno-builtin-vsnprintf > -fno-builtin-log -fno-builtin-log2 -fno-builtin-malloc -O2 -pipe > -nostdinc -I. -I../../../.. -I../../../../arch -DDDB -DDIAGNOSTIC > -DKTRACE -DACCOUNTING -DKMEMSTATS -DPTRACE -DPOOL_DEBUG -DCRYPTO > -DSYSVMSG -DSYSVSEM -DSYSVSHM -DUVM_SWAP_ENCRYPT -DCOMPAT_43 > -DCOMPAT_O47 -DLKM -DFFS -DFFS2 -DFFS_SOFTUPDATES -DUFS_DIRHASH -DQUOTA > -DEXT2FS -DMFS -DNNPFS -DTCP_SACK -DTCP_ECN -DTCP_SIGNATURE -DNFSCLIENT > -DNFSSERVER -DCD9660 -DUDF -DMSDOSFS -DFIFO -DINET -DALTQ -DINET6 > -DIPSEC -DPPP_BSDCOMP -DPPP_DEFLATE -DMROUTING -DMPLS -DBOOT_CONFIG > -DUSER_PCICONF -DKVM86 -DUSER_LDT -DAPERTURE -DCOMPAT_SVR4 > -DCOMPAT_LINUX -DCOMPAT_FREEBSD -DCOMPAT_AOUT -DPROCFS -DNTFS > -DPCIVERBOSE -DEISAVERBOSE -DUSBVERBOSE -DWSDISPLAY_COMPAT_USL > -DWSDISPLAY_COMPAT_RAWKBD -DWSDISPLAY_DEFAULTSCREENS="6" > -DWSDISPLAY_COMPAT_PCVT -DX86EMU -DONEWIREVERBOSE -DPCGFX120 -DCBB_DEBUG > -DMAXUSERS=80 -D_KERNEL -c ../../../../dev/pci/pccbb.c > ../../../../dev/pci/pccbb.c: In function 'pccbb_checksockstat': > ../../../../dev/pci/pccbb.c:881: error: 'sockevent' undeclared (first use in this function) > ../../../../dev/pci/pccbb.c:881: error: (Each undeclared identifier is reportedonly once > ../../../../dev/pci/pccbb.c:881: error: for each function it appears in.) > *** Error code 1 > > Stop in /usr/src/sys/arch/i386/compile/TEST (line 92 of /usr/share/mk/sys.mk). > > Dave
It's now fixed ... you've got to love OpenBSD Dev's :~)

