Bober_X
04-11-2005, 09:44 PM
Hi trying to install my stupid usb modem the drivers ai get for it send me this message, after the "make"
[root@localhost cxacru-630-new]# make
cd init && make clean
make[1]: Entering directory `/home/bober/cxacru-630-new/init'
rm -f cxload cxioctl cxloaddbg cxloaddbgt
make[1]: Leaving directory `/home/bober/cxacru-630-new/init'
cd bridged && make clean
make[1]: Entering directory `/home/bober/cxacru-630-new/bridged'
rm -f br2684ctl
make[1]: Leaving directory `/home/bober/cxacru-630-new/bridged'
cd init && make && make install
make[1]: Entering directory `/home/bober/cxacru-630-new/init'
gcc -O2 -Wstrict-prototypes -fomit-frame-pointer -pipe -march=i686 -Wall -DLINUX -I
../include -lusb -lpthread cxload.c -o
cxload
cxload.c:132:17: usb.h: No such file or directory
In file included from
cxload.c:133:
../include/usbi.h:49: error: syntax error before '*' token
../include/usbi.h:49: warning: function declaration isn't a prototype
../include/usbi.h:54: error: syntax error before '*' token
../include/usbi.h:54: warning: function declaration isn't a prototype
../include/usbi.h:55: error: syntax error before '*' token
../include/usbi.h:55: warning: function declaration isn't a prototype
cxload.c:236: error: syntax error before '*' token
cxload.c:237: warning: function declaration isn't a prototype
cxload.c: In function `transfer_ctrl_msg':
cxload.c:247: warning: implicit declaration of function `usb_control_msg'
cxload.c:247: error: `adsl_handle' undeclared (first use in this function)
cxload.c:247: error: (Each undeclared identifier is reported only once
cxload.c:247: error: for each function it appears in.)
cxload.c:247: error: `requesttype' undeclared (first use in this function)
cxload.c:247: error: `request' undeclared (first use in this function)
cxload.c:247: error: `value' undeclared (first use in this function)
cxload.c:247: error: `buf' undeclared (first use in this function)
cxload.c:247: error: `size' undeclared (first use in this function)
cxload.c:257: warning: implicit declaration of function `usb_strerror'
cxload.c:257: warning: format argument is not a pointer (arg 2)
cxload.c:259: warning: implicit declaration of function `usb_clear_halt'
cxload.c: At top level:
cxload.c:275: error: syntax error before '*' token
cxload.c:276: warning: function declaration isn't a prototype
cxload.c: In function `read_bulk':
cxload.c:281: error: `buf' undeclared (first use in this function)
cxload.c:287: warning: implicit declaration of function `usb_bulk_read'
cxload.c:287: error: `adsl_handle' undeclared (first use in this function)
cxload.c:287: error: `ep' undeclared (first use in this function)
cxload.c:287: error: `size' undeclared (first use in this function)
cxload.c:297: warning: format argument is not a pointer (arg 2)
cxload.c: At top level:
cxload.c:314: error: syntax error before '*' token
cxload.c:315: warning: function declaration isn't a prototype
cxload.c: In function `send_bulk':
cxload.c:321: error: `nfil' undeclared (first use in this function)
cxload.c:327: warning: implicit declaration of function `usb_bulk_write'
cxload.c:327: error: `adsl_handle' undeclared (first use in this function)
cxload.c:327: error: `ep' undeclared (first use in this function)
cxload.c:327: error: `buf' undeclared (first use in this function)
cxload.c:327: error: `ncol' undeclared (first use in this function)
cxload.c:337: warning: format argument is not a pointer (arg 2)
cxload.c: At top level:
cxload.c:383: error: syntax error before '*' token
cxload.c:384: warning: function declaration isn't a prototype
cxload.c: In function `dispatch_info':
cxload.c:397: error: `adsl_handle' undeclared (first use in this function)
cxload.c:438: warning: format argument is not a pointer (arg 2)
cxload.c:442: warning: implicit declaration of function `usb_resetep'
cxload.c:449: error: `timeout' undeclared (first use in this function)
cxload.c: At top level:
cxload.c:459: error: syntax error before '*' token
cxload.c:460: warning: function declaration isn't a prototype
cxload.c: In function `send_cmd_wait_answers':
cxload.c:464: error: `adsl_handle' undeclared (first use in this function)
cxload.c:464: error: `buf' undeclared (first use in this function)
cxload.c:470: error: `answers' undeclared (first use in this function)
cxload.c:471: error: `wait' undeclared (first use in this function)
cxload.c:472: error: `timeout' undeclared (first use in this function)
cxload.c: At top level:
cxload.c:501: error: syntax error before '*' token
cxload.c:502: warning: function declaration isn't a prototype
cxload.c: In function `write_value':
cxload.c:506: error: `value' undeclared (first use in this function)
cxload.c:510: error: `address' undeclared (first use in this function)
cxload.c:511: error: `adsl_handle' undeclared (first use in this function)
cxload.c: At top level:
cxload.c:518: error: syntax error before '*' token
cxload.c:519: warning: function declaration isn't a prototype
cxload.c: In function `send_cmd':
cxload.c:523: error: `id' undeclared (first use in this function)
cxload.c:525: error: `adsl_handle' undeclared (first use in this function)
cxload.c:527: error: `answers' undeclared (first use in this function)
cxload.c: At top level:
cxload.c:532: error: syntax error before '*' token
cxload.c:533: warning: function declaration isn't a prototype
cxload.c: In function `send_cmd_wait':
cxload.c:537: error: `id' undeclared (first use in this function)
cxload.c:538: error: `adsl_handle' undeclared (first use in this function)
cxload.c:538: error: `wait' undeclared (first use in this function)
cxload.c:538: error: `answers' undeclared (first use in this function)
cxload.c:538: error: `timeout' undeclared (first use in this function)
cxload.c: At top level:
cxload.c:542: error: syntax error before '*' token
cxload.c:543: warning: function declaration isn't a prototype
cxload.c: In function `send_cmd_value':
cxload.c:547: error: `id' undeclared (first use in this function)
cxload.c:547: error: `value' undeclared (first use in this function)
cxload.c:549: error: `adsl_handle' undeclared (first use in this function)
cxload.c:551: error: `answers' undeclared (first use in this function)
cxload.c: At top level:
cxload.c:556: error: syntax error before '*' token
cxload.c:557: warning: function declaration isn't a prototype
cxload.c: In function `send_goto_cmd':
cxload.c:561: error: `address' undeclared (first use in this function)
cxload.c:562: error: `adsl_handle' undeclared (first use in this function)
cxload.c: At top level:
cxload.c:589: error: syntax error before '*' token
cxload.c:590: warning: function declaration isn't a prototype
cxload.c: In function `send_configuration':
cxload.c:593: error: `last' undeclared (first use in this function)
cxload.c:593: error: `first' undeclared (first use in this function)
cxload.c:623: error: `adsl_handle' undeclared (first use in this function)
cxload.c: At top level:
cxload.c:630: error: syntax error before '*' token
cxload.c:630: warning: function declaration isn't a prototype
cxload.c: In function `clear_endpoints':
cxload.c:631: error: `adsl_handle' undeclared (first use in this function)
cxload.c: At top level:
c
xload.c:644: error: syntax error before '*' token
cxload.c:645: warning: function declaration isn't a prototype
cxload.c: In function `send_block':
cxload.c:646: error: `len' undeclared (first use in this function)
cxload.c:664: error: `bufin' undeclared (first use in this function)
cxload.c:670: error: `place' undeclared (first use in this function)
cxload.c:675: error: `adsl_handle' undeclared (first use in this function)
cxload.c: At top level:
cxload.c:684: error: syntax error before '*' token
cxload.c:685: warning: function declaration isn't a prototype
cxload.c: In function `load_firmware':
cxload.c:696: error: `adsl_handle' undeclared (first use in this function)
cxload.c: In function `init_modem':
cxload.c:910: error: dereferencing pointer to incomplete type
cxload.c:911: error: dereferencing pointer to incomplete type
cxload.c: In function `main':
cxload.c:1153: error: `usb_dev_handle' undeclared (first use in this function)
cxload.c:1153: error: `adsl_handle' undeclared (first use in this function)
cxload.c:1201: warning: implicit declaration of function `usb_init'
cxload.c:1202: warning: implicit declaration of function `usb_find_busses'
cxload.c:1207: warning: implicit declaration of function `usb_find_devices'
cxload.c:1214: error: `usb_busses' undeclared (first use in this function)
cxload.c:1218: error: dereferencing pointer to incomplete type
cxload.c:1221: error: dereferencing pointer to incomplete type
cxload.c:1221: error: dereferencing pointer to incomplete type
cxload.c:1228: error: dereferencing pointer to incomplete type
cxload.c:1231: error: dereferencing pointer to incomplete type
cxload.c:1238: error: dereferencing pointer to incomplete type
cxload.c:1238: error: dereferencing pointer to incomplete type
cxload.c:1252: warning: implicit declaration of function `usb_open'
cxload.c:1259: warning: implicit declaration of function `usb_set_configuration'
cxload.c:1261: warning: format argument is not a pointer (arg 2)
cxload.c:1265: warning: implicit declaration of function `usb_claim_interface'
cxload.c:1267: warning: format argument is not a pointer (arg 2)
cxload.c:1276: warning: implicit declaration of function `usb_release_interface'
cxload.c:1278: warning: implicit declaration of function `usb_close'
make[1]: *** [cxload] Error 1
make[1]: Leaving directory `/home/bober/cxacru-630-new/init'
make: *** [CX_INIT] Error 2
[root@localhost cxacru-630-new]#
Does anyone knows what this errs means? i got Mandrake 10.1, and the drivers are here: http://es.geocities.com/robmasterxx/
thanks.
[root@localhost cxacru-630-new]# make
cd init && make clean
make[1]: Entering directory `/home/bober/cxacru-630-new/init'
rm -f cxload cxioctl cxloaddbg cxloaddbgt
make[1]: Leaving directory `/home/bober/cxacru-630-new/init'
cd bridged && make clean
make[1]: Entering directory `/home/bober/cxacru-630-new/bridged'
rm -f br2684ctl
make[1]: Leaving directory `/home/bober/cxacru-630-new/bridged'
cd init && make && make install
make[1]: Entering directory `/home/bober/cxacru-630-new/init'
gcc -O2 -Wstrict-prototypes -fomit-frame-pointer -pipe -march=i686 -Wall -DLINUX -I
../include -lusb -lpthread cxload.c -o
cxload
cxload.c:132:17: usb.h: No such file or directory
In file included from
cxload.c:133:
../include/usbi.h:49: error: syntax error before '*' token
../include/usbi.h:49: warning: function declaration isn't a prototype
../include/usbi.h:54: error: syntax error before '*' token
../include/usbi.h:54: warning: function declaration isn't a prototype
../include/usbi.h:55: error: syntax error before '*' token
../include/usbi.h:55: warning: function declaration isn't a prototype
cxload.c:236: error: syntax error before '*' token
cxload.c:237: warning: function declaration isn't a prototype
cxload.c: In function `transfer_ctrl_msg':
cxload.c:247: warning: implicit declaration of function `usb_control_msg'
cxload.c:247: error: `adsl_handle' undeclared (first use in this function)
cxload.c:247: error: (Each undeclared identifier is reported only once
cxload.c:247: error: for each function it appears in.)
cxload.c:247: error: `requesttype' undeclared (first use in this function)
cxload.c:247: error: `request' undeclared (first use in this function)
cxload.c:247: error: `value' undeclared (first use in this function)
cxload.c:247: error: `buf' undeclared (first use in this function)
cxload.c:247: error: `size' undeclared (first use in this function)
cxload.c:257: warning: implicit declaration of function `usb_strerror'
cxload.c:257: warning: format argument is not a pointer (arg 2)
cxload.c:259: warning: implicit declaration of function `usb_clear_halt'
cxload.c: At top level:
cxload.c:275: error: syntax error before '*' token
cxload.c:276: warning: function declaration isn't a prototype
cxload.c: In function `read_bulk':
cxload.c:281: error: `buf' undeclared (first use in this function)
cxload.c:287: warning: implicit declaration of function `usb_bulk_read'
cxload.c:287: error: `adsl_handle' undeclared (first use in this function)
cxload.c:287: error: `ep' undeclared (first use in this function)
cxload.c:287: error: `size' undeclared (first use in this function)
cxload.c:297: warning: format argument is not a pointer (arg 2)
cxload.c: At top level:
cxload.c:314: error: syntax error before '*' token
cxload.c:315: warning: function declaration isn't a prototype
cxload.c: In function `send_bulk':
cxload.c:321: error: `nfil' undeclared (first use in this function)
cxload.c:327: warning: implicit declaration of function `usb_bulk_write'
cxload.c:327: error: `adsl_handle' undeclared (first use in this function)
cxload.c:327: error: `ep' undeclared (first use in this function)
cxload.c:327: error: `buf' undeclared (first use in this function)
cxload.c:327: error: `ncol' undeclared (first use in this function)
cxload.c:337: warning: format argument is not a pointer (arg 2)
cxload.c: At top level:
cxload.c:383: error: syntax error before '*' token
cxload.c:384: warning: function declaration isn't a prototype
cxload.c: In function `dispatch_info':
cxload.c:397: error: `adsl_handle' undeclared (first use in this function)
cxload.c:438: warning: format argument is not a pointer (arg 2)
cxload.c:442: warning: implicit declaration of function `usb_resetep'
cxload.c:449: error: `timeout' undeclared (first use in this function)
cxload.c: At top level:
cxload.c:459: error: syntax error before '*' token
cxload.c:460: warning: function declaration isn't a prototype
cxload.c: In function `send_cmd_wait_answers':
cxload.c:464: error: `adsl_handle' undeclared (first use in this function)
cxload.c:464: error: `buf' undeclared (first use in this function)
cxload.c:470: error: `answers' undeclared (first use in this function)
cxload.c:471: error: `wait' undeclared (first use in this function)
cxload.c:472: error: `timeout' undeclared (first use in this function)
cxload.c: At top level:
cxload.c:501: error: syntax error before '*' token
cxload.c:502: warning: function declaration isn't a prototype
cxload.c: In function `write_value':
cxload.c:506: error: `value' undeclared (first use in this function)
cxload.c:510: error: `address' undeclared (first use in this function)
cxload.c:511: error: `adsl_handle' undeclared (first use in this function)
cxload.c: At top level:
cxload.c:518: error: syntax error before '*' token
cxload.c:519: warning: function declaration isn't a prototype
cxload.c: In function `send_cmd':
cxload.c:523: error: `id' undeclared (first use in this function)
cxload.c:525: error: `adsl_handle' undeclared (first use in this function)
cxload.c:527: error: `answers' undeclared (first use in this function)
cxload.c: At top level:
cxload.c:532: error: syntax error before '*' token
cxload.c:533: warning: function declaration isn't a prototype
cxload.c: In function `send_cmd_wait':
cxload.c:537: error: `id' undeclared (first use in this function)
cxload.c:538: error: `adsl_handle' undeclared (first use in this function)
cxload.c:538: error: `wait' undeclared (first use in this function)
cxload.c:538: error: `answers' undeclared (first use in this function)
cxload.c:538: error: `timeout' undeclared (first use in this function)
cxload.c: At top level:
cxload.c:542: error: syntax error before '*' token
cxload.c:543: warning: function declaration isn't a prototype
cxload.c: In function `send_cmd_value':
cxload.c:547: error: `id' undeclared (first use in this function)
cxload.c:547: error: `value' undeclared (first use in this function)
cxload.c:549: error: `adsl_handle' undeclared (first use in this function)
cxload.c:551: error: `answers' undeclared (first use in this function)
cxload.c: At top level:
cxload.c:556: error: syntax error before '*' token
cxload.c:557: warning: function declaration isn't a prototype
cxload.c: In function `send_goto_cmd':
cxload.c:561: error: `address' undeclared (first use in this function)
cxload.c:562: error: `adsl_handle' undeclared (first use in this function)
cxload.c: At top level:
cxload.c:589: error: syntax error before '*' token
cxload.c:590: warning: function declaration isn't a prototype
cxload.c: In function `send_configuration':
cxload.c:593: error: `last' undeclared (first use in this function)
cxload.c:593: error: `first' undeclared (first use in this function)
cxload.c:623: error: `adsl_handle' undeclared (first use in this function)
cxload.c: At top level:
cxload.c:630: error: syntax error before '*' token
cxload.c:630: warning: function declaration isn't a prototype
cxload.c: In function `clear_endpoints':
cxload.c:631: error: `adsl_handle' undeclared (first use in this function)
cxload.c: At top level:
c
xload.c:644: error: syntax error before '*' token
cxload.c:645: warning: function declaration isn't a prototype
cxload.c: In function `send_block':
cxload.c:646: error: `len' undeclared (first use in this function)
cxload.c:664: error: `bufin' undeclared (first use in this function)
cxload.c:670: error: `place' undeclared (first use in this function)
cxload.c:675: error: `adsl_handle' undeclared (first use in this function)
cxload.c: At top level:
cxload.c:684: error: syntax error before '*' token
cxload.c:685: warning: function declaration isn't a prototype
cxload.c: In function `load_firmware':
cxload.c:696: error: `adsl_handle' undeclared (first use in this function)
cxload.c: In function `init_modem':
cxload.c:910: error: dereferencing pointer to incomplete type
cxload.c:911: error: dereferencing pointer to incomplete type
cxload.c: In function `main':
cxload.c:1153: error: `usb_dev_handle' undeclared (first use in this function)
cxload.c:1153: error: `adsl_handle' undeclared (first use in this function)
cxload.c:1201: warning: implicit declaration of function `usb_init'
cxload.c:1202: warning: implicit declaration of function `usb_find_busses'
cxload.c:1207: warning: implicit declaration of function `usb_find_devices'
cxload.c:1214: error: `usb_busses' undeclared (first use in this function)
cxload.c:1218: error: dereferencing pointer to incomplete type
cxload.c:1221: error: dereferencing pointer to incomplete type
cxload.c:1221: error: dereferencing pointer to incomplete type
cxload.c:1228: error: dereferencing pointer to incomplete type
cxload.c:1231: error: dereferencing pointer to incomplete type
cxload.c:1238: error: dereferencing pointer to incomplete type
cxload.c:1238: error: dereferencing pointer to incomplete type
cxload.c:1252: warning: implicit declaration of function `usb_open'
cxload.c:1259: warning: implicit declaration of function `usb_set_configuration'
cxload.c:1261: warning: format argument is not a pointer (arg 2)
cxload.c:1265: warning: implicit declaration of function `usb_claim_interface'
cxload.c:1267: warning: format argument is not a pointer (arg 2)
cxload.c:1276: warning: implicit declaration of function `usb_release_interface'
cxload.c:1278: warning: implicit declaration of function `usb_close'
make[1]: *** [cxload] Error 1
make[1]: Leaving directory `/home/bober/cxacru-630-new/init'
make: *** [CX_INIT] Error 2
[root@localhost cxacru-630-new]#
Does anyone knows what this errs means? i got Mandrake 10.1, and the drivers are here: http://es.geocities.com/robmasterxx/
thanks.