[Bug 275867] Kernel build with device isa fails if device acpi is not present
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 275867] Kernel build with device isa fails if device acpi is not present"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 275867] Kernel build with device isa fails if device acpi is not present"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 275867] Kernel build with device isa fails if device acpi is not present"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 275867] Kernel build with device isa fails if device acpi is not present"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 21 Dec 2023 07:37:21 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=275867
Bug ID: 275867
Summary: Kernel build with device isa fails if device acpi is
not present
Product: Base System
Version: 13.2-STABLE
Hardware: i386
OS: Any
Status: New
Severity: Affects Some People
Priority: ---
Component: kern
Assignee: bugs@FreeBSD.org
Reporter: jbaggs2016@gmail.com
Compiling a kernel with device isa and without device acpi fails with:
--- atrtc.o ---
/usr/src/sys/x86/isa/atrtc.c:67:63: error: expected identifier
SYSCTL_BOOL(_machdep, OID_AUTO, atrtc_power_lost, CTLFLAG_RD,
&atrtc_power_lost,
^
/usr/src/sys/x86/isa/atrtc.c:67:1: error: type specifier missing, defaults to
'int' [-Werror,-Wimplicit-int]
SYSCTL_BOOL(_machdep, OID_AUTO, atrtc_power_lost, CTLFLAG_RD,
&atrtc_power_lost,
^
/usr/src/sys/x86/isa/atrtc.c:67:12: error: this function declaration is not a
prototype [-Werror,-Wstrict-prototypes]
SYSCTL_BOOL(_machdep, OID_AUTO, atrtc_power_lost, CTLFLAG_RD,
&atrtc_power_lost,
^
3 errors generated.
*** [atrtc.o] Error code 1
--
You are receiving this mail because:
You are the assignee for the bug.