pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Problem building apcupsd



Getting this on NetBSD 8 & 9 amd64:

  LD    src/apcupsd
/comp/obj/pkgsrc/sysutils/apcupsd/work/apcupsd/src/drivers/usb/libusbdrv.a(generic-usb.o): In function `GenericUsbUpsDriver::check_state()':
generic-usb.c:(.text+0x126f): undefined reference to `usb_interrupt_read'
/comp/obj/pkgsrc/sysutils/apcupsd/work/apcupsd/src/libusbhid/libusbhid.a(HidUps.o): In function `HidUps::Close()':
HidUps.cpp:(.text+0x35): undefined reference to `usb_release_interface'
HidUps.cpp:(.text+0x3d): undefined reference to `usb_reset'
HidUps.cpp:(.text+0x45): undefined reference to `usb_close'

And lots of other usb_xxx functions undefined. libusb-compat-0.1.7 is installed and manually extracting the package seems to show that these functions are exported from the library.

Last build I did a week ago of this config worked.

Mike


Home | Main Index | Thread Index | Old Index