[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: RE: RE: Again with Syncronous Serial Port




Hi,
 I have used your files but I didn't get anything. While i was
compiling, it gave an error. This is the error text:

serial.c: In function `alloc_recv_buffer':
serial.c:1275: dereferencing pointer to incomplete type
serial.c:1278: dereferencing pointer to incomplete type
serial.c:1279: dereferencing pointer to incomplete type
serial.c:1280: dereferencing pointer to incomplete type
serial.c: In function `append_recv_buffer':
serial.c:1293: structure has no member named `first_recv_buffer'
serial.c:1294: structure has no member named `first_recv_buffer'
serial.c:1296: structure has no member named `last_recv_buffer'
serial.c:1298: structure has no member named `last_recv_buffer'
serial.c:1300: structure has no member named `recv_cnt'
serial.c:1300: dereferencing pointer to incomplete type
serial.c:1301: structure has no member named `recv_cnt'
serial.c:1301: structure has no member named `max_recv_cnt'
serial.c:1302: structure has no member named `max_recv_cnt'
serial.c:1302: structure has no member named `recv_cnt'
serial.c: In function `add_char_and_flag':
serial.c:1315: dereferencing pointer to incomplete type
serial.c:1316: dereferencing pointer to incomplete type
serial.c:1317: dereferencing pointer to incomplete type
serial.c: In function `handle_descr_data':
serial.c:1329: dereferencing pointer to incomplete type
serial.c:1331: structure has no member named `recv_cnt'
serial.c:1336: dereferencing pointer to incomplete type
serial.c:1339: dereferencing pointer to incomplete type
serial.c:1347: dereferencing pointer to incomplete type
serial.c: In function `start_recv_dma':
serial.c:1464: dereferencing pointer to incomplete type
serial.c: In function `flush_to_flip_buffer':
serial.c:1664: structure has no member named `first_recv_buffer'
serial.c:1672: structure has no member named `first_recv_buffer'
serial.c:1673: dereferencing pointer to incomplete type
serial.c:1678: dereferencing pointer to incomplete type
serial.c:1680: dereferencing pointer to incomplete type
serial.c:1683: structure has no member named `recv_cnt'
serial.c:1685: dereferencing pointer to incomplete type
serial.c:1686: structure has no member named `first_recv_buffer'
serial.c:1686: dereferencing pointer to incomplete type
serial.c:1689: dereferencing pointer to incomplete type
serial.c:1690: dereferencing pointer to incomplete type
serial.c:1690: dereferencing pointer to incomplete type
serial.c:1690: dereferencing pointer to incomplete type
serial.c:1691: dereferencing pointer to incomplete type
serial.c:1695: structure has no member named `first_recv_buffer'
serial.c:1696: structure has no member named `last_recv_buffer'
serial.c: In function `check_flush_timeout':
serial.c:1717: structure has no member named `first_recv_buffer'
serial.c: In function `startup':
serial.c:2130: structure has no member named `first_recv_buffer'
serial.c:2130: structure has no member named `last_recv_buffer'
serial.c:2131: structure has no member named `recv_cnt'
serial.c:2131: structure has no member named `max_recv_cnt'
serial.c: In function `shutdown':
serial.c:2228: dereferencing pointer to incomplete type
serial.c: In function `line_info':
serial.c:3462: structure has no member named `recv_cnt'
serial.c:3463: structure has no member named `max_recv_cnt'
serial.c: In function `rs_init':
serial.c:3633: structure has no member named `first_recv_buffer'
serial.c:3633: structure has no member named `last_recv_buffer'
serial.c:3634: structure has no member named `recv_cnt'
serial.c:3634: structure has no member named `max_recv_cnt'
serial.c: At top level:
serial.c:678: warning: `fast_timer_ints' defined but not used
serial.c:2038: warning: `do_serial_hangup' defined but not used
make[3]: *** [serial.o] Error 1
make[3]: Saliendo directorio `/axis/devboard_lx/os/linux/arch/cris/drivers'
make[2]: *** [first_rule] Error 2
make[2]: Saliendo directorio `/axis/devboard_lx/os/linux/arch/cris/drivers'
make[1]: *** [_dir_arch/cris/drivers] Error 2
make[1]: Saliendo directorio `/axis/devboard_lx/os/linux'
make: *** [kernel] Error 2

How can I solve this?

thank you,
 Francisco