Hi when i try to compile cgminer there is an error, can you help me.
Thanks in advance Luca
make[2]: Entering directory `/home/cgminer-3.12.3'
CC cgminer-cgminer.o
CC cgminer-util.o
CC cgminer-sha2.o
CC cgminer-api.o
CC cgminer-logging.o
CC cgminer-klist.o
CC cgminer-usbutils.o
CC cgminer-driver-avalon.o
CC cgminer-driver-hexminera.o
CC cgminer-driver-hexminerc.o
CCLD cgminer
compat/libusb-1.0/libusb/.libs/libusb-1.0.a(libusb_1_0_la-linux_udev.o): In function `udev_hotplug_event':
/home/cgminer-3.12.3/compat/libusb-1.0/libusb/os/linux_udev.c:165: undefined reference to `udev_monitor_receive_device'
/home/cgminer-3.12.3/compat/libusb-1.0/libusb/os/linux_udev.c:171: undefined reference to `udev_device_get_action'
compat/libusb-1.0/libusb/.libs/libusb-1.0.a(libusb_1_0_la-linux_udev.o): In function `udev_device_info':
/home/cgminer-3.12.3/compat/libusb-1.0/libusb/os/linux_udev.c:137: undefined reference to `udev_device_get_devnode'
/home/cgminer-3.12.3/compat/libusb-1.0/libusb/os/linux_udev.c:142: undefined reference to `udev_device_get_sysname'
compat/libusb-1.0/libusb/.libs/libusb-1.0.a(libusb_1_0_la-linux_udev.o): In function `udev_hotplug_event':
/home/cgminer-3.12.3/compat/libusb-1.0/libusb/os/linux_udev.c:194: undefined reference to `udev_device_unref'
compat/libusb-1.0/libusb/.libs/libusb-1.0.a(libusb_1_0_la-linux_udev.o): In function `linux_udev_start_event_monitor':
/home/cgminer-3.12.3/compat/libusb-1.0/libusb/os/linux_udev.c:64: undefined reference to `udev_monitor_new_from_netlink'
/home/cgminer-3.12.3/compat/libusb-1.0/libusb/os/linux_udev.c:70: undefined reference to `udev_monitor_filter_add_match_subsystem_devtype'
/home/cgminer-3.12.3/compat/libusb-1.0/libusb/os/linux_udev.c:76: undefined reference to `udev_monitor_enable_receiving'
/home/cgminer-3.12.3/compat/libusb-1.0/libusb/os/linux_udev.c:81: undefined reference to `udev_monitor_get_fd'
/home/cgminer-3.12.3/compat/libusb-1.0/libusb/os/linux_udev.c:58: undefined reference to `udev_new'
compat/libusb-1.0/libusb/.libs/libusb-1.0.a(libusb_1_0_la-linux_udev.o): In function `linux_udev_stop_event_monitor':
/home/cgminer-3.12.3/compat/libusb-1.0/libusb/os/linux_udev.c:101: undefined reference to `udev_monitor_unref'
/home/cgminer-3.12.3/compat/libusb-1.0/libusb/os/linux_udev.c:106: undefined reference to `udev_unref'
compat/libusb-1.0/libusb/.libs/libusb-1.0.a(libusb_1_0_la-linux_udev.o): In function `linux_udev_scan_devices':
/home/cgminer-3.12.3/compat/libusb-1.0/libusb/os/linux_udev.c:212: undefined reference to `udev_enumerate_new'
/home/cgminer-3.12.3/compat/libusb-1.0/libusb/os/linux_udev.c:218: undefined reference to `udev_enumerate_add_match_subsystem'
/home/cgminer-3.12.3/compat/libusb-1.0/libusb/os/linux_udev.c:219: undefined reference to `udev_enumerate_scan_devices'
/home/cgminer-3.12.3/compat/libusb-1.0/libusb/os/linux_udev.c:220: undefined reference to `udev_enumerate_get_list_entry'
/home/cgminer-3.12.3/compat/libusb-1.0/libusb/os/linux_udev.c:230: undefined reference to `udev_device_unref'
/home/cgminer-3.12.3/compat/libusb-1.0/libusb/os/linux_udev.c:222: undefined reference to `udev_list_entry_get_next'
/home/cgminer-3.12.3/compat/libusb-1.0/libusb/os/linux_udev.c:223: undefined reference to `udev_list_entry_get_name'
/home/cgminer-3.12.3/compat/libusb-1.0/libusb/os/linux_udev.c:226: undefined reference to `udev_device_new_from_syspath'
compat/libusb-1.0/libusb/.libs/libusb-1.0.a(libusb_1_0_la-linux_udev.o): In function `udev_device_info':
/home/cgminer-3.12.3/compat/libusb-1.0/libusb/os/linux_udev.c:137: undefined reference to `udev_device_get_devnode'
/home/cgminer-3.12.3/compat/libusb-1.0/libusb/os/linux_udev.c:142: undefined reference to `udev_device_get_sysname'
compat/libusb-1.0/libusb/.libs/libusb-1.0.a(libusb_1_0_la-linux_udev.o): In function `linux_udev_scan_devices':
/home/cgminer-3.12.3/compat/libusb-1.0/libusb/os/linux_udev.c:235: undefined reference to `udev_device_unref'
/home/cgminer-3.12.3/compat/libusb-1.0/libusb/os/linux_udev.c:238: undefined reference to `udev_enumerate_unref'
/home/cgminer-3.12.3/compat/libusb-1.0/libusb/os/linux_udev.c:206: undefined reference to `udev_new'
collect2: error: ld returned 1 exit status
make[2]: *** [cgminer] Error 1
make[2]: Leaving directory `/home/cgminer-3.12.3'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/cgminer-3.12.3'
make: *** [all] Error 2
tc@box:/home/cgminer-3.12.3$