Re: evdev broken

From: Michael Gmelin <freebsd_at_grem.de>
Date: Fri, 29 Dec 2017 20:33:15 +0100
> On 29. Dec 2017, at 20:15, Shawn Webb <shawn.webb_at_hardenedbsd.org> wrote:
> 
> Hey All,
> 
> It looks like evdev support in the kernel is broken.
> sys/dev/kbdmux/kbdmux.c contains various unresolved symbols to
> different evdev-related symbols.
> 
> I have the following options in my kernel config:
> 
> options         EVDEV_SUPPORT
> options         EVDEV_DEBUG
> options         UINPUT_DEBUG

Did you add "device evdev"?

-m


> 
> Here's the build failure log:
> 
> linking kernel.full                                                                                                                                                                        
> ld: error: undefined symbol: evdev_rcpt_mask                                                                                                                                               
>>>> referenced by kbdmux.c:1190 (/usr/src/sys/dev/kbdmux/kbdmux.c:1190)                                                                                                                    
>>>>              kbdmux.o:(kbdmux_init)                                                                                                                                                   
> 
> ld: error: undefined symbol: evdev_push_leds                                                                                                                                               
>>>> referenced by kbdmux.c:1191 (/usr/src/sys/dev/kbdmux/kbdmux.c:1191)
>>>>              kbdmux.o:(kbdmux_init)                                                                                                                                                   
> 
> ld: error: undefined symbol: evdev_alloc                                                                                                                                                   
>>>> referenced by kbdmux.c:492 (/usr/src/sys/dev/kbdmux/kbdmux.c:492)
>>>>              kbdmux.o:(kbdmux_init)
> 
> ld: error: undefined symbol: evdev_set_name 
>>>> referenced by kbdmux.c:493 (/usr/src/sys/dev/kbdmux/kbdmux.c:493)
>>>>              kbdmux.o:(kbdmux_init)     
> 
> ld: error: undefined symbol: evdev_set_phys    
>>>> referenced by kbdmux.c:495 (/usr/src/sys/dev/kbdmux/kbdmux.c:495)
>>>>              kbdmux.o:(kbdmux_init)     
> 
> ld: error: undefined symbol: evdev_set_id                                              
>>>> referenced by kbdmux.c:496 (/usr/src/sys/dev/kbdmux/kbdmux.c:496)
>>>>              kbdmux.o:(kbdmux_init)
> 
> ld: error: undefined symbol: evdev_set_methods               
>>>> referenced by kbdmux.c:497 (/usr/src/sys/dev/kbdmux/kbdmux.c:497)
>>>>              kbdmux.o:(kbdmux_init)
> 
> ld: error: undefined symbol: evdev_support_event
>>>> referenced by kbdmux.c:498 (/usr/src/sys/dev/kbdmux/kbdmux.c:498)
>>>>              kbdmux.o:(kbdmux_init)
> 
> ld: error: undefined symbol: evdev_support_event
>>>> referenced by kbdmux.c:499 (/usr/src/sys/dev/kbdmux/kbdmux.c:499)
>>>>              kbdmux.o:(kbdmux_init)
> 
> ld: error: undefined symbol: evdev_support_event
>>>> referenced by kbdmux.c:500 (/usr/src/sys/dev/kbdmux/kbdmux.c:500)
>>>>              kbdmux.o:(kbdmux_init)
> 
> ld: error: undefined symbol: evdev_support_event
>>>> referenced by kbdmux.c:501 (/usr/src/sys/dev/kbdmux/kbdmux.c:501)
>>>>              kbdmux.o:(kbdmux_init)                                                                                                                                                  
> 
> 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)                             
> 
> ld: error: undefined symbol: evdev_support_led
>>>> referenced by kbdmux.c:503 (/usr/src/sys/dev/kbdmux/kbdmux.c:503)
>>>>              kbdmux.o:(kbdmux_init)
> 
> ld: error: undefined symbol: evdev_support_led
>>>> referenced by kbdmux.c:504 (/usr/src/sys/dev/kbdmux/kbdmux.c:504)
>>>>              kbdmux.o:(kbdmux_init)                                                                                                                                                   
> 
> ld: error: undefined symbol: evdev_support_led
>>>> referenced by kbdmux.c:505 (/usr/src/sys/dev/kbdmux/kbdmux.c:505)
>>>>              kbdmux.o:(kbdmux_init)              
> 
> ld: error: undefined symbol: evdev_register                   
>>>> referenced by kbdmux.c:507 (/usr/src/sys/dev/kbdmux/kbdmux.c:507)
>>>>              kbdmux.o:(kbdmux_init)                      
> 
> ld: error: undefined symbol: evdev_free                                                                                                                                                    
>>>> referenced by kbdmux.c:508 (/usr/src/sys/dev/kbdmux/kbdmux.c:508)
>>>>              kbdmux.o:(kbdmux_init)                 
> 
> ld: error: undefined symbol: evdev_free                                                          
>>>> referenced by kbdmux.c:583 (/usr/src/sys/dev/kbdmux/kbdmux.c:583)
>>>>              kbdmux.o:(kbdmux_term)                      
> 
> ld: error: undefined symbol: evdev_rcpt_mask                  
>>>> referenced by kbdmux.c:750 (/usr/src/sys/dev/kbdmux/kbdmux.c:750)                                                                                                                      
>>>>              kbdmux.o:(kbdmux_read_char)                                                                                                                                              
> 
> ld: error: undefined symbol: evdev_scancode2key                                                                                                                                            
>>>> referenced by kbdmux.c:751 (/usr/src/sys/dev/kbdmux/kbdmux.c:751)                                                                                                                      
>>>>              kbdmux.o:(kbdmux_read_char)
> 
> Thanks,
> 
> -- 
> Shawn Webb
> Cofounder and Security Engineer
> HardenedBSD
> 
> Tor-ified Signal:    +1 443-546-8752
> GPG Key ID:          0x6A84658F52456EEE
> GPG Key Fingerprint: 2ABA B6BD EF6A F486 BE89  3D9E 6A84 658F 5245 6EEE
Received on Fri Dec 29 2017 - 18:40:07 UTC

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