Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Nov 2025 21:12:46 -0500
From:      Ian Freislich <ianfreislich@gmail.com>
To:        Minsoo Choo <minsoochoo0122@proton.me>
Cc:        FreeBSD Current <current@freebsd.org>
Subject:   Re: nvme.c:2012:2: error: call to undeclared function 'memmove'
Message-ID:  <19a9f091d30.27e6.64e08aff09ba5a21b2fc9010d26a90e5@gmail.com>
In-Reply-To: <XwJ6SSJdbLM81ArdNZm0HkGpz5gKrS79InXxD5qEOlRhx5yB_GLx5k7ZNmjf4491OE80KlcNXrypANmkMIeD7RNR4Hk5Uhb3L3VaLn_AtCQ=@proton.me>
References:  <814ce2bc-2a95-444b-9ab7-7e680a024c68@gmail.com> <M3bbYahqeDlLQCLnCmns8l9CbUCowcNRDFhkazE3oMEkZIQk9PZSJGHipQeEwSERs285Tqez72g5lK0iVmITrxQHnLJiBouXyuKWgK3lUtE=@proton.me> <60449f55-58e7-4f8b-aa0e-3f288dab5146@gmail.com> <vSrD5BIXbG60VzaarV7hIxm2KqHRowF2D-OaxFIbpcTc83TOvjibwjvl9o7mEU46ZofIAsmmZqoMyDQy5vzZNr9Ng8mv_hZMiZC33wrSyhE=@proton.me> <531224d3-acaf-4f97-b39c-02b09dcd297c@gmail.com> <XwJ6SSJdbLM81ArdNZm0HkGpz5gKrS79InXxD5qEOlRhx5yB_GLx5k7ZNmjf4491OE80KlcNXrypANmkMIeD7RNR4Hk5Uhb3L3VaLn_AtCQ=@proton.me>

next in thread | previous in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
On November 19, 2025 21:04:28 Minsoo Choo <minsoochoo0122@proton.me> wrote:

> On Wednesday, November 19th, 2025 at 5:24 PM, Ian FREISLICH 
> <ianfreislich@gmail.com> wrote:
>
>> On 11/19/25 15:42, Minsoo Choo wrote:
>>
>>> On Wednesday, November 19th, 2025 at 2:51 PM, Ian FREISLICH 
>>> ianfreislich@gmail.com wrote:
>>>
>>>> On 11/19/25 14:24, Minsoo Choo wrote:
>>>>
>>>>> On Wednesday, November 19th, 2025 at 2:19 PM, Ian FREISLICH 
>>>>> ianfreislich@gmail.com wrote:
>>>>>
>>>>>> My kernel build started failing recently with the following error. I use
>>>>>> a custom kernel config but looking at NOTES, it's not clear that I've
>>>>>> missed an option that would make it compile.
>>>>>>
>>>>>> In file included from /usr/src/sys/dev/nvme/nvme_util.c:34:
>>>>>> /usr/src/sys/dev/nvme/nvme.h:2012:2: error: call to undeclared function
>>>>>> 'memmove'; ISO C99 and later do not support implicit function
>>>>>> declarations [-Werror,-Wimplicit-function-declaration]
>>>>>> 2012 | memmove(sn, cdata->sn, NVME_SERIAL_NUMBER_LENGTH);
>>>>>>
>>>>>> | ^
>>>>>> 1 error generated.
>>>>>> *** Error code 1
>>>>>>
>>>>>> I've also tried compiling after blowing away usr/obj.
>>>>>>
>>>>>> Ian
>>>>>
>>>>> memmove is declared in systm.h, but I don't see include statement for 
>>>>> systm.h in nvme.h. Could you try including <sys/systm.h> in 
>>>>> sys/dev/nvme/nvme.h and build again?
>>>>
>>>> It builds with that, but coincidentally GENERIC builds without that change.
>>>>
>>>> Ian
>>>
>>> Could you send your kernel config? Maybe sys/systm.h is included under 
>>> GENERIC but not under some configs.
>>
>>
>> --X--
>> cpu HAMMER
>> ident ROUTER
>>
>> makeoptions DEBUG=-g # Build kernel with gdb(1) debug
>> symbols
>>
>> options SCHED_ULE # ULE scheduler
>> options NUMA # Non-Uniform Memory
>> Architecture support
>> options PREEMPTION # Enable kernel thread preemption
>>
>> options INET # IPv6 communications protocols
>> options INET6 # IPv6 communications protocols
>> options IPSEC
>> options IPSEC_OFFLOAD # Inline ipsec offload infra
>> options ROUTE_MPATH # Multipath routing support
>> options FIB_ALGO # Modular fib lookups
>> options TCP_OFFLOAD # TCP offload
>> options TCP_BLACKBOX # Enhanced TCP event logging
>> options TCP_HHOOK # hhook(9) framework for TCP
>> options TCP_RFC7413 # TCP Fast Open
>> options SCTP_SUPPORT # Allow kldload of SCTP
>> options KERN_TLS # TLS transmit & receive offload
>> options MAC
>> options MAC_NTPD
>> options MAC_PORTACL
>>
>> options FFS # Berkeley Fast Filesystem
>> options SOFTUPDATES # Enable FFS soft updates support
>> options UFS_ACL # Support for access control lists
>> options UFS_DIRHASH # Improve performance on big
>> directories
>> options UFS_GJOURNAL # Enable gjournal-based UFS
>> journaling
>> options ZFS
>> options ZSTDIO
>> options PROCFS # Process filesystem (requires
>> PSEUDOFS)
>> options PSEUDOFS # Pseudo-filesystem framework
>> options TMPFS # Efficient memory filesystem
>> options GEOM_LABEL # Provides labelization
>> options GEOM_PART_GPT
>> options EFIRT # EFI Runtime Services support
>> options COMPAT_FREEBSD32 # Compatible with i386 binaries
>> options COMPAT_FREEBSD4 # Compatible with FreeBSD4
>> options COMPAT_FREEBSD5 # Compatible with FreeBSD5
>> options COMPAT_FREEBSD6 # Compatible with FreeBSD6
>> options COMPAT_FREEBSD7 # Compatible with FreeBSD7
>> options COMPAT_FREEBSD9 # Compatible with FreeBSD9
>> options COMPAT_FREEBSD10 # Compatible with FreeBSD10
>> options COMPAT_FREEBSD11 # Compatible with FreeBSD11
>> options COMPAT_FREEBSD12 # Compatible with FreeBSD12
>> options COMPAT_FREEBSD13 # Compatible with FreeBSD13
>> options COMPAT_FREEBSD14 # Compatible with FreeBSD14
>> #options COMPAT_FREEBSD15 # Compatible with FreeBSD15
>> options KTRACE # ktrace(1) support
>> options STACK # stack(9) support
>> options SYSVSHM # SYSV-style shared memory
>> options SYSVMSG # SYSV-style message queues
>> options SYSVSEM # SYSV-style semaphores
>>
>> options _KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time
>> extensions
>> options PRINTF_BUFR_SIZE=128 # Prevent printf output being
>> interspersed.
>> options KBD_INSTALL_CDEV # install a CDEV entry in /dev
>> options HWPMC_HOOKS # Necessary kernel hooks for
>> hwpmc(4)
>> options INCLUDE_CONFIG_FILE # Include this file in kernel
>>
>> # Debugging support. Always need this:
>> options KDB
>> options KDB_UNATTENDED
>> options DDB
>> options GDB
>> options KDB_TRACE
>> options ALT_BREAK_TO_DEBUGGER
>>
>> # Kernel dump features.
>> options EKCD # Support for encrypted kernel dumps
>> options GZIO # gzip-compressed kernel and
>> user dumps
>> options ZSTDIO # zstd-compressed kernel and
>> user dumps
>> options DEBUGNET # debugnet networking
>> options NETDUMP # netdump(4) client support
>> options NETGDB # netgdb(4) client support
>>
>> device pf
>> device pflog
>> device pfsync
>>
>> # Make an SMP-capable kernel by default
>> options SMP # Symmetric MultiProcessor Kernel
>> device cpufreq
>>
>> # Bus support.
>> device acpi
>> device acpi_wmi
>> device smbios
>> device smbus
>> device ichsmb
>> device iicbus
>> device ig4
>> options IOMMU
>> device pci
>> options PCI_HP # PCI-Express native HotPlug
>> options PCI_IOV # PCI SR-IOV support
>>
>>
>> # ATA controllers
>> device ahci # AHCI-compatible SATA controllers
>> device scbus # SCSI bus (required for ATA/SCSI)
>> device ch # SCSI media changers
>> device da # Direct Access (disks)
>> device sa # Sequential Access (tape etc)
>> device cd # CD
>> device pass # Passthrough device (direct
>> ATA/SCSI access)
>> device ses # Enclosure Services (SES and
>> SAF-TE)
>>
>> # NVM Express (NVMe) support
>> device nvme # base NVMe driver
>> device nvd # expose NVMe namespaces as
>> disks, depends on nvme
>>
>> # atkbdc0 controls both the keyboard and the PS/2 mouse
>> device atkbdc # AT keyboard controller
>> device atkbd # AT keyboard
>> device kbdmux # keyboard multiplexer
>>
>> # syscons is the legacy console driver, resembling an SCO console
>> #device vga # VGA video card driver
>> #device splash # Splash screen and screen saver
>> support
>> #device sc
>> #options SC_PIXEL_MODE # add support for the raster
>> text mode
>>
>> # vt is the default video console driver
>> device vt
>> device vt_vga
>> device vt_efifb
>> device vt_vbefb
>>
>> device agp # support several AGP chipsets
>>
>> options PPS_SYNC
>> device uart # Generic UART driver
>>
>> device superio
>> device gpio
>> device gpiopps
>>
>> # PCI/PCI-X/PCIe Ethernet NICs that use iflib infrastructure
>> device iflib
>> device igc # Intel I225 2.5G Ethernet
>> device ix # Intel PRO/10GbE PCIE PF Ethernet
>>
>> # Pseudo devices.
>> device crypto # core crypto support
>> device cryptodev
>> device aesni # AES-NI OpenCrypto module
>> device ossl
>> device loop # Network loopback
>> device rdrand_rng # Intel Bull Mountain RNG
>> device ether # Ethernet support
>> device vlan # 802.1Q VLAN support
>> device tuntap # Packet tunnel.
>> device md # Memory "disks"
>> device gif # IPv6 and IPv4 tunneling
>> device firmware # firmware assist module
>> device xz # lzma decompression
>>
>> options EVDEV_SUPPORT
>> device evdev
>> device uinput
>>
>> # The `bpf' device enables the Berkeley Packet Filter.
>> # Be aware of the administrative consequences of enabling this!
>> # Note that 'bpf' is required for DHCP.
>> device bpf # Berkeley packet filter
>>
>> # USB support
>> options USB_DEBUG # enable debug msgs
>> device uhci # UHCI PCI->USB interface
>>
>> device ohci # OHCI PCI->USB interface
>>
>> device ehci # EHCI PCI->USB interface (USB 2.0)
>>
>> device xhci # XHCI PCI->USB interface (USB 3.0)
>>
>> device usb # USB Bus (required)
>> device usbhid # USB HID Transport
>> device hkbd # HID Keyboard
>> device ukbd # USB Keyboard
>> device umass # Disks/Mass storage - Requires
>> scbus and da
>>
>> # Sound support
>> device sound # Generic sound driver (required)
>> device snd_hda # Intel High Definition Audio
>>
>> # Netmap provides direct access to TX/RX rings on supported NICs
>> device netmap # netmap(4) support
>>
>> device hid # Generic HID support
>> device hidbus # Generic HID Bus
>>
>> # EFI devices
>> device efidev # EFI pseudo-device
>> device efirtc # EFI RTC
>> --X--
>
> Could you `make cleankernel` and run `make buildkernel` again? And if it 
> fails for the same reason, could you add `#include <sys/systm.h>` and `make 
> cleankernel` then `make buildkernel` again?

I did rm -rf /usr/obj/* and rebuilt before reporting.

[-- Attachment #2 --]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">;
<html>
<body>
<div dir="auto">
<div dir="auto"><span style="font-size: 12pt;">On November 19, 2025 21:04:28 Minsoo Choo &lt;minsoochoo0122@proton.me&gt; wrote:</span></div><div id="aqm-original" style="color: black;">
<div><br></div>
<blockquote type="cite" class="gmail_quote" style="margin: 0 0 0 0.75ex; border-left: 1px solid #808080; padding-left: 0.75ex;">
<div dir="auto">On Wednesday, November 19th, 2025 at 5:24 PM, Ian FREISLICH &lt;ianfreislich@gmail.com&gt; wrote:</div>
<div dir="auto"><br></div>
<blockquote type="cite" class="gmail_quote" style="margin: 0 0 0 0.75ex; border-left: 1px solid #0099CC; padding-left: 0.75ex;">
<div dir="auto">On 11/19/25 15:42, Minsoo Choo wrote:</div>
<div dir="auto"><br></div>
<blockquote type="cite" class="gmail_quote" style="margin: 0 0 0 0.75ex; border-left: 1px solid #9933CC; padding-left: 0.75ex;">
<div dir="auto">On Wednesday, November 19th, 2025 at 2:51 PM, Ian FREISLICH ianfreislich@gmail.com wrote:</div>
<div dir="auto"><br></div>
<blockquote type="cite" class="gmail_quote" style="margin: 0 0 0 0.75ex; border-left: 1px solid #669900; padding-left: 0.75ex;">
<div dir="auto">On 11/19/25 14:24, Minsoo Choo wrote:</div>
<div dir="auto"><br></div>
<blockquote type="cite" class="gmail_quote" style="margin: 0 0 0 0.75ex; border-left: 1px solid #FF8800; padding-left: 0.75ex;">
<div dir="auto">On Wednesday, November 19th, 2025 at 2:19 PM, Ian FREISLICH ianfreislich@gmail.com wrote:</div>
<div dir="auto"><br></div>
<blockquote type="cite" class="gmail_quote" style="margin: 0 0 0 0.75ex; border-left: 1px solid #CC0000; padding-left: 0.75ex;">
<div dir="auto">My kernel build started failing recently with the following error. I use</div>
<div dir="auto">a custom kernel config but looking at NOTES, it's not clear that I've</div>
<div dir="auto">missed an option that would make it compile.</div>
<div dir="auto"><br></div>
<div dir="auto">In file included from /usr/src/sys/dev/nvme/nvme_util.c:34:</div>
<div dir="auto">/usr/src/sys/dev/nvme/nvme.h:2012:2: error: call to undeclared function</div>
<div dir="auto">'memmove'; ISO C99 and later do not support implicit function</div>
<div dir="auto">declarations [-Werror,-Wimplicit-function-declaration]</div>
<div dir="auto">2012 | memmove(sn, cdata-&gt;sn, NVME_SERIAL_NUMBER_LENGTH);</div>
<div dir="auto"><br></div>
<div dir="auto">| ^</div>
<div dir="auto">1 error generated.</div>
<div dir="auto">*** Error code 1</div>
<div dir="auto"><br></div>
<div dir="auto">I've also tried compiling after blowing away usr/obj.</div>
<div dir="auto"><br></div>
<div dir="auto">Ian</div>
</blockquote>
<div dir="auto"><br></div>
<div dir="auto">memmove is declared in systm.h, but I don't see include statement for systm.h in nvme.h. Could you try including &lt;sys/systm.h&gt; in sys/dev/nvme/nvme.h and build again?</div>
</blockquote>
<div dir="auto"><br></div>
<div dir="auto">It builds with that, but coincidentally GENERIC builds without that change.</div>
<div dir="auto"><br></div>
<div dir="auto">Ian</div>
</blockquote>
<div dir="auto"><br></div>
<div dir="auto">Could you send your kernel config? Maybe sys/systm.h is included under GENERIC but not under some configs.</div>
</blockquote>
<div dir="auto"><br></div>
<div dir="auto"><br></div>
<div dir="auto">--X--</div>
<div dir="auto">cpu HAMMER</div>
<div dir="auto">ident ROUTER</div>
<div dir="auto"><br></div>
<div dir="auto">makeoptions DEBUG=-g # Build kernel with gdb(1) debug</div>
<div dir="auto">symbols</div>
<div dir="auto"><br></div>
<div dir="auto">options SCHED_ULE # ULE scheduler</div>
<div dir="auto">options NUMA # Non-Uniform Memory</div>
<div dir="auto">Architecture support</div>
<div dir="auto">options PREEMPTION # Enable kernel thread preemption</div>
<div dir="auto"><br></div>
<div dir="auto">options INET # IPv6 communications protocols</div>
<div dir="auto">options INET6 # IPv6 communications protocols</div>
<div dir="auto">options IPSEC</div>
<div dir="auto">options IPSEC_OFFLOAD # Inline ipsec offload infra</div>
<div dir="auto">options ROUTE_MPATH # Multipath routing support</div>
<div dir="auto">options FIB_ALGO # Modular fib lookups</div>
<div dir="auto">options TCP_OFFLOAD # TCP offload</div>
<div dir="auto">options TCP_BLACKBOX # Enhanced TCP event logging</div>
<div dir="auto">options TCP_HHOOK # hhook(9) framework for TCP</div>
<div dir="auto">options TCP_RFC7413 # TCP Fast Open</div>
<div dir="auto">options SCTP_SUPPORT # Allow kldload of SCTP</div>
<div dir="auto">options KERN_TLS # TLS transmit &amp; receive offload</div>
<div dir="auto">options MAC</div>
<div dir="auto">options MAC_NTPD</div>
<div dir="auto">options MAC_PORTACL</div>
<div dir="auto"><br></div>
<div dir="auto">options FFS # Berkeley Fast Filesystem</div>
<div dir="auto">options SOFTUPDATES # Enable FFS soft updates support</div>
<div dir="auto">options UFS_ACL # Support for access control lists</div>
<div dir="auto">options UFS_DIRHASH # Improve performance on big</div>
<div dir="auto">directories</div>
<div dir="auto">options UFS_GJOURNAL # Enable gjournal-based UFS</div>
<div dir="auto">journaling</div>
<div dir="auto">options ZFS</div>
<div dir="auto">options ZSTDIO</div>
<div dir="auto">options PROCFS # Process filesystem (requires</div>
<div dir="auto">PSEUDOFS)</div>
<div dir="auto">options PSEUDOFS # Pseudo-filesystem framework</div>
<div dir="auto">options TMPFS # Efficient memory filesystem</div>
<div dir="auto">options GEOM_LABEL # Provides labelization</div>
<div dir="auto">options GEOM_PART_GPT</div>
<div dir="auto">options EFIRT # EFI Runtime Services support</div>
<div dir="auto">options COMPAT_FREEBSD32 # Compatible with i386 binaries</div>
<div dir="auto">options COMPAT_FREEBSD4 # Compatible with FreeBSD4</div>
<div dir="auto">options COMPAT_FREEBSD5 # Compatible with FreeBSD5</div>
<div dir="auto">options COMPAT_FREEBSD6 # Compatible with FreeBSD6</div>
<div dir="auto">options COMPAT_FREEBSD7 # Compatible with FreeBSD7</div>
<div dir="auto">options COMPAT_FREEBSD9 # Compatible with FreeBSD9</div>
<div dir="auto">options COMPAT_FREEBSD10 # Compatible with FreeBSD10</div>
<div dir="auto">options COMPAT_FREEBSD11 # Compatible with FreeBSD11</div>
<div dir="auto">options COMPAT_FREEBSD12 # Compatible with FreeBSD12</div>
<div dir="auto">options COMPAT_FREEBSD13 # Compatible with FreeBSD13</div>
<div dir="auto">options COMPAT_FREEBSD14 # Compatible with FreeBSD14</div>
<div dir="auto">#options COMPAT_FREEBSD15 # Compatible with FreeBSD15</div>
<div dir="auto">options KTRACE # ktrace(1) support</div>
<div dir="auto">options STACK # stack(9) support</div>
<div dir="auto">options SYSVSHM # SYSV-style shared memory</div>
<div dir="auto">options SYSVMSG # SYSV-style message queues</div>
<div dir="auto">options SYSVSEM # SYSV-style semaphores</div>
<div dir="auto"><br></div>
<div dir="auto">options _KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time</div>
<div dir="auto">extensions</div>
<div dir="auto">options PRINTF_BUFR_SIZE=128 # Prevent printf output being</div>
<div dir="auto">interspersed.</div>
<div dir="auto">options KBD_INSTALL_CDEV # install a CDEV entry in /dev</div>
<div dir="auto">options HWPMC_HOOKS # Necessary kernel hooks for</div>
<div dir="auto">hwpmc(4)</div>
<div dir="auto">options INCLUDE_CONFIG_FILE # Include this file in kernel</div>
<div dir="auto"><br></div>
<div dir="auto"># Debugging support. Always need this:</div>
<div dir="auto">options KDB</div>
<div dir="auto">options KDB_UNATTENDED</div>
<div dir="auto">options DDB</div>
<div dir="auto">options GDB</div>
<div dir="auto">options KDB_TRACE</div>
<div dir="auto">options ALT_BREAK_TO_DEBUGGER</div>
<div dir="auto"><br></div>
<div dir="auto"># Kernel dump features.</div>
<div dir="auto">options EKCD # Support for encrypted kernel dumps</div>
<div dir="auto">options GZIO # gzip-compressed kernel and</div>
<div dir="auto">user dumps</div>
<div dir="auto">options ZSTDIO # zstd-compressed kernel and</div>
<div dir="auto">user dumps</div>
<div dir="auto">options DEBUGNET # debugnet networking</div>
<div dir="auto">options NETDUMP # netdump(4) client support</div>
<div dir="auto">options NETGDB # netgdb(4) client support</div>
<div dir="auto"><br></div>
<div dir="auto">device pf</div>
<div dir="auto">device pflog</div>
<div dir="auto">device pfsync</div>
<div dir="auto"><br></div>
<div dir="auto"># Make an SMP-capable kernel by default</div>
<div dir="auto">options SMP # Symmetric MultiProcessor Kernel</div>
<div dir="auto">device cpufreq</div>
<div dir="auto"><br></div>
<div dir="auto"># Bus support.</div>
<div dir="auto">device acpi</div>
<div dir="auto">device acpi_wmi</div>
<div dir="auto">device smbios</div>
<div dir="auto">device smbus</div>
<div dir="auto">device ichsmb</div>
<div dir="auto">device iicbus</div>
<div dir="auto">device ig4</div>
<div dir="auto">options IOMMU</div>
<div dir="auto">device pci</div>
<div dir="auto">options PCI_HP # PCI-Express native HotPlug</div>
<div dir="auto">options PCI_IOV # PCI SR-IOV support</div>
<div dir="auto"><br></div>
<div dir="auto"><br></div>
<div dir="auto"># ATA controllers</div>
<div dir="auto">device ahci # AHCI-compatible SATA controllers</div>
<div dir="auto">device scbus # SCSI bus (required for ATA/SCSI)</div>
<div dir="auto">device ch # SCSI media changers</div>
<div dir="auto">device da # Direct Access (disks)</div>
<div dir="auto">device sa # Sequential Access (tape etc)</div>
<div dir="auto">device cd # CD</div>
<div dir="auto">device pass # Passthrough device (direct</div>
<div dir="auto">ATA/SCSI access)</div>
<div dir="auto">device ses # Enclosure Services (SES and</div>
<div dir="auto">SAF-TE)</div>
<div dir="auto"><br></div>
<div dir="auto"># NVM Express (NVMe) support</div>
<div dir="auto">device nvme # base NVMe driver</div>
<div dir="auto">device nvd # expose NVMe namespaces as</div>
<div dir="auto">disks, depends on nvme</div>
<div dir="auto"><br></div>
<div dir="auto"># atkbdc0 controls both the keyboard and the PS/2 mouse</div>
<div dir="auto">device atkbdc # AT keyboard controller</div>
<div dir="auto">device atkbd # AT keyboard</div>
<div dir="auto">device kbdmux # keyboard multiplexer</div>
<div dir="auto"><br></div>
<div dir="auto"># syscons is the legacy console driver, resembling an SCO console</div>
<div dir="auto">#device vga # VGA video card driver</div>
<div dir="auto">#device splash # Splash screen and screen saver</div>
<div dir="auto">support</div>
<div dir="auto">#device sc</div>
<div dir="auto">#options SC_PIXEL_MODE # add support for the raster</div>
<div dir="auto">text mode</div>
<div dir="auto"><br></div>
<div dir="auto"># vt is the default video console driver</div>
<div dir="auto">device vt</div>
<div dir="auto">device vt_vga</div>
<div dir="auto">device vt_efifb</div>
<div dir="auto">device vt_vbefb</div>
<div dir="auto"><br></div>
<div dir="auto">device agp # support several AGP chipsets</div>
<div dir="auto"><br></div>
<div dir="auto">options PPS_SYNC</div>
<div dir="auto">device uart # Generic UART driver</div>
<div dir="auto"><br></div>
<div dir="auto">device superio</div>
<div dir="auto">device gpio</div>
<div dir="auto">device gpiopps</div>
<div dir="auto"><br></div>
<div dir="auto"># PCI/PCI-X/PCIe Ethernet NICs that use iflib infrastructure</div>
<div dir="auto">device iflib</div>
<div dir="auto">device igc # Intel I225 2.5G Ethernet</div>
<div dir="auto">device ix # Intel PRO/10GbE PCIE PF Ethernet</div>
<div dir="auto"><br></div>
<div dir="auto"># Pseudo devices.</div>
<div dir="auto">device crypto # core crypto support</div>
<div dir="auto">device cryptodev</div>
<div dir="auto">device aesni # AES-NI OpenCrypto module</div>
<div dir="auto">device ossl</div>
<div dir="auto">device loop # Network loopback</div>
<div dir="auto">device rdrand_rng # Intel Bull Mountain RNG</div>
<div dir="auto">device ether # Ethernet support</div>
<div dir="auto">device vlan # 802.1Q VLAN support</div>
<div dir="auto">device tuntap # Packet tunnel.</div>
<div dir="auto">device md # Memory "disks"</div>
<div dir="auto">device gif # IPv6 and IPv4 tunneling</div>
<div dir="auto">device firmware # firmware assist module</div>
<div dir="auto">device xz # lzma decompression</div>
<div dir="auto"><br></div>
<div dir="auto">options EVDEV_SUPPORT</div>
<div dir="auto">device evdev</div>
<div dir="auto">device uinput</div>
<div dir="auto"><br></div>
<div dir="auto"># The `bpf' device enables the Berkeley Packet Filter.</div>
<div dir="auto"># Be aware of the administrative consequences of enabling this!</div>
<div dir="auto"># Note that 'bpf' is required for DHCP.</div>
<div dir="auto">device bpf # Berkeley packet filter</div>
<div dir="auto"><br></div>
<div dir="auto"># USB support</div>
<div dir="auto">options USB_DEBUG # enable debug msgs</div>
<div dir="auto">device uhci # UHCI PCI-&gt;USB interface</div>
<div dir="auto"><br></div>
<div dir="auto">device ohci # OHCI PCI-&gt;USB interface</div>
<div dir="auto"><br></div>
<div dir="auto">device ehci # EHCI PCI-&gt;USB interface (USB 2.0)</div>
<div dir="auto"><br></div>
<div dir="auto">device xhci # XHCI PCI-&gt;USB interface (USB 3.0)</div>
<div dir="auto"><br></div>
<div dir="auto">device usb # USB Bus (required)</div>
<div dir="auto">device usbhid # USB HID Transport</div>
<div dir="auto">device hkbd # HID Keyboard</div>
<div dir="auto">device ukbd # USB Keyboard</div>
<div dir="auto">device umass # Disks/Mass storage - Requires</div>
<div dir="auto">scbus and da</div>
<div dir="auto"><br></div>
<div dir="auto"># Sound support</div>
<div dir="auto">device sound # Generic sound driver (required)</div>
<div dir="auto">device snd_hda # Intel High Definition Audio</div>
<div dir="auto"><br></div>
<div dir="auto"># Netmap provides direct access to TX/RX rings on supported NICs</div>
<div dir="auto">device netmap # netmap(4) support</div>
<div dir="auto"><br></div>
<div dir="auto">device hid # Generic HID support</div>
<div dir="auto">device hidbus # Generic HID Bus</div>
<div dir="auto"><br></div>
<div dir="auto"># EFI devices</div>
<div dir="auto">device efidev # EFI pseudo-device</div>
<div dir="auto">device efirtc # EFI RTC</div>
<div dir="auto">--X--</div>
<div dir="auto"><br></div>
</blockquote>
<div dir="auto"><br></div>
<div dir="auto">Could you `make cleankernel` and run `make buildkernel` again? And if it fails for the same reason, could you add `#include &lt;sys/systm.h&gt;` and `make cleankernel` then `make buildkernel` again?</div>
</blockquote>
</div><div dir="auto"><br></div><div dir="auto">I did rm -rf /usr/obj/* and rebuilt before reporting.</div>
</div></body>
</html>

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19a9f091d30.27e6.64e08aff09ba5a21b2fc9010d26a90e5>