Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- fpga:~/ztex/libusbJava-src# make
- gcc -fPIC -g -c -std=c99 -Wall -Wno-pointer-to-int-cast -I /opt/icedtea6/include -I /usr/include/linux LibusbJava.c -oLibusbJava.o
- In file included from /usr/include/_G_config.h:44,
- from /usr/include/libio.h:32,
- from /usr/include/stdio.h:72,
- from /opt/icedtea6/include/jni.h:39,
- from LibusbJava.c:9:
- /usr/include/gconv.h:72: error: expected declaration specifiers or ‘...’ before ‘size_t’
- /usr/include/gconv.h:88: error: expected declaration specifiers or ‘...’ before ‘size_t’
- /usr/include/gconv.h:97: error: expected declaration specifiers or ‘...’ before ‘size_t’
- /usr/include/gconv.h:174: error: expected specifier-qualifier-list before ‘size_t’
- In file included from /usr/include/stdio.h:72,
- from /opt/icedtea6/include/jni.h:39,
- from LibusbJava.c:9:
- /usr/include/libio.h:329: error: expected specifier-qualifier-list before ‘size_t’
- /usr/include/libio.h:361: error: expected declaration specifiers or ‘...’ before ‘size_t’
- /usr/include/libio.h:370: error: expected declaration specifiers or ‘...’ before ‘size_t’
- /usr/include/libio.h:486: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_IO_sgetn’
- In file included from /opt/icedtea6/include/jni.h:39,
- from LibusbJava.c:9:
- /usr/include/stdio.h:306: error: expected declaration specifiers or ‘...’ before ‘size_t’
- /usr/include/stdio.h:355: error: expected declaration specifiers or ‘...’ before ‘size_t’
- /usr/include/stdio.h:357: error: format string argument not a string type
- /usr/include/stdio.h:359: error: expected declaration specifiers or ‘...’ before ‘size_t’
- /usr/include/stdio.h:361: error: format string argument not a string type
- /usr/include/stdio.h:608: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘fread’
- /usr/include/stdio.h:614: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘fwrite’
- LibusbJava.c:14:18: warning: extra tokens at end of #include directive
- LibusbJava.c:14:30: error: usb.h: No such file or directory
- LibusbJava.c: In function ‘Java_ch_ntb_usb_LibusbJava_usb_1set_1debug’:
- LibusbJava.c:92: warning: implicit declaration of function ‘usb_set_debug’
- LibusbJava.c: In function ‘Java_ch_ntb_usb_LibusbJava_usb_1init’:
- LibusbJava.c:103: warning: implicit declaration of function ‘usb_init’
- LibusbJava.c: In function ‘Java_ch_ntb_usb_LibusbJava_usb_1find_1busses’:
- LibusbJava.c:115: warning: implicit declaration of function ‘usb_find_busses’
- LibusbJava.c: In function ‘Java_ch_ntb_usb_LibusbJava_usb_1find_1devices’:
- LibusbJava.c:127: warning: implicit declaration of function ‘usb_find_devices’
- LibusbJava.c: In function ‘Java_ch_ntb_usb_LibusbJava_usb_1get_1busses’:
- LibusbJava.c:268: warning: implicit declaration of function ‘usb_get_busses’
- LibusbJava.c:268: warning: assignment makes pointer from integer without a cast
- LibusbJava.c:307: error: dereferencing pointer to incomplete type
- LibusbJava.c:316: error: dereferencing pointer to incomplete type
- LibusbJava.c:317: error: dereferencing pointer to incomplete type
- LibusbJava.c:319: error: dereferencing pointer to incomplete type
- LibusbJava.c:339: error: dereferencing pointer to incomplete type
- LibusbJava.c:349: error: dereferencing pointer to incomplete type
- LibusbJava.c:350: error: dereferencing pointer to incomplete type
- LibusbJava.c:351: error: dereferencing pointer to incomplete type
- LibusbJava.c:360: error: dereferencing pointer to incomplete type
- LibusbJava.c:361: error: dereferencing pointer to incomplete type
- LibusbJava.c:362: error: dereferencing pointer to incomplete type
- LibusbJava.c:363: error: dereferencing pointer to incomplete type
- LibusbJava.c:364: error: dereferencing pointer to incomplete type
- LibusbJava.c:365: error: dereferencing pointer to incomplete type
- LibusbJava.c:366: error: dereferencing pointer to incomplete type
- LibusbJava.c:367: error: dereferencing pointer to incomplete type
- LibusbJava.c:368: error: dereferencing pointer to incomplete type
- LibusbJava.c:369: error: dereferencing pointer to incomplete type
- LibusbJava.c:370: error: dereferencing pointer to incomplete type
- LibusbJava.c:371: error: dereferencing pointer to incomplete type
- LibusbJava.c:372: error: dereferencing pointer to incomplete type
- LibusbJava.c:373: error: dereferencing pointer to incomplete type
- LibusbJava.c:378: error: dereferencing pointer to incomplete type
- LibusbJava.c:383: error: dereferencing pointer to incomplete type
- LibusbJava.c:387: error: dereferencing pointer to incomplete type
- LibusbJava.c:399: error: dereferencing pointer to incomplete type
- LibusbJava.c:400: error: dereferencing pointer to incomplete type
- LibusbJava.c:401: error: dereferencing pointer to incomplete type
- LibusbJava.c:402: error: dereferencing pointer to incomplete type
- LibusbJava.c:403: error: dereferencing pointer to incomplete type
- LibusbJava.c:404: error: dereferencing pointer to incomplete type
- LibusbJava.c:405: error: dereferencing pointer to incomplete type
- LibusbJava.c:406: error: dereferencing pointer to incomplete type
- LibusbJava.c:407: error: dereferencing pointer to incomplete type
- LibusbJava.c:408: error: dereferencing pointer to incomplete type
- LibusbJava.c:409: error: dereferencing pointer to incomplete type
- LibusbJava.c:410: error: dereferencing pointer to incomplete type
- LibusbJava.c:410: error: dereferencing pointer to incomplete type
- LibusbJava.c:416: error: dereferencing pointer to incomplete type
- LibusbJava.c:421: error: dereferencing pointer to incomplete type
- LibusbJava.c:425: error: dereferencing pointer to incomplete type
- LibusbJava.c:437: error: dereferencing pointer to incomplete type
- LibusbJava.c:439: error: dereferencing pointer to incomplete type
- LibusbJava.c:444: error: dereferencing pointer to incomplete type
- LibusbJava.c:448: error: dereferencing pointer to incomplete type
- LibusbJava.c:460: error: dereferencing pointer to incomplete type
- LibusbJava.c:461: error: dereferencing pointer to incomplete type
- LibusbJava.c:462: error: dereferencing pointer to incomplete type
- LibusbJava.c:463: error: dereferencing pointer to incomplete type
- LibusbJava.c:464: error: dereferencing pointer to incomplete type
- LibusbJava.c:465: error: dereferencing pointer to incomplete type
- LibusbJava.c:466: error: dereferencing pointer to incomplete type
- LibusbJava.c:467: error: dereferencing pointer to incomplete type
- LibusbJava.c:468: error: dereferencing pointer to incomplete type
- LibusbJava.c:469: error: dereferencing pointer to incomplete type
- LibusbJava.c:470: error: dereferencing pointer to incomplete type
- LibusbJava.c:471: error: dereferencing pointer to incomplete type
- LibusbJava.c:472: error: dereferencing pointer to incomplete type
- LibusbJava.c:472: error: dereferencing pointer to incomplete type
- LibusbJava.c:478: error: dereferencing pointer to incomplete type
- LibusbJava.c:483: error: dereferencing pointer to incomplete type
- LibusbJava.c:487: error: dereferencing pointer to incomplete type
- LibusbJava.c:498: error: dereferencing pointer to incomplete type
- LibusbJava.c:499: error: dereferencing pointer to incomplete type
- LibusbJava.c:500: error: dereferencing pointer to incomplete type
- LibusbJava.c:501: error: dereferencing pointer to incomplete type
- LibusbJava.c:502: error: dereferencing pointer to incomplete type
- LibusbJava.c:503: error: dereferencing pointer to incomplete type
- LibusbJava.c:504: error: dereferencing pointer to incomplete type
- LibusbJava.c:505: error: dereferencing pointer to incomplete type
- LibusbJava.c:506: error: dereferencing pointer to incomplete type
- LibusbJava.c:507: error: dereferencing pointer to incomplete type
- LibusbJava.c:508: error: dereferencing pointer to incomplete type
- LibusbJava.c:509: error: dereferencing pointer to incomplete type
- LibusbJava.c:509: error: dereferencing pointer to incomplete type
- LibusbJava.c:527: error: dereferencing pointer to incomplete type
- LibusbJava.c:534: error: dereferencing pointer to incomplete type
- LibusbJava.c: In function ‘Java_ch_ntb_usb_LibusbJava_usb_1open’:
- LibusbJava.c:560: error: dereferencing pointer to incomplete type
- LibusbJava.c:562: error: dereferencing pointer to incomplete type
- LibusbJava.c:562: error: dereferencing pointer to incomplete type
- LibusbJava.c:564: warning: implicit declaration of function ‘usb_open’
- LibusbJava.c: In function ‘Java_ch_ntb_usb_LibusbJava_usb_1close’:
- LibusbJava.c:581: warning: implicit declaration of function ‘usb_close’
- LibusbJava.c:581: error: ‘usb_dev_handle’ undeclared (first use in this function)
- LibusbJava.c:581: error: (Each undeclared identifier is reported only once
- LibusbJava.c:581: error: for each function it appears in.)
- LibusbJava.c:581: error: expected expression before ‘)’ token
- LibusbJava.c: In function ‘Java_ch_ntb_usb_LibusbJava_usb_1set_1configuration’:
- LibusbJava.c:593: warning: implicit declaration of function ‘usb_set_configuration’
- LibusbJava.c:593: error: ‘usb_dev_handle’ undeclared (first use in this function)
- LibusbJava.c:593: error: expected expression before ‘)’ token
- LibusbJava.c: In function ‘Java_ch_ntb_usb_LibusbJava_usb_1set_1altinterface’:
- LibusbJava.c:605: warning: implicit declaration of function ‘usb_set_altinterface’
- LibusbJava.c:605: error: ‘usb_dev_handle’ undeclared (first use in this function)
- LibusbJava.c:605: error: expected expression before ‘)’ token
- LibusbJava.c: In function ‘Java_ch_ntb_usb_LibusbJava_usb_1clear_1halt’:
- LibusbJava.c:617: warning: implicit declaration of function ‘usb_clear_halt’
- LibusbJava.c:617: error: ‘usb_dev_handle’ undeclared (first use in this function)
- LibusbJava.c:617: error: expected expression before ‘)’ token
- LibusbJava.c: In function ‘Java_ch_ntb_usb_LibusbJava_usb_1reset’:
- LibusbJava.c:629: warning: implicit declaration of function ‘usb_reset’
- LibusbJava.c:629: error: ‘usb_dev_handle’ undeclared (first use in this function)
- LibusbJava.c:629: error: expected expression before ‘)’ token
- LibusbJava.c: In function ‘Java_ch_ntb_usb_LibusbJava_usb_1claim_1interface’:
- LibusbJava.c:641: warning: implicit declaration of function ‘usb_claim_interface’
- LibusbJava.c:641: error: ‘usb_dev_handle’ undeclared (first use in this function)
- LibusbJava.c:641: error: expected expression before ‘)’ token
- LibusbJava.c: In function ‘Java_ch_ntb_usb_LibusbJava_usb_1release_1interface’:
- LibusbJava.c:653: warning: implicit declaration of function ‘usb_release_interface’
- LibusbJava.c:653: error: ‘usb_dev_handle’ undeclared (first use in this function)
- LibusbJava.c:653: error: expected expression before ‘)’ token
- LibusbJava.c: In function ‘Java_ch_ntb_usb_LibusbJava_usb_1control_1msg’:
- LibusbJava.c:666: warning: implicit declaration of function ‘usb_control_msg’
- LibusbJava.c:666: error: ‘usb_dev_handle’ undeclared (first use in this function)
- LibusbJava.c:666: error: expected expression before ‘)’ token
- LibusbJava.c: In function ‘Java_ch_ntb_usb_LibusbJava_usb_1get_1string’:
- LibusbJava.c:682: warning: implicit declaration of function ‘usb_get_string’
- LibusbJava.c:682: error: ‘usb_dev_handle’ undeclared (first use in this function)
- LibusbJava.c:682: error: expected expression before ‘)’ token
- LibusbJava.c: In function ‘Java_ch_ntb_usb_LibusbJava_usb_1get_1string_1simple’:
- LibusbJava.c:698: warning: implicit declaration of function ‘usb_get_string_simple’
- LibusbJava.c:698: error: ‘usb_dev_handle’ undeclared (first use in this function)
- LibusbJava.c:698: error: expected expression before ‘)’ token
- LibusbJava.c: In function ‘Java_ch_ntb_usb_LibusbJava_usb_1get_1descriptor’:
- LibusbJava.c:713: warning: implicit declaration of function ‘malloc’
- LibusbJava.c:713: warning: incompatible implicit declaration of built-in function ‘malloc’
- LibusbJava.c:714: warning: implicit declaration of function ‘usb_get_descriptor’
- LibusbJava.c:714: error: ‘usb_dev_handle’ undeclared (first use in this function)
- LibusbJava.c:714: error: expected expression before ‘)’ token
- LibusbJava.c: In function ‘Java_ch_ntb_usb_LibusbJava_usb_1get_1descriptor_1by_1endpoint’:
- LibusbJava.c:730: warning: incompatible implicit declaration of built-in function ‘malloc’
- LibusbJava.c:731: warning: implicit declaration of function ‘usb_get_descriptor_by_endpoint’
- LibusbJava.c:731: error: ‘usb_dev_handle’ undeclared (first use in this function)
- LibusbJava.c:731: error: expected expression before ‘)’ token
- LibusbJava.c: In function ‘Java_ch_ntb_usb_LibusbJava_usb_1bulk_1write’:
- LibusbJava.c:748: warning: implicit declaration of function ‘usb_bulk_write’
- LibusbJava.c:748: error: ‘usb_dev_handle’ undeclared (first use in this function)
- LibusbJava.c:748: error: expected expression before ‘)’ token
- LibusbJava.c: In function ‘Java_ch_ntb_usb_LibusbJava_usb_1bulk_1read’:
- LibusbJava.c:762: warning: incompatible implicit declaration of built-in function ‘malloc’
- LibusbJava.c:763: warning: implicit declaration of function ‘usb_bulk_read’
- LibusbJava.c:763: error: ‘usb_dev_handle’ undeclared (first use in this function)
- LibusbJava.c:763: error: expected expression before ‘)’ token
- LibusbJava.c:766: warning: implicit declaration of function ‘free’
- LibusbJava.c: In function ‘Java_ch_ntb_usb_LibusbJava_usb_1interrupt_1write’:
- LibusbJava.c:780: warning: implicit declaration of function ‘usb_interrupt_write’
- LibusbJava.c:780: error: ‘usb_dev_handle’ undeclared (first use in this function)
- LibusbJava.c:780: error: expected expression before ‘)’ token
- LibusbJava.c: In function ‘Java_ch_ntb_usb_LibusbJava_usb_1interrupt_1read’:
- LibusbJava.c:794: warning: incompatible implicit declaration of built-in function ‘malloc’
- LibusbJava.c:795: warning: implicit declaration of function ‘usb_interrupt_read’
- LibusbJava.c:795: error: ‘usb_dev_handle’ undeclared (first use in this function)
- LibusbJava.c:795: error: expected expression before ‘)’ token
- LibusbJava.c: In function ‘Java_ch_ntb_usb_LibusbJava_usb_1strerror’:
- LibusbJava.c:816: warning: implicit declaration of function ‘usb_strerror’
- LibusbJava.c:816: warning: assignment makes pointer from integer without a cast
- make: *** [LibusbJava.o] Error 1
Advertisement
Add Comment
Please, Sign In to add comment