Hi,
prompted by the quest of a smaller kernel on my old OmniBook 800 (for
which memory modules are harder to find than a standard laptop), I tried
my luck with dmassage against a stock GENERIC 5.4 kernel conf.
I used the generated config fil, except that I enabled a couple of more
PCMCIA drivers, which are of course all disabled except the currently
inserted card.
Build fails with:
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 -DCRYPTO -DSYSVMSG -DSYSVSEM
-DSYSVSHM -DUVM_SWAP_ENCRYPT -DCOMPAT_43 -DCOMPAT_O51 -DCOMPAT_O53 -DLKM
-DFFS -DFFS2 -DFFS_SOFTUPDATES -DUFS_DIRHASH -DQUOTA -DEXT2FS -DMFS
-DNFSCLIENT -DNFSSERVER -DCD9660 -DUDF -DMSDOSFS -DFIFO -DSOCKET_SPLICE
-DTCP_SACK -DTCP_ECN -DTCP_SIGNATURE -DINET -DALTQ -DINET6 -DIPSEC
-DPPP_BSDCOMP -DPPP_DEFLATE -DPIPEX -DMROUTING -DMPLS -DBOOT_CONFIG
-DUSER_PCICONF -DKVM86 -DUSER_LDT -DAPERTURE -DCOMPAT_LINUX -DPROCFS
-DNTFS -DHIBERNATE -DPCIVERBOSE -DEISAVERBOSE -DUSBVERBOSE
-DWSDISPLAY_COMPAT_USL -DWSDISPLAY_COMPAT_RAWKBD
-DWSDISPLAY_DEFAULTSCREENS="6" -DWSDISPLAY_COMPAT_PCVT -DX86EMU
-DONEWIREVERBOSE -DMAXUSERS=80 -D_KERNEL -MD -MP -c
../../../../arch/i386/pci/pci_machdep.c
../../../../arch/i386/pci/pci_machdep.c: In function 'pci_intr_map_msi':
../../../../arch/i386/pci/pci_machdep.c:604: error: 'mp_busses'
undeclared (first use in this function)
../../../../arch/i386/pci/pci_machdep.c:604: error: (Each undeclared
identifier is reported only once
../../../../arch/i386/pci/pci_machdep.c:604: error: for each function it
appears in.)
*** Error 1 in /usr/src/sys/arch/i386/compile/ob800 (Makefile:566
'pci_machdep.o')
I suppose something got disabled which was a required dependency of
something else? What could it be?
Question two:
option APERTURE # in-kernel aperture driver for XFree86
I suppose I can disable this, since this machine is pci only and has no
AGP, right?
Riccardo