compiling problems... help.

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

compiling problems... help.

Bruce Harding
I've been trying to compile gpsbabel on my Gentoo Linux system and I'm
not getting any where below is the error/s.

-------------
# make
cc -c  -g  -Icoldsync   -O  jeeps/gpslibusb.c -o jeeps/gpslibusb.o
jeeps/gpslibusb.c:26:17: usb.h: No such file or directory
jeeps/gpslibusb.c:51: error: syntax error before '*' token
jeeps/gpslibusb.c:51: warning: data definition has no type or storage class
jeeps/gpslibusb.c: In function `gusb_init':
jeeps/gpslibusb.c:62: warning: assignment makes pointer from integer
without a cast
jeeps/gpslibusb.c: At top level:
jeeps/gpslibusb.c:140: warning: `struct usb_device' declared inside
parameter list
jeeps/gpslibusb.c:140: warning: its scope is only this definition or
declaration, which is probably not what you want
jeeps/gpslibusb.c: In function `garmin_usb_start':
jeeps/gpslibusb.c:152: warning: assignment makes pointer from integer
without a cast
jeeps/gpslibusb.c:157: warning: assignment makes pointer from integer
without a cast
jeeps/gpslibusb.c:173: error: dereferencing pointer to incomplete type
jeeps/gpslibusb.c:175: error: dereferencing pointer to incomplete type
jeeps/gpslibusb.c:176: error: dereferencing pointer to incomplete type
jeeps/gpslibusb.c:176: error: `USB_ENDPOINT_TYPE_MASK' undeclared
(first use in this function)
jeeps/gpslibusb.c:176: error: (Each undeclared identifier is reported only once
jeeps/gpslibusb.c:176: error: for each function it appears in.)
jeeps/gpslibusb.c:178: error: `USB_ENDPOINT_TYPE_BULK' undeclared
(first use in this function)
jeeps/gpslibusb.c:179: error: dereferencing pointer to incomplete type
jeeps/gpslibusb.c:179: error: `USB_ENDPOINT_DIR_MASK' undeclared
(first use in this function)
jeeps/gpslibusb.c:180: error: dereferencing pointer to incomplete type
jeeps/gpslibusb.c:180: error: `USB_ENDPOINT_ADDRESS_MASK' undeclared
(first use in this function)
jeeps/gpslibusb.c:182: error: dereferencing pointer to incomplete type
jeeps/gpslibusb.c:184: error: `USB_ENDPOINT_TYPE_INTERRUPT' undeclared
(first use in this function)
jeeps/gpslibusb.c:185: error: dereferencing pointer to incomplete type
jeeps/gpslibusb.c:186: error: dereferencing pointer to incomplete type
jeeps/gpslibusb.c: In function `garmin_usb_scan':
jeeps/gpslibusb.c:238: error: dereferencing pointer to incomplete type
jeeps/gpslibusb.c:241: error: dereferencing pointer to incomplete type
jeeps/gpslibusb.c:241: error: dereferencing pointer to incomplete type
jeeps/gpslibusb.c:246: error: dereferencing pointer to incomplete type
jeeps/gpslibusb.c:247: warning: passing arg 1 of `garmin_usb_start'
from incompatible pointer type
make: *** [jeeps/gpslibusb.o] Error 1

--
geeko.boy


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Gpsbabel-misc mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gpsbabel-misc
Reply | Threaded
Open this post in threaded view
|

Re: compiling problems... help.

Robert Lipe-2
On 8/20/05, geeko boy <[hidden email]> wrote:
> I've been trying to compile gpsbabel on my Gentoo Linux system and I'm
> not getting any where below is the error/s.
>
> -------------
> # make
> cc -c  -g  -Icoldsync   -O  jeeps/gpslibusb.c -o jeeps/gpslibusb.o
> jeeps/gpslibusb.c:26:17: usb.h: No such file or directory

You have two choices.   If you care aboug Garmin/USB support (such as
for the "C" series, quest, etc.) Install libusb.   Or you can 'make
usbfree' to build an image that doesn't need this but won't work with
USB on those unit.


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Gpsbabel-misc mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gpsbabel-misc