Hi,
Im trying to install opened from git on my iMac (Intel) Lion (10.7.2) and it seems to not working…
My configuration: ./configure --enable-maintainer-mode --enable-jlink
Try to “make” become following Errors:
usb_common.h:28: warning: ‘struct usb_dev_handle’ declared inside parameter list
usb_common.h:28: warning: its scope is only this definition or declaration, which is probably not what you want
usb_common.c:27: warning: ‘struct usb_device’ declared inside parameter list
usb_common.c: In function ‘jtag_usb_match’:
usb_common.c:31: error: dereferencing pointer to incomplete type
usb_common.c:32: error: dereferencing pointer to incomplete type
usb_common.c: At top level:
usb_common.c:41: warning: ‘struct usb_dev_handle’ declared inside parameter list
usb_common.c:42: error: conflicting types for ‘jtag_usb_open’
usb_common.h:28: error: previous declaration of ‘jtag_usb_open’ was here
usb_common.c: In function ‘jtag_usb_open’:
usb_common.c:43: warning: implicit declaration of function ‘usb_find_busses’
usb_common.c:44: warning: implicit declaration of function ‘usb_find_devices’
usb_common.c:46: warning: implicit declaration of function ‘usb_get_busses’
usb_common.c:46: warning: initialization makes pointer from integer without a cast
usb_common.c:47: error: dereferencing pointer to incomplete type
usb_common.c:49: error: dereferencing pointer to incomplete type
usb_common.c:49: error: ‘struct usb_device’ declared in ‘for’ loop initial declaration
usb_common.c:49: error: dereferencing pointer to incomplete type
usb_common.c:51: warning: passing argument 1 of ‘jtag_usb_match’ from incompatible pointer type
usb_common.c:54: warning: implicit declaration of function ‘usb_open’
usb_common.c:54: warning: assignment makes pointer from integer without a cast
make[6]: *** [usb_common.lo] Error 1
make[5]: *** [all-recursive] Error 1
make[4]: *** [all] Error 2
make[3]: *** [all-recursive] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
Can someone help, please?
THX a lot!
Sebastian