Date: Fri, 29 Dec 2017 20:33:15 +0100 From: Michael Gmelin <freebsd@grem.de> To: Shawn Webb <shawn.webb@hardenedbsd.org> Cc: freebsd-current@freebsd.org Subject: Re: evdev broken Message-ID: <586A0CCB-76A8-4101-9D60-005DD563B4AB@grem.de> In-Reply-To: <20171229191516.a4aooetcwrwqndxe@mutt-hbsd> References: <20171229191516.a4aooetcwrwqndxe@mutt-hbsd>
next in thread | previous in thread | raw e-mail | index | archive | help
> On 29. Dec 2017, at 20:15, Shawn Webb <shawn.webb@hardenedbsd.org> wrote: >=20 > Hey All, >=20 > It looks like evdev support in the kernel is broken. > sys/dev/kbdmux/kbdmux.c contains various unresolved symbols to > different evdev-related symbols. >=20 > I have the following options in my kernel config: >=20 > options EVDEV_SUPPORT > options EVDEV_DEBUG > options UINPUT_DEBUG Did you add "device evdev"? -m >=20 > Here's the build failure log: >=20 > linking kernel.full = = =20 > ld: error: undefined symbol: evdev_rcpt_mask = = =20 >>>> referenced by kbdmux.c:1190 (/usr/src/sys/dev/kbdmux/kbdmux.c:1190) = = =20 >>>> kbdmux.o:(kbdmux_init) = = =20 >=20 > ld: error: undefined symbol: evdev_push_leds = = =20 >>>> referenced by kbdmux.c:1191 (/usr/src/sys/dev/kbdmux/kbdmux.c:1191) >>>> kbdmux.o:(kbdmux_init) = = =20 >=20 > ld: error: undefined symbol: evdev_alloc = = =20 >>>> referenced by kbdmux.c:492 (/usr/src/sys/dev/kbdmux/kbdmux.c:492) >>>> kbdmux.o:(kbdmux_init) >=20 > ld: error: undefined symbol: evdev_set_name=20 >>>> referenced by kbdmux.c:493 (/usr/src/sys/dev/kbdmux/kbdmux.c:493) >>>> kbdmux.o:(kbdmux_init) =20 >=20 > ld: error: undefined symbol: evdev_set_phys =20 >>>> referenced by kbdmux.c:495 (/usr/src/sys/dev/kbdmux/kbdmux.c:495) >>>> kbdmux.o:(kbdmux_init) =20 >=20 > ld: error: undefined symbol: evdev_set_id = =20 >>>> referenced by kbdmux.c:496 (/usr/src/sys/dev/kbdmux/kbdmux.c:496) >>>> kbdmux.o:(kbdmux_init) >=20 > ld: error: undefined symbol: evdev_set_methods =20 >>>> referenced by kbdmux.c:497 (/usr/src/sys/dev/kbdmux/kbdmux.c:497) >>>> kbdmux.o:(kbdmux_init) >=20 > ld: error: undefined symbol: evdev_support_event >>>> referenced by kbdmux.c:498 (/usr/src/sys/dev/kbdmux/kbdmux.c:498) >>>> kbdmux.o:(kbdmux_init) >=20 > ld: error: undefined symbol: evdev_support_event >>>> referenced by kbdmux.c:499 (/usr/src/sys/dev/kbdmux/kbdmux.c:499) >>>> kbdmux.o:(kbdmux_init) >=20 > ld: error: undefined symbol: evdev_support_event >>>> referenced by kbdmux.c:500 (/usr/src/sys/dev/kbdmux/kbdmux.c:500) >>>> kbdmux.o:(kbdmux_init) >=20 > ld: error: undefined symbol: evdev_support_event >>>> referenced by kbdmux.c:501 (/usr/src/sys/dev/kbdmux/kbdmux.c:501) >>>> kbdmux.o:(kbdmux_init) = = =20 >=20 > ld: error: undefined symbol: evdev_support_all_known_keys >>>> referenced by kbdmux.c:502 (/usr/src/sys/dev/kbdmux/kbdmux.c:502) >>>> kbdmux.o:(kbdmux_init) =20 >=20 > ld: error: undefined symbol: evdev_support_led >>>> referenced by kbdmux.c:503 (/usr/src/sys/dev/kbdmux/kbdmux.c:503) >>>> kbdmux.o:(kbdmux_init) >=20 > ld: error: undefined symbol: evdev_support_led >>>> referenced by kbdmux.c:504 (/usr/src/sys/dev/kbdmux/kbdmux.c:504) >>>> kbdmux.o:(kbdmux_init) = = =20 >=20 > ld: error: undefined symbol: evdev_support_led >>>> referenced by kbdmux.c:505 (/usr/src/sys/dev/kbdmux/kbdmux.c:505) >>>> kbdmux.o:(kbdmux_init) =20 >=20 > ld: error: undefined symbol: evdev_register =20 >>>> referenced by kbdmux.c:507 (/usr/src/sys/dev/kbdmux/kbdmux.c:507) >>>> kbdmux.o:(kbdmux_init) =20 >=20 > ld: error: undefined symbol: evdev_free = = =20 >>>> referenced by kbdmux.c:508 (/usr/src/sys/dev/kbdmux/kbdmux.c:508) >>>> kbdmux.o:(kbdmux_init) =20 >=20 > ld: error: undefined symbol: evdev_free = =20 >>>> referenced by kbdmux.c:583 (/usr/src/sys/dev/kbdmux/kbdmux.c:583) >>>> kbdmux.o:(kbdmux_term) =20 >=20 > ld: error: undefined symbol: evdev_rcpt_mask =20 >>>> referenced by kbdmux.c:750 (/usr/src/sys/dev/kbdmux/kbdmux.c:750) = = =20 >>>> kbdmux.o:(kbdmux_read_char) = = =20 >=20 > ld: error: undefined symbol: evdev_scancode2key = = =20 >>>> referenced by kbdmux.c:751 (/usr/src/sys/dev/kbdmux/kbdmux.c:751) = = =20 >>>> kbdmux.o:(kbdmux_read_char) >=20 > Thanks, >=20 > --=20 > Shawn Webb > Cofounder and Security Engineer > HardenedBSD >=20 > Tor-ified Signal: +1 443-546-8752 > GPG Key ID: 0x6A84658F52456EEE > GPG Key Fingerprint: 2ABA B6BD EF6A F486 BE89 3D9E 6A84 658F 5245 6EEE
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?586A0CCB-76A8-4101-9D60-005DD563B4AB>