Opened 10 years ago

Closed 10 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 defined
M
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 scope
M
* Error code 1M

Change History (2)

comment:1 Changed 10 years ago by Alex Samorukov

Problem is that FreeBSD 8.0 using new USB stack and udbdevinfo should use libusb2 stack.

comment:2 Changed 10 years ago by Alex Samorukov

Resolution: fixed
Status: newclosed

fix in svn

Note: See TracTickets for help on using tickets.