From owner-freebsd-current@freebsd.org Fri Dec 29 19:40:07 2017 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0F568EACE1A for ; Fri, 29 Dec 2017 19:40:07 +0000 (UTC) (envelope-from freebsd@grem.de) Received: from mail.grem.de (outcast.grem.de [213.239.217.27]) by mx1.freebsd.org (Postfix) with SMTP id 5CD1B78A24 for ; Fri, 29 Dec 2017 19:40:05 +0000 (UTC) (envelope-from freebsd@grem.de) Received: (qmail 16940 invoked by uid 89); 29 Dec 2017 19:33:16 -0000 Received: from unknown (HELO ?192.168.250.192?) (mg@grem.de@93.104.64.114) by mail.grem.de with ESMTPA; 29 Dec 2017 19:33:16 -0000 Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (1.0) Subject: Re: evdev broken From: Michael Gmelin X-Mailer: iPhone Mail (14G60) In-Reply-To: <20171229191516.a4aooetcwrwqndxe@mutt-hbsd> Date: Fri, 29 Dec 2017 20:33:15 +0100 Cc: freebsd-current@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: <586A0CCB-76A8-4101-9D60-005DD563B4AB@grem.de> References: <20171229191516.a4aooetcwrwqndxe@mutt-hbsd> To: Shawn Webb X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.25 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: Fri, 29 Dec 2017 19:40:07 -0000 > On 29. Dec 2017, at 20:15, Shawn Webb 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