Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 10 Feb 2002 13:09:00 -0500 (EST)
From:      Ken Stailey <kstailey@surfbest.net>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/34797: xmame links with wrong libusb
Message-ID:  <200202101809.g1AI90P58190@hermes.surfbest.net>

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

>Number:         34797
>Category:       ports
>Synopsis:       xmame links with wrong libusb
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Feb 10 10:20:00 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     Ken Stailey
>Release:        FreeBSD 4.5-STABLE i386
>Organization:
self
>Environment:
System: FreeBSD hermes.surfbest.net 4.5-STABLE FreeBSD 4.5-STABLE #7: Mon Feb 4 22:33:35 EST 2002 kstailey@hermes.surfbest.net:/usr/src/sys/compile/HERMES i386


	
>Description:
There's /usr/lib/libusb.* with the base OS and /usr/local/lib/libusb.*
with the libusb port.  When the port is installed xmame links with
the wrong libusb

>How-To-Repeat:
# pkg_info | grep libusb
libusb-0.1.4        Library giving userland programs access to USB devices
# cd /usr/ports/emulators/xmame
# make
[...blah...]
xmame.obj/unix.SDL/osdepend.a(joy_usb.o): In function `joy_initialize_hid':
joy_usb.o(.text+0xbe): undefined reference to `hid_get_report_desc'
joy_usb.o(.text+0x113): undefined reference to `hid_report_size'
joy_usb.o(.text+0x148): undefined reference to `hid_dispose_report_desc'
joy_usb.o(.text+0x19a): undefined reference to `hid_start_parse'
joy_usb.o(.text+0x328): undefined reference to `hid_get_item'
joy_usb.o(.text+0x33f): undefined reference to `hid_end_parse'
xmame.obj/unix.SDL/osdepend.a(joy_usb.o): In function `joy_read':
joy_usb.o(.text+0x521): undefined reference to `hid_get_data'
gmake: *** [xmame.SDL] Error 1
*** Error code 2

Stop in /usr/ports/emulators/xmame.
*** Error code 1

Stop in /usr/ports/emulators/xmame.
*** Error code 1

Stop in /usr/ports/emulators/xmame.

>Fix:

	


>Release-Note:
>Audit-Trail:
>Unformatted:

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?200202101809.g1AI90P58190>