I got sysutils/smartmontools 5.39 to build successfully under 8.0-R, but I get the following error when I try building it with 7.2-R:
Has anyone else successfully built it under 7.2?
Code:
os_freebsd.cpp:60:27: error: libusb20_desc.h: No such file or directory
os_freebsd.cpp:61:22: error: libusb20.h: No such file or directory
os_freebsd.cpp: In function 'int os_freebsd::usbdevlist(int, short unsigned int&, short unsigned int&, short unsigned int&)':
os_freebsd.cpp:1675: error: 'libusb20_be_alloc_default' was not declared in this scope
os_freebsd.cpp:1677: error: 'libusb20_be_device_foreach' was not declared in this scope
os_freebsd.cpp:1680: error: 'libusb20_dev_open' was not declared in this scope
os_freebsd.cpp:1685: error: 'libusb20_dev_get_device_desc' was not declared in this scope
os_freebsd.cpp:1689: error: 'libusb20_dev_get_iface_desc' was not declared in this scope
os_freebsd.cpp:1695: error: invalid use of incomplete type 'struct os_freebsd::LIBUSB20_DEVICE_DESC_DECODED'
os_freebsd.cpp:1673: error: forward declaration of 'struct os_freebsd::LIBUSB20_DEVICE_DESC_DECODED'
os_freebsd.cpp:1696: error: invalid use of incomplete type 'struct os_freebsd::LIBUSB20_DEVICE_DESC_DECODED'
os_freebsd.cpp:1673: error: forward declaration of 'struct os_freebsd::LIBUSB20_DEVICE_DESC_DECODED'
os_freebsd.cpp:1697: error: invalid use of incomplete type 'struct os_freebsd::LIBUSB20_DEVICE_DESC_DECODED'
os_freebsd.cpp:1673: error: forward declaration of 'struct os_freebsd::LIBUSB20_DEVICE_DESC_DECODED'
os_freebsd.cpp:1698: error: 'libusb20_dev_close' was not declared in this scope
os_freebsd.cpp:1699: error: 'libusb20_be_free' was not declared in this scope
os_freebsd.cpp:1704: error: 'libusb20_dev_close' was not declared in this scope
os_freebsd.cpp:1711: error: 'libusb20_be_free' was not declared in this scope
*** Error code 1
Stop in /usr/ports/sysutils/smartmontools/work/smartmontools-5.39.
*** Error code 1
Stop in /usr/ports/sysutils/smartmontools/work/smartmontools-5.39.
*** Error code 1
Stop in /usr/ports/sysutils/smartmontools/work/smartmontools-5.39.
*** Error code 1
Stop in /usr/ports/sysutils/smartmontools.
===>>> make failed for sysutils/smartmontools
===>>> Aborting update