From owner-freebsd-doc@FreeBSD.ORG Fri Jun 13 14:24:03 2003 Return-Path: Delivered-To: freebsd-doc@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D950937B401 for ; Fri, 13 Jun 2003 14:24:03 -0700 (PDT) Received: from heaven.gigo.com (heaven.gigo.com [64.57.102.22]) by mx1.FreeBSD.org (Postfix) with ESMTP id E588243FCB for ; Fri, 13 Jun 2003 14:24:02 -0700 (PDT) (envelope-from lioux@brturbo.com) Received: from 200-181-091-018.bsace7003.dsl.brasiltelecom.net.br (200-181-091-018.bsace7003.dsl.brasiltelecom.net.br [200.181.91.18]) by heaven.gigo.com (Postfix) with ESMTP id 4ECFEB70C for ; Fri, 13 Jun 2003 14:24:01 -0700 (PDT) Received: (qmail 94521 invoked by uid 1001); 13 Jun 2003 21:22:51 -0000 Message-ID: <20030613212251.94520.qmail@exxodus.fedaykin.here> Date: Fri, 13 Jun 2003 18:22:29 -0300 From: Mario Sergio Fujikawa Ferreira To: freebsd-doc@FreeBSD.org Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="OgqxwSJOaUobr8KG" Content-Disposition: inline X-Operating-System: FreeBSD 4.8-STABLE X-Disclaimer: I hope you find what you are looking for... in life :) User-Agent: Mutt/1.5.4i Subject: USB entry in src/UPDATING X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Jun 2003 21:24:04 -0000 --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--