Opened 15 years ago
Closed 15 years ago
#5 closed defect (fixed)
build fail on freebsd 8
Reported by: | Alex Samorukov | Owned by: | Alex Samorukov |
---|---|---|---|
Priority: | major | Milestone: | Experimental Release 5.39 |
Component: | all | Version: | |
Keywords: | FreeBSD | Cc: |
Description
There are major changes on freebsd 8.0 USB stack, need to investigate the reason.
os_freebsd.cpp: In function 'int os_freebsd::do_scsi_cmnd_io(int, scsi_cmnd_io*, int)':M
os_freebsd.cpp:1424: warning: unused variable 'fdchan'M
os_freebsd.cpp: In function 'int os_freebsd::usbdevinfo(int, int, int, int, short unsigned int&, short unsigned int&, short unsigned int&)':M
os_freebsd.cpp:2028: error: aggregate 'os_freebsd::usb_device_info di' has incomplete type and cannot be definedM
os_freebsd.cpp:2035: error: 'USB_DEVICEINFO' was not declared in this scopeM
os_freebsd.cpp:2044: error: 'USB_MAX_DEVNAMES' was not declared in this scopeM
* Error code 1M
Problem is that FreeBSD 8.0 using new USB stack and udbdevinfo should use libusb2 stack.