Hello! Now I also had an OpenBSD savvy friend try to compile -current generic i386 kernel with fresh sources and the acpi patch from this thread. However it fails for him too.
../../dev/acpi/acpimadt.c ../../../../dev/acpi/acpimadt.c: In function 'acpimadt_attach': ../../../../dev/acpi/acpimadt.c:258: error: 'struct cpu_attach_args' has no member named 'cpu_number' ../../../../dev/acpi/acpimadt.c:311: error: 'struct cpu_attach_args' has no member named 'cpu_number' *** Error 1 in /usr/src/sys/arch/i386/compile/GENERIC (Makefile:1021 'acpimadt.o') [Wed Sep 07 19:24:31] peter@nms:/usr/src/sys/arch/i386/compile/GENERIC$ Is it possible to ask for an updated diff to try out....? Please.... :-) 2016-09-06 14:45 GMT+02:00 Eivind Eide <[email protected]>: > 2016-09-03 23:04 GMT+02:00 Philip Guenther <[email protected]>: >> >> Can you apply this patch in /usr/src/sys/dev/acpi/ and see if the >> resulting kernel works? If so, please use sendbug to send in the acpidump >> output. >> > Got the problem of the unrelated compile error out of the way, so now > I can compile stock generic kernel. (Still same problem with that.) > https://marc.info/?l=openbsd-misc&m=147311135204412&w=2 > > However, with the acpi patch I get a different compile error, related > this time. Have I applied the patch wrong? I checked carefully.... > > (...snip...) > cc -Werror -Wall -Wimplicit-function-declaration -Wno-main > -Wno-uninitialized -Wframe-larger-than=2047 -fno-builtin-printf > -fno-builtin-snprintf -fno-builtin-vsnprintf -fno-builtin-log > -fno-builtin-log2 -fno-builtin-malloc -fno-pie -O2 -pipe -nostdinc > -I../../../.. -I. -I../../../../arch -DDDB -DDIAGNOSTIC -DKTRACE > -DACCOUNTING -DKMEMSTATS -DPTRACE -DPOOL_DEBUG -DCRYPTO -DSYSVMSG > -DSYSVSEM -DSYSVSHM -DUVM_SWAP_ENCRYPT -DFFS -DFFS2 -DFFS_SOFTUPDATES > -DUFS_DIRHASH -DQUOTA -DEXT2FS -DMFS -DNFSCLIENT -DNFSSERVER -DCD9660 > -DUDF -DMSDOSFS -DFIFO -DFUSE -DSOCKET_SPLICE -DTCP_SACK -DTCP_ECN > -DTCP_SIGNATURE -DART -DINET6 -DIPSEC -DPPP_BSDCOMP -DPPP_DEFLATE > -DPIPEX -DMROUTING -DMPLS -DBOOT_CONFIG -DUSER_PCICONF -DKVM86 > -DAPERTURE -DMTRR -DNTFS -DHIBERNATE -DPCIVERBOSE -DEISAVERBOSE > -DUSBVERBOSE -DWSDISPLAY_COMPAT_USL -DWSDISPLAY_COMPAT_RAWKBD > -DWSDISPLAY_DEFAULTSCREENS="6" -DX86EMU -DONEWIREVERBOSE -DMAXUSERS=80 > -D_KERNEL -MD -MP -c ../../../../dev/acpi/acpimadt.c > ../../../../dev/acpi/acpimadt.c: In function 'acpimadt_attach': > ../../../../dev/acpi/acpimadt.c:258: error: 'struct cpu_attach_args' > has no member named 'cpu_number' > ../../../../dev/acpi/acpimadt.c:311: error: 'struct cpu_attach_args' > has no member named 'cpu_number' > *** Error 1 in /usr/src/sys/arch/i386/compile/GENERIC (Makefile:1021 > 'acpimadt.o') > # > > > > -- > > > > Eivind Eide > > "ONLY THOSE WHO ATTEMPT THE IMPOSSIBLE WILL ACHIEVE THE ABSURD" > - Oceania Association of Autonomous Astronauts -- Eivind Eide "ONLY THOSE WHO ATTEMPT THE IMPOSSIBLE WILL ACHIEVE THE ABSURD" - Oceania Association of Autonomous Astronauts
