Skip to content
  • Guido Trentalancia's avatar
    Prevent the following compile-time error due to a missing system · 6539a6f0
    Guido Trentalancia authored
    header file (see --enable-config-udev which defaults to "auto"):
    
      CCLD     Xorg
    /usr/bin/ld: common/.libs/libcommon.a(udev.o): in function `device_added':
    udev.c:(.text+0x2bb): undefined reference to `major'
    /usr/bin/ld: udev.c:(.text+0x2fe): undefined reference to `minor'
    /usr/bin/ld: udev.c:(.text+0x666): undefined reference to `minor'
    /usr/bin/ld: udev.c:(.text+0x672): undefined reference to `major'
    /usr/bin/ld: udev.c:(.text+0x69e): undefined reference to `minor'
    /usr/bin/ld: udev.c:(.text+0x6ab): undefined reference to `major'
    /usr/bin/ld: common/.libs/libcommon.a(udev.o): in function `device_removed':
    udev.c:(.text+0xb6a): undefined reference to `minor'
    /usr/bin/ld: udev.c:(.text+0xb77): undefined reference to `major'
    /usr/bin/ld: common/.libs/libcommon.a(udev.o): in function `config_udev_odev_probe':
    udev.c:(.text+0x10ee): undefined reference to `minor'
    /usr/bin/ld: udev.c:(.text+0x10fc): undefined reference to `major'
    
    Fixes: xorg/xserver#879
    
    
    
    Signed-off-by: default avatarGuido Trentalancia <guido@trentalancia.com>
    6539a6f0