Compiling code

Keith Clark keithclark at k-wbookworm.com
Sat Jul 26 17:12:09 UTC 2008


Shizzle Cash wrote:
> On Jul 26, 2008, at 11:38 AM, Keith Clark wrote:
>
>   
>> Karl,
>>
>> In cups it appears that there is a driver for this printer.  I think  
>> the problem is the adapter.
>>
>> Keith
>>     
>
> Is this a USB printer you're trying to run off an RS232 port, or an  
> RS232 printer you're attempting to run off a USB port?  It appears  
> that the CUPS driver for this printer doesn't support serial  
> connections, only parallel, network and usb (at least, according to  
> their site).  If it's a USB printer you're attempting to run off a  
> serial port, I'm curious as to why.  If your machine is out of USB  
> ports, your easiest option might be to just purchase a PCI USB card  
> and using printer off of that.  If it is the other way around, it  
> could either be the driver or the adapter.
>
> As a side-note, I know that some USB to RS232 adapters don't work well  
> under Linux.  Unfortunately, it seems to be a little bit of a crap- 
> shoot.  I know that Belkin (as overpriced as they are) does make one  
> (or several?) that works well under Linux.  I don't remember the model  
> off-hand, though.  Just something to check.  If you have another brand  
> of adapter (or a different model), I would suggest trying that first,  
> it might solve your problem.
>
>   

The printer is supported I believe, just no the adapter, and it even 
comes with a Linux driver. No instructions and when I try to compile it 
just comes up with a million errors as follows:

ftdi_sio.c:845: warning: (near initialization for ‘ftdi_USB_UIRT_device’)
ftdi_sio.c:846: error: unknown field ‘ioctl’ specified in initializer
ftdi_sio.c:846: warning: excess elements in struct initializer
ftdi_sio.c:846: warning: (near initialization for ‘ftdi_USB_UIRT_device’)
ftdi_sio.c:847: error: unknown field ‘set_termios’ specified in initializer
ftdi_sio.c:847: warning: excess elements in struct initializer
ftdi_sio.c:847: warning: (near initialization for ‘ftdi_USB_UIRT_device’)
ftdi_sio.c:848: error: unknown field ‘break_ctl’ specified in initializer
ftdi_sio.c:848: warning: excess elements in struct initializer
ftdi_sio.c:848: warning: (near initialization for ‘ftdi_USB_UIRT_device’)
ftdi_sio.c:849: error: unknown field ‘startup’ specified in initializer
ftdi_sio.c:849: warning: excess elements in struct initializer
ftdi_sio.c:849: warning: (near initialization for ‘ftdi_USB_UIRT_device’)
ftdi_sio.c:850: error: unknown field ‘shutdown’ specified in initializer
ftdi_sio.c:850: warning: excess elements in struct initializer
ftdi_sio.c:850: warning: (near initialization for ‘ftdi_USB_UIRT_device’)
ftdi_sio.c:855: error: variable ‘ftdi_HE_TIRA1_device’ has initializer 
but incomplete type
ftdi_sio.c:856: error: unknown field ‘owner’ specified in initializer
ftdi_sio.c:856: warning: excess elements in struct initializer
ftdi_sio.c:856: warning: (near initialization for ‘ftdi_HE_TIRA1_device’)
ftdi_sio.c:857: error: unknown field ‘name’ specified in initializer
ftdi_sio.c:857: warning: excess elements in struct initializer
ftdi_sio.c:857: warning: (near initialization for ‘ftdi_HE_TIRA1_device’)
ftdi_sio.c:858: error: unknown field ‘id_table’ specified in initializer
ftdi_sio.c:858: warning: excess elements in struct initializer
ftdi_sio.c:858: warning: (near initialization for ‘ftdi_HE_TIRA1_device’)
ftdi_sio.c:859: error: unknown field ‘num_interrupt_in’ specified in 
initializer
ftdi_sio.c:859: warning: excess elements in struct initializer
ftdi_sio.c:859: warning: (near initialization for ‘ftdi_HE_TIRA1_device’)
ftdi_sio.c:860: error: unknown field ‘num_bulk_in’ specified in initializer
ftdi_sio.c:860: warning: excess elements in struct initializer
ftdi_sio.c:860: warning: (near initialization for ‘ftdi_HE_TIRA1_device’)
ftdi_sio.c:861: error: unknown field ‘num_bulk_out’ specified in initializer
ftdi_sio.c:861: warning: excess elements in struct initializer
ftdi_sio.c:861: warning: (near initialization for ‘ftdi_HE_TIRA1_device’)
ftdi_sio.c:862: error: unknown field ‘num_ports’ specified in initializer
ftdi_sio.c:862: warning: excess elements in struct initializer
ftdi_sio.c:862: warning: (near initialization for ‘ftdi_HE_TIRA1_device’)
ftdi_sio.c:863: error: unknown field ‘open’ specified in initializer
ftdi_sio.c:863: warning: excess elements in struct initializer
ftdi_sio.c:863: warning: (near initialization for ‘ftdi_HE_TIRA1_device’)
ftdi_sio.c:864: error: unknown field ‘close’ specified in initializer
ftdi_sio.c:864: warning: excess elements in struct initializer
ftdi_sio.c:864: warning: (near initialization for ‘ftdi_HE_TIRA1_device’)
ftdi_sio.c:865: error: unknown field ‘throttle’ specified in initializer
ftdi_sio.c:865: warning: excess elements in struct initializer
ftdi_sio.c:865: warning: (near initialization for ‘ftdi_HE_TIRA1_device’)
ftdi_sio.c:866: error: unknown field ‘unthrottle’ specified in initializer
ftdi_sio.c:866: warning: excess elements in struct initializer
ftdi_sio.c:866: warning: (near initialization for ‘ftdi_HE_TIRA1_device’)
ftdi_sio.c:867: error: unknown field ‘write’ specified in initializer
ftdi_sio.c:867: warning: excess elements in struct initializer
ftdi_sio.c:867: warning: (near initialization for ‘ftdi_HE_TIRA1_device’)
ftdi_sio.c:868: error: unknown field ‘write_room’ specified in initializer
ftdi_sio.c:868: warning: excess elements in struct initializer
ftdi_sio.c:868: warning: (near initialization for ‘ftdi_HE_TIRA1_device’)
ftdi_sio.c:869: error: unknown field ‘chars_in_buffer’ specified in 
initializer
ftdi_sio.c:869: warning: excess elements in struct initializer
ftdi_sio.c:869: warning: (near initialization for ‘ftdi_HE_TIRA1_device’)
ftdi_sio.c:870: error: unknown field ‘read_bulk_callback’ specified in 
initializer
ftdi_sio.c:870: warning: excess elements in struct initializer
ftdi_sio.c:870: warning: (near initialization for ‘ftdi_HE_TIRA1_device’)
ftdi_sio.c:871: error: unknown field ‘write_bulk_callback’ specified in 
initializer
ftdi_sio.c:871: warning: excess elements in struct initializer
ftdi_sio.c:871: warning: (near initialization for ‘ftdi_HE_TIRA1_device’)
ftdi_sio.c:872: error: unknown field ‘ioctl’ specified in initializer
ftdi_sio.c:872: warning: excess elements in struct initializer
ftdi_sio.c:872: warning: (near initialization for ‘ftdi_HE_TIRA1_device’)
ftdi_sio.c:873: error: unknown field ‘set_termios’ specified in initializer
ftdi_sio.c:873: warning: excess elements in struct initializer
ftdi_sio.c:873: warning: (near initialization for ‘ftdi_HE_TIRA1_device’)
ftdi_sio.c:874: error: unknown field ‘break_ctl’ specified in initializer
ftdi_sio.c:874: warning: excess elements in struct initializer
ftdi_sio.c:874: warning: (near initialization for ‘ftdi_HE_TIRA1_device’)
ftdi_sio.c:875: error: unknown field ‘startup’ specified in initializer
ftdi_sio.c:875: warning: excess elements in struct initializer
ftdi_sio.c:875: warning: (near initialization for ‘ftdi_HE_TIRA1_device’)
ftdi_sio.c:876: error: unknown field ‘shutdown’ specified in initializer
ftdi_sio.c:876: warning: excess elements in struct initializer
ftdi_sio.c:876: warning: (near initialization for ‘ftdi_HE_TIRA1_device’)
ftdi_sio.c:880: error: variable ‘ftdi_userdev_device’ has initializer 
but incomplete type
ftdi_sio.c:881: error: unknown field ‘owner’ specified in initializer
ftdi_sio.c:881: warning: excess elements in struct initializer
ftdi_sio.c:881: warning: (near initialization for ‘ftdi_userdev_device’)
ftdi_sio.c:882: error: unknown field ‘name’ specified in initializer
ftdi_sio.c:882: warning: excess elements in struct initializer
ftdi_sio.c:882: warning: (near initialization for ‘ftdi_userdev_device’)
ftdi_sio.c:883: error: unknown field ‘id_table’ specified in initializer
ftdi_sio.c:883: warning: excess elements in struct initializer
ftdi_sio.c:883: warning: (near initialization for ‘ftdi_userdev_device’)
ftdi_sio.c:884: error: unknown field ‘num_interrupt_in’ specified in 
initializer
ftdi_sio.c:884: warning: excess elements in struct initializer
ftdi_sio.c:884: warning: (near initialization for ‘ftdi_userdev_device’)
ftdi_sio.c:885: error: unknown field ‘num_bulk_in’ specified in initializer
ftdi_sio.c:885: warning: excess elements in struct initializer
ftdi_sio.c:885: warning: (near initialization for ‘ftdi_userdev_device’)
ftdi_sio.c:886: error: unknown field ‘num_bulk_out’ specified in initializer
ftdi_sio.c:886: warning: excess elements in struct initializer
ftdi_sio.c:886: warning: (near initialization for ‘ftdi_userdev_device’)
ftdi_sio.c:887: error: unknown field ‘num_ports’ specified in initializer
ftdi_sio.c:887: warning: excess elements in struct initializer
ftdi_sio.c:887: warning: (near initialization for ‘ftdi_userdev_device’)
ftdi_sio.c:888: error: unknown field ‘open’ specified in initializer
ftdi_sio.c:888: warning: excess elements in struct initializer
ftdi_sio.c:888: warning: (near initialization for ‘ftdi_userdev_device’)
ftdi_sio.c:889: error: unknown field ‘close’ specified in initializer
ftdi_sio.c:889: warning: excess elements in struct initializer
ftdi_sio.c:889: warning: (near initialization for ‘ftdi_userdev_device’)
ftdi_sio.c:890: error: unknown field ‘write’ specified in initializer
ftdi_sio.c:890: warning: excess elements in struct initializer
ftdi_sio.c:890: warning: (near initialization for ‘ftdi_userdev_device’)
ftdi_sio.c:891: error: unknown field ‘write_room’ specified in initializer
ftdi_sio.c:891: warning: excess elements in struct initializer
ftdi_sio.c:891: warning: (near initialization for ‘ftdi_userdev_device’)
ftdi_sio.c:892: error: unknown field ‘read_bulk_callback’ specified in 
initializer
ftdi_sio.c:892: warning: excess elements in struct initializer
ftdi_sio.c:892: warning: (near initialization for ‘ftdi_userdev_device’)
ftdi_sio.c:893: error: unknown field ‘write_bulk_callback’ specified in 
initializer
ftdi_sio.c:893: warning: excess elements in struct initializer
ftdi_sio.c:893: warning: (near initialization for ‘ftdi_userdev_device’)
ftdi_sio.c:894: error: unknown field ‘ioctl’ specified in initializer
ftdi_sio.c:894: warning: excess elements in struct initializer
ftdi_sio.c:894: warning: (near initialization for ‘ftdi_userdev_device’)
ftdi_sio.c:895: error: unknown field ‘set_termios’ specified in initializer
ftdi_sio.c:895: warning: excess elements in struct initializer
ftdi_sio.c:895: warning: (near initialization for ‘ftdi_userdev_device’)
ftdi_sio.c:896: error: unknown field ‘break_ctl’ specified in initializer
ftdi_sio.c:896: warning: excess elements in struct initializer
ftdi_sio.c:896: warning: (near initialization for ‘ftdi_userdev_device’)
ftdi_sio.c:897: error: unknown field ‘startup’ specified in initializer
ftdi_sio.c:897: warning: excess elements in struct initializer
ftdi_sio.c:897: warning: (near initialization for ‘ftdi_userdev_device’)
ftdi_sio.c:898: error: unknown field ‘shutdown’ specified in initializer
ftdi_sio.c:898: warning: excess elements in struct initializer
ftdi_sio.c:898: warning: (near initialization for ‘ftdi_userdev_device’)
ftdi_sio.c:950: warning: ‘struct usb_serial_port’ declared inside 
parameter list
ftdi_sio.c: In function ‘set_rts’:
ftdi_sio.c:952: error: dereferencing pointer to incomplete type
ftdi_sio.c:962: error: dereferencing pointer to incomplete type
ftdi_sio.c:963: error: dereferencing pointer to incomplete type
ftdi_sio.c:967: error: ‘CONFIG_HZ’ undeclared (first use in this function)
ftdi_sio.c: At top level:
ftdi_sio.c:971: warning: ‘struct usb_serial_port’ declared inside 
parameter list
ftdi_sio.c: In function ‘set_dtr’:
ftdi_sio.c:973: error: dereferencing pointer to incomplete type
ftdi_sio.c:983: error: dereferencing pointer to incomplete type
ftdi_sio.c:984: error: dereferencing pointer to incomplete type
ftdi_sio.c:988: error: ‘CONFIG_HZ’ undeclared (first use in this function)
ftdi_sio.c: At top level:
ftdi_sio.c:992: warning: ‘struct usb_serial_port’ declared inside 
parameter list
ftdi_sio.c:995: warning: ‘struct usb_serial_port’ declared inside 
parameter list
ftdi_sio.c: In function ‘change_speed’:
ftdi_sio.c:998: error: dereferencing pointer to incomplete type
ftdi_sio.c:1003: warning: passing argument 1 of ‘get_ftdi_divisor’ from 
incompatible pointer type
ftdi_sio.c:1015: error: dereferencing pointer to incomplete type
ftdi_sio.c:1016: error: dereferencing pointer to incomplete type
ftdi_sio.c: At top level:
ftdi_sio.c:1024: warning: ‘struct usb_serial_port’ declared inside 
parameter list
ftdi_sio.c:1025: error: conflicting types for ‘get_ftdi_divisor’
ftdi_sio.c:992: error: previous declaration of ‘get_ftdi_divisor’ was here
ftdi_sio.c: In function ‘get_ftdi_divisor’:
ftdi_sio.c:1027: error: dereferencing pointer to incomplete type
ftdi_sio.c:1058: error: dereferencing pointer to incomplete type
ftdi_sio.c: At top level:
ftdi_sio.c:1133: warning: ‘struct usb_serial_port’ declared inside 
parameter list
ftdi_sio.c: In function ‘get_serial_info’:
ftdi_sio.c:1135: error: dereferencing pointer to incomplete type
ftdi_sio.c: At top level:
ftdi_sio.c:1150: warning: ‘struct usb_serial_port’ declared inside 
parameter list
ftdi_sio.c: In function ‘set_serial_info’:
ftdi_sio.c:1152: error: dereferencing pointer to incomplete type
ftdi_sio.c:1182: error: dereferencing pointer to incomplete type
ftdi_sio.c:1188: error: dereferencing pointer to incomplete type
ftdi_sio.c:1190: error: dereferencing pointer to incomplete type
ftdi_sio.c:1192: error: dereferencing pointer to incomplete type
ftdi_sio.c:1194: error: dereferencing pointer to incomplete type
ftdi_sio.c:1196: error: dereferencing pointer to incomplete type
ftdi_sio.c:1202: warning: passing argument 1 of ‘change_speed’ from 
incompatible pointer type
ftdi_sio.c: At top level:
ftdi_sio.c:1217: warning: ‘struct usb_serial’ declared inside parameter list
ftdi_sio.c: In function ‘ftdi_common_startup’:
ftdi_sio.c:1219: error: dereferencing pointer to incomplete type
ftdi_sio.c:1239: error: dereferencing pointer to incomplete type
ftdi_sio.c:1240: error: dereferencing pointer to incomplete type
ftdi_sio.c:1242: error: dereferencing pointer to incomplete type
ftdi_sio.c:1243: error: dereferencing pointer to incomplete type
ftdi_sio.c:1247: error: dereferencing pointer to incomplete type
ftdi_sio.c:1248: error: dereferencing pointer to incomplete type
ftdi_sio.c:1248: error: dereferencing pointer to incomplete type
ftdi_sio.c:1249: error: dereferencing pointer to incomplete type
ftdi_sio.c:1253: error: dereferencing pointer to incomplete type
ftdi_sio.c:1254: error: dereferencing pointer to incomplete type
ftdi_sio.c:1255: error: dereferencing pointer to incomplete type
ftdi_sio.c:1257: error: dereferencing pointer to incomplete type
ftdi_sio.c:1258: error: dereferencing pointer to incomplete type
ftdi_sio.c:1259: error: dereferencing pointer to incomplete type
ftdi_sio.c:1265: error: too few arguments to function ‘usb_alloc_urb’
ftdi_sio.c:1286: error: dereferencing pointer to incomplete type
ftdi_sio.c: At top level:
ftdi_sio.c:1294: warning: ‘struct usb_serial’ declared inside parameter list
ftdi_sio.c:1295: error: conflicting types for ‘ftdi_SIO_startup’
ftdi_sio.c:682: error: previous declaration of ‘ftdi_SIO_startup’ was here
ftdi_sio.c: In function ‘ftdi_SIO_startup’:
ftdi_sio.c:1301: warning: passing argument 1 of ‘ftdi_common_startup’ 
from incompatible pointer type
ftdi_sio.c:1306: error: dereferencing pointer to incomplete type
ftdi_sio.c: At top level:
ftdi_sio.c:1316: warning: ‘struct usb_serial’ declared inside parameter list
ftdi_sio.c:1317: error: conflicting types for ‘ftdi_8U232AM_startup’
ftdi_sio.c:683: error: previous declaration of ‘ftdi_8U232AM_startup’ 
was here
ftdi_sio.c: In function ‘ftdi_8U232AM_startup’:
ftdi_sio.c:1322: warning: passing argument 1 of ‘ftdi_common_startup’ 
from incompatible pointer type
ftdi_sio.c:1327: error: dereferencing pointer to incomplete type
ftdi_sio.c: At top level:
ftdi_sio.c:1336: warning: ‘struct usb_serial’ declared inside parameter list
ftdi_sio.c:1337: error: conflicting types for ‘ftdi_FT232BM_startup’
ftdi_sio.c:684: error: previous declaration of ‘ftdi_FT232BM_startup’ 
was here
ftdi_sio.c: In function ‘ftdi_FT232BM_startup’:
ftdi_sio.c:1342: warning: passing argument 1 of ‘ftdi_common_startup’ 
from incompatible pointer type
ftdi_sio.c:1347: error: dereferencing pointer to incomplete type
ftdi_sio.c: At top level:
ftdi_sio.c:1356: warning: ‘struct usb_serial’ declared inside parameter list
ftdi_sio.c:1357: error: conflicting types for ‘ftdi_FT2232C_startup’
ftdi_sio.c:685: error: previous declaration of ‘ftdi_FT2232C_startup’ 
was here
ftdi_sio.c: In function ‘ftdi_FT2232C_startup’:
ftdi_sio.c:1363: warning: passing argument 1 of ‘ftdi_common_startup’ 
from incompatible pointer type
ftdi_sio.c:1368: error: dereferencing pointer to incomplete type
ftdi_sio.c:1370: error: dereferencing pointer to incomplete type
ftdi_sio.c: At top level:
ftdi_sio.c:1385: warning: ‘struct usb_serial’ declared inside parameter list
ftdi_sio.c:1386: error: conflicting types for ‘ftdi_FT232R_startup’
ftdi_sio.c:686: error: previous declaration of ‘ftdi_FT232R_startup’ was 
here
ftdi_sio.c: In function ‘ftdi_FT232R_startup’:
ftdi_sio.c:1391: warning: passing argument 1 of ‘ftdi_common_startup’ 
from incompatible pointer type
ftdi_sio.c:1396: error: dereferencing pointer to incomplete type
ftdi_sio.c: At top level:
ftdi_sio.c:1405: warning: ‘struct usb_serial’ declared inside parameter list
ftdi_sio.c:1406: error: conflicting types for ‘ftdi_USB_UIRT_startup’
ftdi_sio.c:687: error: previous declaration of ‘ftdi_USB_UIRT_startup’ 
was here
ftdi_sio.c: In function ‘ftdi_USB_UIRT_startup’:
ftdi_sio.c:1411: warning: passing argument 1 of ‘ftdi_8U232AM_startup’ 
from incompatible pointer type
ftdi_sio.c:1416: error: dereferencing pointer to incomplete type
ftdi_sio.c: At top level:
ftdi_sio.c:1426: warning: ‘struct usb_serial’ declared inside parameter list
ftdi_sio.c:1427: error: conflicting types for ‘ftdi_HE_TIRA1_startup’
ftdi_sio.c:688: error: previous declaration of ‘ftdi_HE_TIRA1_startup’ 
was here
ftdi_sio.c: In function ‘ftdi_HE_TIRA1_startup’:
ftdi_sio.c:1432: warning: passing argument 1 of ‘ftdi_FT232BM_startup’ 
from incompatible pointer type
ftdi_sio.c:1437: error: dereferencing pointer to incomplete type
ftdi_sio.c: At top level:
ftdi_sio.c:1448: warning: ‘struct usb_serial’ declared inside parameter list
ftdi_sio.c:1449: error: conflicting types for ‘ftdi_userdev_startup’
ftdi_sio.c:689: error: previous declaration of ‘ftdi_userdev_startup’ 
was here
ftdi_sio.c: In function ‘ftdi_userdev_startup’:
ftdi_sio.c:1457: warning: passing argument 1 of ‘ftdi_8U232AM_startup’ 
from incompatible pointer type
ftdi_sio.c:1462: error: dereferencing pointer to incomplete type
ftdi_sio.c: At top level:
ftdi_sio.c:1477: warning: ‘struct usb_serial’ declared inside parameter list
ftdi_sio.c:1478: error: conflicting types for ‘ftdi_shutdown’
ftdi_sio.c:690: error: previous declaration of ‘ftdi_shutdown’ was here
ftdi_sio.c: In function ‘ftdi_shutdown’:
ftdi_sio.c:1480: error: dereferencing pointer to incomplete type
ftdi_sio.c:1481: error: dereferencing pointer to incomplete type
ftdi_sio.c:1493: error: dereferencing pointer to incomplete type
ftdi_sio.c:1513: error: dereferencing pointer to incomplete type
ftdi_sio.c:1514: error: dereferencing pointer to incomplete type
ftdi_sio.c:1515: error: dereferencing pointer to incomplete type
ftdi_sio.c: At top level:
ftdi_sio.c:1520: warning: ‘struct usb_serial_port’ declared inside 
parameter list
ftdi_sio.c:1521: error: conflicting types for ‘ftdi_open’
ftdi_sio.c:691: error: previous declaration of ‘ftdi_open’ was here
ftdi_sio.c: In function ‘ftdi_open’:
ftdi_sio.c:1523: error: dereferencing pointer to incomplete type
ftdi_sio.c:1524: error: dereferencing pointer to incomplete type
ftdi_sio.c:1532: error: dereferencing pointer to incomplete type
ftdi_sio.c:1536: error: dereferencing pointer to incomplete type
ftdi_sio.c:1536: error: dereferencing pointer to incomplete type
ftdi_sio.c:1539: error: ‘CONFIG_HZ’ undeclared (first use in this function)
ftdi_sio.c:1546: warning: passing argument 1 of ‘ftdi_set_termios’ from 
incompatible pointer type
ftdi_sio.c:1551: warning: passing argument 1 of ‘set_dtr’ from 
incompatible pointer type
ftdi_sio.c:1554: warning: passing argument 1 of ‘set_rts’ from 
incompatible pointer type
ftdi_sio.c:1559: warning: implicit declaration of function ‘FILL_BULK_URB’
ftdi_sio.c:1559: error: dereferencing pointer to incomplete type
ftdi_sio.c:1559: error: dereferencing pointer to incomplete type
ftdi_sio.c:1560: error: dereferencing pointer to incomplete type
ftdi_sio.c:1560: error: dereferencing pointer to incomplete type
ftdi_sio.c:1561: error: dereferencing pointer to incomplete type
ftdi_sio.c:1561: error: dereferencing pointer to incomplete type
ftdi_sio.c:1563: error: dereferencing pointer to incomplete type
ftdi_sio.c:1563: error: too few arguments to function ‘usb_submit_urb’
ftdi_sio.c: At top level:
ftdi_sio.c:1581: warning: ‘struct usb_serial_port’ declared inside 
parameter list
ftdi_sio.c:1582: error: conflicting types for ‘ftdi_close’
ftdi_sio.c:692: error: previous declaration of ‘ftdi_close’ was here
ftdi_sio.c: In function ‘ftdi_close’:
ftdi_sio.c:1584: error: dereferencing pointer to incomplete type
ftdi_sio.c:1585: error: dereferencing pointer to incomplete type
ftdi_sio.c:1591: warning: implicit declaration of function ‘get_usb_serial’
ftdi_sio.c:1591: warning: assignment makes pointer from integer without 
a cast
ftdi_sio.c:1595: error: dereferencing pointer to incomplete type
ftdi_sio.c:1598: error: dereferencing pointer to incomplete type
ftdi_sio.c:1599: error: dereferencing pointer to incomplete type
ftdi_sio.c:1602: error: ‘CONFIG_HZ’ undeclared (first use in this function)
ftdi_sio.c:1607: warning: passing argument 1 of ‘set_dtr’ from 
incompatible pointer type
ftdi_sio.c:1611: warning: passing argument 1 of ‘set_rts’ from 
incompatible pointer type
ftdi_sio.c:1617: error: dereferencing pointer to incomplete type
ftdi_sio.c:1618: error: dereferencing pointer to incomplete type
ftdi_sio.c: At top level:
ftdi_sio.c:1639: warning: ‘struct usb_serial_port’ declared inside 
parameter list
ftdi_sio.c:1640: error: conflicting types for ‘ftdi_write’
ftdi_sio.c:693: error: previous declaration of ‘ftdi_write’ was here
ftdi_sio.c: In function ‘ftdi_write’:
ftdi_sio.c:1641: warning: initialization makes pointer from integer 
without a cast
ftdi_sio.c:1642: error: dereferencing pointer to incomplete type
ftdi_sio.c:1725: warning: implicit declaration of function 
‘usb_serial_debug_data’
ftdi_sio.c:1728: error: dereferencing pointer to incomplete type
ftdi_sio.c:1729: error: dereferencing pointer to incomplete type
ftdi_sio.c:1729: error: dereferencing pointer to incomplete type
ftdi_sio.c:1732: error: ‘USB_QUEUE_BULK’ undeclared (first use in this 
function)
ftdi_sio.c:1739: error: too few arguments to function ‘usb_submit_urb’
ftdi_sio.c: In function ‘ftdi_write_bulk_callback’:
ftdi_sio.c:1769: warning: implicit declaration of function 
‘port_paranoia_check’
ftdi_sio.c:1779: error: dereferencing pointer to incomplete type
ftdi_sio.c:1780: warning: implicit declaration of function ‘queue_task’
ftdi_sio.c:1780: error: dereferencing pointer to incomplete type
ftdi_sio.c:1780: error: ‘tq_immediate’ undeclared (first use in this 
function)
ftdi_sio.c:1781: warning: implicit declaration of function ‘mark_bh’
ftdi_sio.c:1781: error: ‘IMMEDIATE_BH’ undeclared (first use in this 
function)
ftdi_sio.c: At top level:
ftdi_sio.c:1786: warning: ‘struct usb_serial_port’ declared inside 
parameter list
ftdi_sio.c:1787: error: conflicting types for ‘ftdi_write_room’
ftdi_sio.c:694: error: previous declaration of ‘ftdi_write_room’ was here
ftdi_sio.c: In function ‘ftdi_write_room’:
ftdi_sio.c:1788: error: dereferencing pointer to incomplete type
ftdi_sio.c: At top level:
ftdi_sio.c:1810: warning: ‘struct usb_serial_port’ declared inside 
parameter list
ftdi_sio.c:1811: error: conflicting types for ‘ftdi_chars_in_buffer’
ftdi_sio.c:695: error: previous declaration of ‘ftdi_chars_in_buffer’ 
was here
ftdi_sio.c: In function ‘ftdi_chars_in_buffer’:
ftdi_sio.c:1815: error: dereferencing pointer to incomplete type
ftdi_sio.c: In function ‘ftdi_read_bulk_callback’:
ftdi_sio.c:1856: error: ‘USB_QUEUE_BULK’ undeclared (first use in this 
function)
ftdi_sio.c:1864: error: dereferencing pointer to incomplete type
ftdi_sio.c:1867: warning: assignment makes pointer from integer without 
a cast
ftdi_sio.c:1873: error: dereferencing pointer to incomplete type
ftdi_sio.c:1879: error: dereferencing pointer to incomplete type
ftdi_sio.c:1938: error: ‘struct tty_struct’ has no member named ‘flip’
ftdi_sio.c:1978: error: dereferencing pointer to incomplete type
ftdi_sio.c:1980: error: dereferencing pointer to incomplete type
ftdi_sio.c:1980: error: dereferencing pointer to incomplete type
ftdi_sio.c:1981: error: dereferencing pointer to incomplete type
ftdi_sio.c:1981: error: dereferencing pointer to incomplete type
ftdi_sio.c:1982: error: dereferencing pointer to incomplete type
ftdi_sio.c:1982: error: dereferencing pointer to incomplete type
ftdi_sio.c:1985: error: dereferencing pointer to incomplete type
ftdi_sio.c:1985: error: too few arguments to function ‘usb_submit_urb’
ftdi_sio.c: At top level:
ftdi_sio.c:1994: warning: ‘struct usb_serial_port’ declared inside 
parameter list
ftdi_sio.c:1995: error: conflicting types for ‘ftdi_break_ctl’
ftdi_sio.c:700: error: previous declaration of ‘ftdi_break_ctl’ was here
ftdi_sio.c: In function ‘ftdi_break_ctl’:
ftdi_sio.c:1996: error: dereferencing pointer to incomplete type
ftdi_sio.c:1997: error: dereferencing pointer to incomplete type
ftdi_sio.c:2012: error: dereferencing pointer to incomplete type
ftdi_sio.c:2012: error: dereferencing pointer to incomplete type
ftdi_sio.c:2016: error: ‘CONFIG_HZ’ undeclared (first use in this function)
ftdi_sio.c: At top level:
ftdi_sio.c:2030: warning: ‘struct usb_serial_port’ declared inside 
parameter list
ftdi_sio.c:2031: error: conflicting types for ‘ftdi_set_termios’
ftdi_sio.c:698: error: previous declaration of ‘ftdi_set_termios’ was here
ftdi_sio.c: In function ‘ftdi_set_termios’:
ftdi_sio.c:2032: error: dereferencing pointer to incomplete type
ftdi_sio.c:2034: error: dereferencing pointer to incomplete type
ftdi_sio.c:2039: error: dereferencing pointer to incomplete type
ftdi_sio.c:2046: error: dereferencing pointer to incomplete type
ftdi_sio.c:2048: error: dereferencing pointer to incomplete type
ftdi_sio.c:2049: error: dereferencing pointer to incomplete type
ftdi_sio.c:2055: error: dereferencing pointer to incomplete type
ftdi_sio.c:2058: error: dereferencing pointer to incomplete type
ftdi_sio.c:2091: error: dereferencing pointer to incomplete type
ftdi_sio.c:2091: error: dereferencing pointer to incomplete type
ftdi_sio.c:2102: error: dereferencing pointer to incomplete type
ftdi_sio.c:2102: error: dereferencing pointer to incomplete type
ftdi_sio.c:2106: error: ‘CONFIG_HZ’ undeclared (first use in this function)
ftdi_sio.c:2110: warning: passing argument 1 of ‘set_dtr’ from 
incompatible pointer type
ftdi_sio.c:2113: warning: passing argument 1 of ‘set_rts’ from 
incompatible pointer type
ftdi_sio.c:2119: warning: passing argument 1 of ‘change_speed’ from 
incompatible pointer type
ftdi_sio.c:2123: warning: passing argument 1 of ‘set_dtr’ from 
incompatible pointer type
ftdi_sio.c:2126: warning: passing argument 1 of ‘set_rts’ from 
incompatible pointer type
ftdi_sio.c:2135: error: dereferencing pointer to incomplete type
ftdi_sio.c:2136: error: dereferencing pointer to incomplete type
ftdi_sio.c:2157: error: dereferencing pointer to incomplete type
ftdi_sio.c:2158: error: dereferencing pointer to incomplete type
ftdi_sio.c:2161: error: dereferencing pointer to incomplete type
ftdi_sio.c:2162: error: dereferencing pointer to incomplete type
ftdi_sio.c:2173: error: dereferencing pointer to incomplete type
ftdi_sio.c:2174: error: dereferencing pointer to incomplete type
ftdi_sio.c: At top level:
ftdi_sio.c:2188: warning: ‘struct usb_serial_port’ declared inside 
parameter list
ftdi_sio.c:2189: error: conflicting types for ‘ftdi_ioctl’
ftdi_sio.c:699: error: previous declaration of ‘ftdi_ioctl’ was here
ftdi_sio.c: In function ‘ftdi_ioctl’:
ftdi_sio.c:2190: error: dereferencing pointer to incomplete type
ftdi_sio.c:2191: error: dereferencing pointer to incomplete type
ftdi_sio.c:2207: error: dereferencing pointer to incomplete type
ftdi_sio.c:2208: error: dereferencing pointer to incomplete type
ftdi_sio.c:2212: error: ‘CONFIG_HZ’ undeclared (first use in this function)
ftdi_sio.c:2222: error: dereferencing pointer to incomplete type
ftdi_sio.c:2223: error: dereferencing pointer to incomplete type
ftdi_sio.c:2251: warning: passing argument 1 of ‘set_dtr’ from 
incompatible pointer type
ftdi_sio.c:2256: warning: passing argument 1 of ‘set_rts’ from 
incompatible pointer type
ftdi_sio.c:2268: warning: passing argument 1 of ‘set_dtr’ from 
incompatible pointer type
ftdi_sio.c:2274: warning: passing argument 1 of ‘set_rts’ from 
incompatible pointer type
ftdi_sio.c:2287: warning: passing argument 1 of ‘set_dtr’ from 
incompatible pointer type
ftdi_sio.c:2293: warning: passing argument 1 of ‘set_rts’ from 
incompatible pointer type
ftdi_sio.c:2311: warning: passing argument 1 of ‘get_serial_info’ from 
incompatible pointer type
ftdi_sio.c:2314: warning: passing argument 1 of ‘set_serial_info’ from 
incompatible pointer type
ftdi_sio.c: At top level:
ftdi_sio.c:2370: warning: ‘struct usb_serial_port’ declared inside 
parameter list
ftdi_sio.c:2371: error: conflicting types for ‘ftdi_throttle’
ftdi_sio.c:701: error: previous declaration of ‘ftdi_throttle’ was here
ftdi_sio.c: In function ‘ftdi_throttle’:
ftdi_sio.c:2373: error: dereferencing pointer to incomplete type
ftdi_sio.c: At top level:
ftdi_sio.c:2377: warning: ‘struct usb_serial_port’ declared inside 
parameter list
ftdi_sio.c:2378: error: conflicting types for ‘ftdi_unthrottle’
ftdi_sio.c:702: error: previous declaration of ‘ftdi_unthrottle’ was here
ftdi_sio.c: In function ‘ftdi_unthrottle’:
ftdi_sio.c:2380: error: dereferencing pointer to incomplete type
ftdi_sio.c:2384: error: dereferencing pointer to incomplete type
ftdi_sio.c:2384: error: dereferencing pointer to incomplete type
ftdi_sio.c:2386: error: dereferencing pointer to incomplete type
ftdi_sio.c:2386: error: dereferencing pointer to incomplete type
ftdi_sio.c:2387: error: dereferencing pointer to incomplete type
ftdi_sio.c:2387: error: dereferencing pointer to incomplete type
ftdi_sio.c:2388: error: dereferencing pointer to incomplete type
ftdi_sio.c:2388: error: dereferencing pointer to incomplete type
ftdi_sio.c:2391: error: dereferencing pointer to incomplete type
ftdi_sio.c:2391: error: too few arguments to function ‘usb_submit_urb’
ftdi_sio.c: In function ‘ftdi_init’:
ftdi_sio.c:2400: warning: implicit declaration of function 
‘usb_serial_register’
ftdi_sio.c: In function ‘ftdi_exit’:
ftdi_sio.c:2428: warning: implicit declaration of function 
‘usb_serial_deregister’
ftdi_sio.c: At top level:
ftdi_sio.c:2447: error: expected ‘)’ before string constant
ftdi_sio.c:2450: error: expected ‘)’ before string constant
ftdi_sio.c:2453: error: expected ‘)’ before string constant
make: *** [ftdi_sio.o] Error 1

-------------- next part --------------
A non-text attachment was scrubbed...
Name: keithclark.vcf
Type: text/x-vcard
Size: 245 bytes
Desc: not available
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20080726/d5fb2ca1/attachment.vcf>


More information about the ubuntu-users mailing list