SDL_sysjoystick.c:44: usbhid.h: No such file or directory

hello!

don’t know really what to supply more than the error message, hopfully
someone will recognize this and solve it anyway?

#make
-I…/…/…/src/endian -I…/…/…/src/file -c SDL_sysjoystick.c
-fPIC
-DPIC -o .libs/SDL_sysjoystick.lo
SDL_sysjoystick.c:44: usbhid.h: No such file or directory
*** Error code 1

Stop in /tmp/SDL-1.2.4/src/joystick/bsd.
*** Error code 1

Stop in /tmp/SDL-1.2.4/src/joystick.
*** Error code 1

Stop in /tmp/SDL-1.2.4/src.
*** Error code 1

i havn’t changed anything or supplied configure with some parameters.

br
.f

hello!

don’t know really what to supply more than the error message, hopfully
someone will recognize this and solve it anyway?

#make
-I…/…/…/src/endian -I…/…/…/src/file -c SDL_sysjoystick.c
-fPIC
-DPIC -o .libs/SDL_sysjoystick.lo
SDL_sysjoystick.c:44: usbhid.h: No such file or directory
*** Error code 1

Stop in /tmp/SDL-1.2.4/src/joystick/bsd.
*** Error code 1

Stop in /tmp/SDL-1.2.4/src/joystick.
*** Error code 1

Stop in /tmp/SDL-1.2.4/src.
*** Error code 1

i havn’t changed anything or supplied configure with some parameters.

br
.f

i’m guessing though that it has something to do with usb. maybe this
goes back to some kernel configurations? (btw, i’m using freebsd 4.5)

.gOn Fri, 2002-05-03 at 00:44, Fredrick Nilsson wrote:


SDL mailing list
SDL at libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl

i’ll change my question a bit.

is it possbile to install SDL without the joystick drivers (FreeBSD)?

.f

is it possbile to install SDL without the joystick drivers (FreeBSD)?

./configure --disable-joystick

–ryan.

is it possbile to install SDL without the joystick drivers (FreeBSD)?

./configure --disable-joystick

Your problem is fixed in the CVS code:
http://www.libsdl.org/cvs.html

See ya,
-Sam Lantinga, Software Engineer, Blizzard Entertainment

is it possbile to install SDL without the joystick drivers (FreeBSD)?

./configure --disable-joystick

–ryan.

thanx!
.fOn Fri, 2002-05-03 at 04:11, Ryan C. Gordon wrote:


SDL mailing list
SDL at libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl

02/05/02 23.52.22, Fredrick Nilsson <fredrick.nilsson at telia.com> wrote:>On Fri, 2002-05-03 at 00:44, Fredrick Nilsson wrote:

hello!

don’t know really what to supply more than the error message, hopfully
someone will recognize this and solve it anyway?

#make
-I…/…/…/src/endian -I…/…/…/src/file -c SDL_sysjoystick.c
-fPIC
-DPIC -o .libs/SDL_sysjoystick.lo
SDL_sysjoystick.c:44: usbhid.h: No such file or directory
*** Error code 1

Stop in /tmp/SDL-1.2.4/src/joystick/bsd.
*** Error code 1

Stop in /tmp/SDL-1.2.4/src/joystick.
*** Error code 1

Stop in /tmp/SDL-1.2.4/src.
*** Error code 1

i havn’t changed anything or supplied configure with some parameters.

br
.f

i’m guessing though that it has something to do with usb. maybe this
goes back to some kernel configurations? (btw, i’m using freebsd 4.5)

An header missing can always mean 2 things:
1)wrong path. check on your PC if it exists somwhere
2)if it doesn’t, you need some -devel version of some libs… don’t know wich ones…

thanx! this installed SDL perfectly! but i have another problem, and
this is probably not the right forum, but maybe someone have encountered
this anyway:

i’m trying to install mplayer 0.60 on my freebsd from the ports
collection, but i get ‘Error code 1’.

rm -f .libs/SDL_sysjoystick.lo cc -DPACKAGE=\"SDL\" -DVERSION=\"1.2.4\" -DHAVE_ALLOCA=1 -I. -I. -O -pipe -D_THREAD_SAFE -Wall -DENABLE_DUMMYVIDEO -DDISKAUD_SUPPORT -DUSE_ASMBLIT -I./hermes -I../../../src/hermes -DOSS_SUPPORT -DESD_SUPPORT -I/usr/local/include -I/usr/X11R6/include -DENABLE_X11 -Iinclude -Isrc/video -DXFREE86_VM -DXFREE86_VMGAMMA -DXFREE86_DGAMOUSE -DDEFAULT_DGAMOUSE -DXFREE86_XV -DHAVE_XINERAMA -Isrc/video -DENABLE_DGA -DENABLE_SVGALIB -DENABLE_AALIB -DHAVE_OPENGL -D_REENTRANT -D_THREAD_SAFE -DSDL_USE_PTHREADS -DHAVE_SEMUN -I../../../include -I../../../include/SDL -I../../../src -I../../../src/freebsd -I../../../src/main -I../../../src/audio -I../../../src/video -I../../../src/video/XFree86/extensions -I../../../src/events -I../../../src/joystick -I../../../src/cdrom -I../../../src/thread -I../../../src/timer -I../../../src/endian -I../../../src/file -c SDL_sysjoystick.c -fPIC -DPIC -o .libs/SDL_sysjoystick.lo SDL_sysjoystick.c: In function `SDL_SYS_JoystickUpdate': SDL_sysjoystick.c:279: structure has no member named `ucr_data' SDL_sysjoystick.c:314: structure has no member named `ucr_data' SDL_sysjoystick.c:333: structure has no member named `ucr_data' SDL_sysjoystick.c:275: warning: `naxe' might be used uninitialized in this function SDL_sysjoystick.c: In function `report_alloc': SDL_sysjoystick.c:385: incompatible type for argument 3 of `hid_report_size' SDL_sysjoystick.c:393: structure has no member named `ucr_data' *** Error code 1

Stop in /usr/ports/devel/sdl12/work/SDL-1.2.4/src/joystick/bsd.
*** Error code 1

Stop in /usr/ports/devel/sdl12/work/SDL-1.2.4/src/joystick.
*** Error code 1

Stop in /usr/ports/devel/sdl12/work/SDL-1.2.4/src.
*** Error code 1

Stop in /usr/ports/devel/sdl12/work/SDL-1.2.4.
*** Error code 1

Stop in /usr/ports/devel/sdl12.
*** Error code 1

</make snip>

hope i didn’t bother to many people by taking the chance by asking this
question in this forum.

br
.fOn Fri, 2002-05-03 at 05:00, Sam Lantinga wrote:

is it possbile to install SDL without the joystick drivers (FreeBSD)?

./configure --disable-joystick

Your problem is fixed in the CVS code:
http://www.libsdl.org/cvs.html