Date: Fri, 13 Jun 2003 18:22:29 -0300 From: Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org> To: freebsd-doc@FreeBSD.org Subject: USB entry in src/UPDATING Message-ID: <20030613212251.94520.qmail@exxodus.fedaykin.here>
next in thread | raw e-mail | index | archive | help
--OgqxwSJOaUobr8KG Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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:5= 6:05 BRT 2003 lioux@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, --=20 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 --OgqxwSJOaUobr8KG Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (FreeBSD) iD8DBQE+6kCq99ikl0dk/7oRAvhPAKC8Tl0R4vsVeuLI+xdfEs5hGHRfRgCfa3RN pWTR2t6EyMIbO2A4sRklR3E= =mqfX -----END PGP SIGNATURE----- --OgqxwSJOaUobr8KG--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030613212251.94520.qmail>