From owner-freebsd-current@freebsd.org Sat Jan 9 14:38:20 2021 Return-Path: Delivered-To: freebsd-current@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 1DA924D6E00 for ; Sat, 9 Jan 2021 14:38:20 +0000 (UTC) (envelope-from david@catwhisker.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4DCjJC5dbgz3JYr for ; Sat, 9 Jan 2021 14:38:19 +0000 (UTC) (envelope-from david@catwhisker.org) Received: by mailman.nyi.freebsd.org (Postfix) id C0BEE4D6C95; Sat, 9 Jan 2021 14:38:19 +0000 (UTC) Delivered-To: current@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id C04984D6C94 for ; Sat, 9 Jan 2021 14:38:19 +0000 (UTC) (envelope-from david@catwhisker.org) Received: from mx.catwhisker.org (mx.catwhisker.org [107.204.234.170]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4DCjJC3qnqz3JPG for ; Sat, 9 Jan 2021 14:38:19 +0000 (UTC) (envelope-from david@catwhisker.org) Received: from albert.catwhisker.org (localhost [127.0.0.1]) by albert.catwhisker.org (8.16.1/8.15.2) with ESMTP id 109EcCZY083759; Sat, 9 Jan 2021 14:38:12 GMT (envelope-from david@albert.catwhisker.org) Received: (from david@localhost) by albert.catwhisker.org (8.16.1/8.16.1/Submit) id 109EcCkt083758; Sat, 9 Jan 2021 06:38:12 -0800 (PST) (envelope-from david) Date: Sat, 9 Jan 2021 06:38:12 -0800 From: David Wolfskill To: Filippo Moretti Cc: FreeBSD Current Subject: Re: Problem compiling custom kernel Message-ID: Mail-Followup-To: David Wolfskill , Filippo Moretti , FreeBSD Current References: <1827645385.154500.1610202838480.ref@mail.yahoo.com> <1827645385.154500.1610202838480@mail.yahoo.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="STf8iVU1UsiasZSG" Content-Disposition: inline In-Reply-To: <1827645385.154500.1610202838480@mail.yahoo.com> X-Rspamd-Queue-Id: 4DCjJC3qnqz3JPG X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 09 Jan 2021 14:38:20 -0000 --STf8iVU1UsiasZSG Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Jan 09, 2021 at 02:33:58PM +0000, Filippo Moretti wrote: > I tried to compile my custom kernel but I did get the following error,I e= nclose the beginning of dmesg output.So far I could always build kernel STI= NG.I did switch to git and previously I could build it without issues.since= relyFilippo >=20 > ... > --- 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) > >>>=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 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) > .... Looks as if you need some of these: g1-55(12.2-S)[2] tail sys/amd64/conf/GENERIC device evdev # input event device support device uinput # install /dev/uinput cdev # HID support options HID_DEBUG # enable debug msgs device hid # Generic HID support options IICHID_SAMPLING # Workaround missing GPIO INTR supp= ort #device usbhid # USB transport support. #device hidbus # HID bus (required by usbhid/iichi= d) #options USBHID_ENABLED # Prefer usbhid to other USB drivers g1-55(12.2-S)[3]=20 FWIW, I find it useful to construct my custom kernel configurations by starting with "include GENERIC", then adjust from there. Peace, david --=20 David H. Wolfskill david@catwhisker.org "I want him to resign. I want him out. He has caused enough damage." - Senator Lisa Murkowski (R-AK) See https://www.catwhisker.org/~david/publickey.gpg for my public key. --STf8iVU1UsiasZSG Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGTBAEBCgB9FiEE4owz2QxMJyaxAefyQLJg+bY2PckFAl/5v9NfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEUy OEMzM0Q5MEM0QzI3MjZCMTAxRTdGMjQwQjI2MEY5QjYzNjNEQzkACgkQQLJg+bY2 PckqcQf9FxOxQVunr8l+G0eCd9A85HgpC+eoK7BArJaddTnNqU8d42e9bzTFQmgq G5BrYauVt8/yFTcePlxHxTaRsYuVCfisRUHSDgiloONhKu7YfdwZcf1OBxFB4ibP 7PA3fGXiTCaoBpKJtgvDF92PjLpQsn8rTj80s1RYOWBAPFLC1AQx4f2ehBHgoBz1 Zg6z2154vfUYSNqJ6Bt2cGzH23hg8A1Hh4xsr/fm6uISuUNVuSzN/Yt8F4/cdnt5 LJKzHlRQylL3fuCGLwoevyJVI9Hg7RBUMplbUtLRCF5GraOrj69Vj8LHGXEe+hRs tHuF7sR6shL3tb21OUjHBba9PifbCg== =XWBQ -----END PGP SIGNATURE----- --STf8iVU1UsiasZSG--