Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 9 Jan 2021 06:38:12 -0800
From:      David Wolfskill <david@catwhisker.org>
To:        Filippo Moretti <filippomore@yahoo.com>
Cc:        FreeBSD Current <current@freebsd.org>
Subject:   Re: Problem compiling custom kernel
Message-ID:  <X/m/1LvgfzJMbD7d@albert.catwhisker.org>
In-Reply-To: <1827645385.154500.1610202838480@mail.yahoo.com>
References:  <1827645385.154500.1610202838480.ref@mail.yahoo.com> <1827645385.154500.1610202838480@mail.yahoo.com>

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

--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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?X/m/1LvgfzJMbD7d>