Hi,
I'm trying to compile a MUSCLE driver on Mac OS X Tiger, but it
fails. It's this one: http://secure.netroedge.com/~phil/egate/ for
Schlumberger eGate. I have installed Apple's pcsc's SDK for xcode.
Now I'm not the worlds greatest developer, actually it's been more
then 5 years since I have written anything other then a perl/
applescript. So I could use some help :) Does anyone have any
suggestions?
make -f Makefile-OSX
cc -fPIC -g -Wall -c -o egate.o egate.c
egate.c:1:17: error: usb.h: No such file or directory
egate.c:42: error: parse error before '*' token
egate.c: In function 'do_usb':
egate.c:47: warning: implicit declaration of function 'usb_control_msg'
egate.c:47: error: 'dev' undeclared (first use in this function)
egate.c:47: error: (Each undeclared identifier is reported only once
egate.c:47: error: for each function it appears in.)
egate.c:47: error: 'requesttype' undeclared (first use in this function)
egate.c:47: error: 'request' undeclared (first use in this function)
egate.c:47: error: 'value' undeclared (first use in this function)
egate.c:48: error: 'bytes' undeclared (first use in this function)
egate.c:48: error: 'size' undeclared (first use in this function)
egate.c:48: error: 'timeout' undeclared (first use in this function)
egate.c:51: warning: implicit declaration of function 'usb_strerror'
egate.c: In function 'egate_probe':
egate.c:61: error: 'usb_dev_handle' undeclared (first use in this
function)
egate.c:61: error: 'myhandle' undeclared (first use in this function)
egate.c:68: warning: implicit declaration of function 'usb_init'
egate.c:69: warning: implicit declaration of function 'usb_find_busses'
egate.c:70: warning: implicit declaration of function 'usb_find_devices'
egate.c:71: error: 'usb_busses' undeclared (first use in this function)
egate.c:71: error: dereferencing pointer to incomplete type
egate.c:72: error: dereferencing pointer to incomplete type
egate.c:72: error: dereferencing pointer to incomplete type
egate.c:73: error: dereferencing pointer to incomplete type
egate.c:74: error: dereferencing pointer to incomplete type
egate.c:82: warning: implicit declaration of function 'usb_open'
egate.c:86: error: 'USB_ENDPOINT_IN' undeclared (first use in this
function)
egate.c:86: error: 'USB_TYPE_VENDOR' undeclared (first use in this
function)
egate.c:89: warning: implicit declaration of function 'usb_close'
egate.c:90: warning: implicit declaration of function 'sleep'
egate.c: In function 'power_up_egate':
egate.c:125: error: 'usb_busses' undeclared (first use in this function)
egate.c:125: error: dereferencing pointer to incomplete type
egate.c:126: error: dereferencing pointer to incomplete type
egate.c:126: error: dereferencing pointer to incomplete type
egate.c:127: error: dereferencing pointer to incomplete type
egate.c:128: error: dereferencing pointer to incomplete type
egate.c:137: warning: assignment makes pointer from integer without a
cast
egate.c:146: error: 'USB_ENDPOINT_OUT' undeclared (first use in this
function)
egate.c:146: error: 'USB_TYPE_VENDOR' undeclared (first use in this
function)
egate.c:154: error: 'USB_ENDPOINT_IN' undeclared (first use in this
function)
egate.c:154: warning: implicit declaration of function 'usleep'
egate.c: In function 'egate_condreset':
egate.c:180: error: 'USB_ENDPOINT_IN' undeclared (first use in this
function)
egate.c:180: error: 'USB_TYPE_VENDOR' undeclared (first use in this
function)
egate.c:183: error: 'USB_ENDPOINT_OUT' undeclared (first use in this
function)
egate.c: In function 'usb_transfer':
egate.c:211: error: 'USB_ENDPOINT_IN' undeclared (first use in this
function)
egate.c:211: error: 'USB_TYPE_VENDOR' undeclared (first use in this
function)
egate.c:257: error: 'USB_ENDPOINT_OUT' undeclared (first use in this
function)
make: *** [egate.o] Error 1
_______________________________________________
Muscle mailing list
[email protected]
http://lists.drizzle.com/mailman/listinfo/muscle