USB entry in src/UPDATING

Mario Sergio Fujikawa Ferreira lioux at FreeBSD.org
Fri Jun 13 21:24:04 UTC 2003


Hi,

	I am running a FreeBSD -STABLE ever since December 2001.
It has been updated following src/UPDATING tips every step of the
way.

FreeBSD exxodus.here.here 4.8-STABLE FreeBSD 4.8-STABLE #0: Mon Jun  9 04:56:05 BRT 2003     lioux at exxodus.here.here:/usr/obj/usr/src/sys/LIOUX  i386

	Recently, I was having problems building devel/sdl12 port.
I tracked down the problem to:

$ ls -l /usr/lib|grep -i usb
-r--r--r--   1 root  wheel     9256 Mar 21  2002 libusb.a
lrwxr-xr-x   1 root  wheel       11 Mar 21  2002 libusb.so -> libusb.so.0
-r--r--r--   1 root  wheel     8976 Mar 21  2002 libusb.so.0
-r--r--r--   1 root  wheel     9980 Mar 21  2002 libusb_p.a
-r--r--r--   1 root  wheel    10284 Jun  9 12:48 libusbhid.a
lrwxr-xr-x   1 root  wheel       14 Jun  9 12:48 libusbhid.so -> libusbhid.so.0
-r--r--r--   1 root  wheel     9908 Jun  9 12:48 libusbhid.so.0
-r--r--r--   1 root  wheel    11072 Jun  9 12:48 libusbhid_p.a

$ ls -l /usr/include|grep -i usb
-r--r--r--   1 root  wheel   3457 Dec 17  2001 libusb.h
-r--r--r--   1 root  wheel   3472 Apr  6  2002 libusbhid.h

	As you can see, libusb was last updated by March 2002.
And, it should be removed since it was deprecated in favor of
libusbhid. It would not be a problem if sdl12 wasn't using the
presence of header file libusb.h as means of identifying the FreeBSD
system version.

	Anyway, I propose the following addition to src/UPDATING.
At least, in -STABLE.

To make sure you do not have stale libusb library and headers

# rm -Rf /usr/lib/libusb.* /usr/lib/libusb_p.a
# rm -Rf /usr/include/libusb.h

	Regards,

-- 
Mario S F Ferreira - DF - Brazil - "I guess this is a signature."
FreeBSD Committer | FreeBSD-KDE Core Team | CS Developer
feature, n: a documented bug | bug, n: an undocumented feature
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-doc/attachments/20030613/a5aa4761/attachment.sig>


More information about the freebsd-doc mailing list