Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Dec 2023 07:37:21 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 275867] Kernel build with device isa fails if device acpi is not present
Message-ID:  <bug-275867-227@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D275867

            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

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-275867-227>