Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Mar 2002 09:36:33 +0100
From:      Stijn Hoop <stijn@win.tue.nl>
To:        Seagull <seagull@aracnet.com>
Cc:        Josef Karthauser <joe@FreeBSD.org>, John Reynolds <johnjen@reynoldsnet.org>, FreeBSD Ports <freebsd-ports@FreeBSD.org>, USB BSD list <usb-bsd@eleetbsd.org>
Subject:   Re: xmame doesn't build: sdl problem
Message-ID:  <20020327093633.A88592@pcwin002.win.tue.nl>
In-Reply-To: <200203261626.g2QGQva10002@shell1.aracnet.com>; from seagull@aracnet.com on Tue, Mar 26, 2002 at 08:26:57AM -0800
References:  <20020326170722.K69118@pcwin002.win.tue.nl> <200203261626.g2QGQva10002@shell1.aracnet.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--M9NhX3UHpAaciwkO
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Hi all,

ok, I'm convinced that this is a problem of the system library. I'm CC'ing
Josef Karthauser in case he's not on the usb-bsd list - Josef, you were busy
merging NetBSD stuff, right? If so, could you take a look at the discussion
summarized below, and convince Lennart to rename the BSD libusb?

To summarize: *BSD has a library for USB human interface device access, whi=
ch
is called 'libusb' in error. The devel/libusb port has a library for access=
ing
all sorts of USB devices, hence it names itself 'libusb'.  This causes a
conflict with ports that want to link with one or the other; they can't
distinguish between the two (other than the fact that one is in /usr/lib and
the other usually in /usr/local/lib).

Lennart Augustsson, the NetBSD libusb maintainer has already agreed to rena=
me
the BSD library to libhid or something similar. He did so in the following
message:

http://lists.inteltec.com/wws/arc/usb-bsd/2001-02/msg00007.html

Hence my request.

For more information on the subject I quote 2 emails from the previous
discussion on the problem of xmame linking against the wrong libusb:

On Tue, Mar 26, 2002 at 08:26:57AM -0800, Seagull wrote:
> Sometime before Tue, Mar 26, Stijn Hoop wrote:
> > I still don't think it's wise to 'override' a system library; either the
> > system library should be fixed to provide the functions that are needed=
 by
> > users of the devel/libusb port or the port should be changed to name its
> > =3D2Eso something like libusblinux.so.
>=20
> Or the system library should be named more appropriately.  The libusb that
> is part of the BSD USB stack is soley a Human Interface Device library,
> not a generalized USB device library.  It was given a more global name
> than was appropriate (all HIDs are USB devices, but not all USB devices
> are HIDs).  Hence, it should be named libhid (or something similar).

On Tue, Mar 26, 2002 at 08:48:01PM -0700, John Reynolds wrote:
> Sometime before Tue, Mar 26, Stijn Hoop wrote:
> > Do you have a pointer to this discussion? I'll be able to look at it
> > tomorrow.
>
> Unfortunately I don't have anything concretely bookmarked. However,
> I know it took place on this list (usb-bsd@eleetbsd.org) and also on
> the FreeBSD -ports list. The discussion began when I submitted a PR
> to get libusb imported as a port to begin with in January of 2001.

I found a pointer in the mailing list archives here:

http://www.freebsd.org/cgi/getmsg.cgi?fetch=3D83397+87429+/usr/local/www/db=
/text/2001/freebsd-ports/20010218.freebsd-ports

It basically explains the same thing.

If anything in this summary is wrong, I'll surely be corrected by the
appropriate parties.

In the meantime, I'll update the xmame port to statically link against the
correct library. Thanks for all your patience.

--Stijn

--=20
Tact, n.:
	The unsaid part of what you're thinking.

--M9NhX3UHpAaciwkO
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (FreeBSD)
Comment: For info see http://www.gnupg.org

iD8DBQE8oYSRY3r/tLQmfWcRApt2AKCLnaRlnfpdRyGlca1DUuSNzRlhOQCggVcs
3tnnC2RHatKXHPrsYA44Kkk=
=lhWj
-----END PGP SIGNATURE-----

--M9NhX3UHpAaciwkO--

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020327093633.A88592>