Problem compiling custom kernel

From: Filippo Moretti <filippomore_at_yahoo.com>
Date: Sat, 9 Jan 2021 14:33:58 +0000 (UTC)
I tried to compile my custom kernel but I did get the following error,I enclose the beginning of dmesg output.So far I could always build kernel STING.I did switch to git and previously I could build it without issues.sincerelyFilippo

Copyright (c) 1992-2021 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
        The Regents of the University of California. All rights reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 13.0-CURRENT #2 main-c255755-g6815909abda: Sat Jan  9 14:38:37 CET 2021
    root_at_sting:/usr/obj/usr/src/amd64.amd64/sys/GENERIC amd64
FreeBSD clang version 11.0.1 (git_at_github.com:llvm/llvm-project.git llvmorg-11.0.1-rc2-0-g43ff75f2c3f)
WARNING: WITNESS option enabled, expect reduced performance.
VT(vga): resolution 640x480
CPU: AMD Phenom(tm) II X4 965 Processor (3411.42-MHz K8-class CPU)
  Origin="AuthenticAMD"  Id=0x100f43  Family=0x10  Model=0x4  Stepping=3
  Features=0x178bfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2,HTT>
  Features2=0x802009<SSE3,MON,CX16,POPCNT>
  AMD Features=0xee500800<SYSCALL,NX,MMX+,FFXSR,Page1GB,RDTSCP,LM,3DNow!+,3DNow!>
  AMD Features2=0x37ff<LAHF,CMP,SVM,ExtAPIC,CR8,ABM,SSE4A,MAS,Prefetch,OSVW,IBS,SKINIT,WDT>
  SVM: NP,NRIP,NAsids=64








--- kernel.full ---linking kernel.full
ld: error: undefined symbol: hid_is_keyboard
>>> referenced by ukbd.c:957 (/usr/src/sys/dev/usb/input/ukbd.c:957)
>>>               ukbd.o:(ukbd_probe)
ld: error: undefined symbol: hid_is_mouse
>>> referenced by ukbd.c:958 (/usr/src/sys/dev/usb/input/ukbd.c:958)
>>>               ukbd.o:(ukbd_probe)
ld: error: undefined symbol: hid_report_size_max
>>> referenced by ukbd.c:988 (/usr/src/sys/dev/usb/input/ukbd.c:988)
>>>               ukbd.o:(ukbd_parse_hid)
>>> referenced by ukbd.c:1038 (/usr/src/sys/dev/usb/input/ukbd.c:1038)
>>>               ukbd.o:(ukbd_parse_hid)
ld: error: undefined symbol: hid_locate
>>> referenced by ukbd.c:992 (/usr/src/sys/dev/usb/input/ukbd.c:992)>>>               ukbd.o:(ukbd_parse_hid)
>>> referenced by ukbd.c:1001 (/usr/src/sys/dev/usb/input/ukbd.c:1001)
>>>               ukbd.o:(ukbd_parse_hid)
>>> referenced by ukbd.c:1011 (/usr/src/sys/dev/usb/input/ukbd.c:1011)
>>>               ukbd.o:(ukbd_parse_hid)
>>> referenced 4 more times
ld: error: undefined symbol: hid_get_data
>>> referenced by ukbd.c:695 (/usr/src/sys/dev/usb/input/ukbd.c:695)
>>>               ukbd.o:(ukbd_intr_callback)
>>> referenced by ukbd.c:700 (/usr/src/sys/dev/usb/input/ukbd.c:700)
>>>               ukbd.o:(ukbd_intr_callback)
>>> referenced by ukbd.c:734 (/usr/src/sys/dev/usb/input/ukbd.c:734)
>>>               ukbd.o:(ukbd_intr_callback)
ld: error: undefined symbol: hid_get_udata
>>> referenced by ukbd.c:722 (/usr/src/sys/dev/usb/input/ukbd.c:722)
>>>               ukbd.o:(ukbd_intr_callback)
ld: error: undefined symbol: hid_put_udata
>>> referenced by ukbd.c:830 (/usr/src/sys/dev/usb/input/ukbd.c:830)
>>>               ukbd.o:(ukbd_set_leds_callback)
>>> referenced by ukbd.c:821 (/usr/src/sys/dev/usb/input/ukbd.c:821)>>>               ukbd.o:(ukbd_set_leds_callback)
>>> referenced by ukbd.c:839 (/usr/src/sys/dev/usb/input/ukbd.c:839)
>>>               ukbd.o:(ukbd_set_leds_callback)
*** [kernel.full] Error code 1

make[2]: stopped in /usr/obj/usr/src/amd64.amd64/sys/STING
--- modules-all ---
ctfconvert -L VERSION -g cxgb_sge.o
*** [modules-all] Error code 2

make[2]: stopped in /usr/obj/usr/src/amd64.amd64/sys/STING
2 errors

make[2]: stopped in /usr/obj/usr/src/amd64.amd64/sys/STING
Received on Sat Jan 09 2021 - 13:34:06 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:26 UTC