Re: usb_device_info has not been declared, some ports fail to build

From: Joe Marcus Clarke <marcus_at_marcuscom.com>
Date: Wed, 25 Feb 2009 20:05:06 -0500
On Thu, 2009-02-26 at 01:28 +0100, Kjell Tore Ullavik wrote:
> x11/kdebase4 does not build. There is a similar error with devel/sdl12.
> 
> FreeBSD gauss 8.0-CURRENT FreeBSD 8.0-CURRENT #7: Wed Feb 25 01:01:15 
> CET 2009     root_at_gauss:/usr/obj/usr/src/sys/GAUSS  i386

You should contact the respective ports maintainers.  If a port wants
usb_device_info, they will need to include legacy/dev/usb/usb.h instead
of dev/usb/usb.h.  However, those ports will not work with the usb2
stack without additional, non-trivial porting work.

I now have some experience porting userland apps to usb2.  Porters can
use the patches in sysutils/hal as a guide.  I can also help with
specific questions.

Joe

> 
>  
> [ 67%] [32mBuilding CXX object 
> apps/kinfocenter/usbview/CMakeFiles/kcm_usb.dir/kcmusb.o
> In file included from 
> /usr/ports/x11/kdebase4/work/kdebase-4.2.0/apps/kinfocenter/usbview/kcmusb.cpp:27: 
> 
> /usr/ports/x11/kdebase4/work/kdebase-4.2.0/apps/kinfocenter/usbview/usbdevices.h:80: 
> error: 'usb_device_info' has not been declared
> *** Error code 1
>  
> Stop in /usr/ports/x11/kdebase4/work/kdebase-4.2.0/build.
> *** Error code 1
>  
> Stop in /usr/ports/x11/kdebase4/work/kdebase-4.2.0/build.
> *** Error code 1
>  
> Stop in /usr/ports/x11/kdebase4/work/kdebase-4.2.0/build.
> *** Error code 1
>  
> Stop in /usr/ports/x11/kdebase4.
> 
> _______________________________________________
> freebsd-current_at_freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe_at_freebsd.org"
> 
-- 
PGP Key : http://www.marcuscom.com/pgp.asc

Received on Thu Feb 26 2009 - 00:04:44 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:42 UTC