Source code install assistance required

Discussion in 'Acer Aspire One' started by MikeParkes, Aug 27, 2008.

  1. MikeParkes

    MikeParkes

    Joined:
    Aug 25, 2008
    Messages:
    21
    Likes Received:
    0
    The Linpus helpdesk has advised me that the problems I had in installing the FTDI USB Serial driver "is due to lack of Kernel source code for building". I have therefore downloaded the source code zip file and extracted its contents to a temporary file. I have also installed rpmdevtools but on reading the instructions at http://docs.fedoraproject.org/drafts/rp ... build.html I am lost as to what commands to enter.
     
    MikeParkes, Aug 27, 2008
    #1
  2. MikeParkes

    sideways

    Joined:
    Aug 21, 2008
    Messages:
    172
    Likes Received:
    0
    Don't use that source code, use the vanilla kernel from kernel.org.

    Build instructions are here

    If you have the source code for the serial driver then you just need steps 2,3 and 4, and make a symbolic link from /usr/src/linux to /usr/src/linux-2.6.23-9lw
    Code:
    sudo ln -s /usr/src/linux-2.6.23-9lw /usr/src/linux
    Otherwise select the required module during the 'make menuconfig' part of the kernel compile
     
    sideways, Aug 27, 2008
    #2
  3. MikeParkes

    MikeParkes

    Joined:
    Aug 25, 2008
    Messages:
    21
    Likes Received:
    0
    I picked the FTDI test driver from menuconfig but still got the same install problem when I tried to make the proper version. I then though the problem may be because I had not done a full install of the kernel ( having picked make modules rather than make all) so I tried the install of the source code again but on running make all it completed in a couple of minutes rather than the 20 specified. Should I have selected something in menuconfig?

    The error message on running make for the FTDI driver is

    /mnt/home/temp/Rules.make:24: /lib/modules/2.6.23.9lw/build/.config: No such file or directory
    make: *** No rule to make target `/lib/modules/2.6.23.9lw/build/.config'. Stop.
     
    MikeParkes, Aug 28, 2008
    #3
  4. MikeParkes

    sideways

    Joined:
    Aug 21, 2008
    Messages:
    172
    Likes Received:
    0
    The compile time will be less than 20 minutes since most object files already exist from a previous compile, if you run 'make clean' you'll get a full compile again.

    The build directory error you get is due to a bad symlink, to correct it type this
    Code:
    sudo ln -s /usr/src/linux-2.6.23.9lw /usr/src/linux-2.6.23.9
     
    sideways, Aug 29, 2008
    #4
  5. MikeParkes

    MikeParkes

    Joined:
    Aug 25, 2008
    Messages:
    21
    Likes Received:
    0
    Thanks sideways - got rid of that error message

    but now get a number of errors that exceeds terminals capacity so this is just a selection from the end of it

    /lib/modules/2.6.23.9lw/build/include/linux/jiffies.h:225:31: error: division by zero in #if
    repeats a number of time

    /lib/modules/2.6.23.9lw/build/include/asm/irq.h:15:25: error: irq_vectors.h: No such file or directory
    /lib/modules/2.6.23.9lw/build/include/asm/hardirq.h:12: error: requested alignment is not a constant
    /lib/modules/2.6.23.9lw/build/include/linux/usb.h:976: error: ‘KBUILD_MODNAME’ undeclared (first use in this function)
    /lib/modules/2.6.23.9lw/build/include/linux/usb.h:976: error: (Each undeclared identifier is reported only once
    /lib/modules/2.6.23.9lw/build/include/linux/usb.h:976: error: for each function it appears in.)
    ftdi_sio.c:253:24: error: usb-serial.h: No such file or directory
    ftdi_sio.c:709: error: variable ‘ftdi_SIO_device’ has initializer but incomplete type
    ftdi_sio.c:710: error: unknown field ‘owner’ specified in initializer
    ftdi_sio.c:710: warning: excess elements in struct initializer
    ftdi_sio.c:710: warning: (near initialization for ‘ftdi_SIO_device’)
    ftdi_sio.c:711: error: unknown field ‘name’ specified in initializer
    ftdi_sio.c:711: warning: excess elements in struct initializer
    ftdi_sio.c:711: warning: (near initialization for ‘ftdi_SIO_device’)
    ftdi_sio.c:712: error: unknown field ‘id_table’ specified in initializer
    ftdi_sio.c:712: warning: excess elements in struct initializer
    ftdi_sio.c:712: warning: (near initialization for ‘ftdi_SIO_device’)
    ftdi_sio.c:713: error: unknown field ‘num_interrupt_in’ specified in initializer
    ftdi_sio.c:713: warning: excess elements in struct initializer
    ftdi_sio.c:713: warning: (near initialization for ‘ftdi_SIO_device’)
    ftdi_sio.c:714: error: unknown field ‘num_bulk_in’ specified in initializer
    ftdi_sio.c:714: warning: excess elements in struct initializer
    ftdi_sio.c:714: warning: (near initialization for ‘ftdi_SIO_device’)
    ftdi_sio.c:715: error: unknown field ‘num_bulk_out’ specified in initializer
    ftdi_sio.c:715: warning: excess elements in struct initializer
    ftdi_sio.c:715: warning: (near initialization for ‘ftdi_SIO_device’)
    ftdi_sio.c:716: error: unknown field ‘num_ports’ specified in initializer
    ftdi_sio.c:716: warning: excess elements in struct initializer
    ftdi_sio.c:716: warning: (near initialization for ‘ftdi_SIO_device’)
    ftdi_sio.c:717: error: unknown field ‘open’ specified in initializer
    ftdi_sio.c:717: warning: excess elements in struct initializer
    ftdi_sio.c:717: warning: (near initialization for ‘ftdi_SIO_device’)
    ftdi_sio.c:718: error: unknown field ‘close’ specified in initializer
    ftdi_sio.c:718: warning: excess elements in struct initializer
    ftdi_sio.c:718: warning: (near initialization for ‘ftdi_SIO_device’)
    ftdi_sio.c:719: error: unknown field ‘throttle’ specified in initializer
    ftdi_sio.c:719: warning: excess elements in struct initializer
    ftdi_sio.c:719: warning: (near initialization for ‘ftdi_SIO_device’)
    ftdi_sio.c:720: error: unknown field ‘unthrottle’ specified in initializer
    ftdi_sio.c:720: warning: excess elements in struct initializer
    ftdi_sio.c:720: warning: (near initialization for ‘ftdi_SIO_device’)
    ftdi_sio.c:721: error: unknown field ‘write’ specified in initializer
    ftdi_sio.c:721: warning: excess elements in struct initializer
    ftdi_sio.c:721: warning: (near initialization for ‘ftdi_SIO_device’)
    ftdi_sio.c:722: error: unknown field ‘write_room’ specified in initializer
    ftdi_sio.c:722: warning: excess elements in struct initializer
    ftdi_sio.c:722: warning: (near initialization for ‘ftdi_SIO_device’)
    ftdi_sio.c:723: error: unknown field ‘chars_in_buffer’ specified in initializer
    ftdi_sio.c:723: warning: excess elements in struct initializer
    ftdi_sio.c:723: warning: (near initialization for ‘ftdi_SIO_device’)
    ftdi_sio.c:724: error: unknown field ‘read_bulk_callback’ specified in initializer
    ftdi_sio.c:724: warning: excess elements in struct initializer
    ftdi_sio.c:724: warning: (near initialization for ‘ftdi_SIO_device’)
    ftdi_sio.c:725: error: unknown field ‘write_bulk_callback’ specified in initializer
    ftdi_sio.c:725: warning: excess elements in struct initializer
    ftdi_sio.c:725: warning: (near initialization for ‘ftdi_SIO_device’)
    ftdi_sio.c:726: error: unknown field ‘ioctl’ specified in initializer
    ftdi_sio.c:726: warning: excess elements in struct initializer
    ftdi_sio.c:726: warning: (near initialization for ‘ftdi_SIO_device’)
    ftdi_sio.c:727: error: unknown field ‘set_termios’ specified in initializer
    ftdi_sio.c:727: warning: excess elements in struct initializer
    ftdi_sio.c:727: warning: (near initialization for ‘ftdi_SIO_device’)
    ftdi_sio.c:728: error: unknown field ‘break_ctl’ specified in initializer
    ftdi_sio.c:728: warning: excess elements in struct initializer
    ftdi_sio.c:728: warning: (near initialization for ‘ftdi_SIO_device’)
    ftdi_sio.c:729: error: unknown field ‘startup’ specified in initializer
    ftdi_sio.c:729: warning: excess elements in struct initializer
    ftdi_sio.c:729: warning: (near initialization for ‘ftdi_SIO_device’)
    ftdi_sio.c:730: error: unknown field ‘shutdown’ specified in initializer
    ftdi_sio.c:730: warning: excess elements in struct initializer
    ftdi_sio.c:730: warning: (near initialization for ‘ftdi_SIO_device’)
    ftdi_sio.c:733: error: variable ‘ftdi_8U232AM_device’ has initializer but incomplete type
    ftdi_sio.c:734: error: unknown field ‘owner’ specified in initializer
    ftdi_sio.c:734: warning: excess elements in struct initializer
    ftdi_sio.c:734: warning: (near initialization for ‘ftdi_8U232AM_device’)
    ftdi_sio.c:735: error: unknown field ‘name’ specified in initializer
    ftdi_sio.c:735: warning: excess elements in struct initializer
    ftdi_sio.c:735: warning: (near initialization for ‘ftdi_8U232AM_device’)
    ftdi_sio.c:736: error: unknown field ‘id_table’ specified in initializer
    ftdi_sio.c:736: warning: excess elements in struct initializer
    ftdi_sio.c:736: warning: (near initialization for ‘ftdi_8U232AM_device’)
    ftdi_sio.c:737: error: unknown field ‘num_interrupt_in’ specified in initializer
    ftdi_sio.c:737: warning: excess elements in struct initializer
    ftdi_sio.c:737: warning: (near initialization for ‘ftdi_8U232AM_device’)
    ftdi_sio.c:738: error: unknown field ‘num_bulk_in’ specified in initializer
    ftdi_sio.c:738: warning: excess elements in struct initializer
    ftdi_sio.c:738: warning: (near initialization for ‘ftdi_8U232AM_device’)
    ftdi_sio.c:739: error: unknown field ‘num_bulk_out’ specified in initializer
    ftdi_sio.c:739: warning: excess elements in struct initializer
    ftdi_sio.c:739: warning: (near initialization for ‘ftdi_8U232AM_device’)
    ftdi_sio.c:740: error: unknown field ‘num_ports’ specified in initializer
    ftdi_sio.c:740: warning: excess elements in struct initializer
    ftdi_sio.c:740: warning: (near initialization for ‘ftdi_8U232AM_device’)
    ftdi_sio.c:741: error: unknown field ‘open’ specified in initializer
    ftdi_sio.c:741: warning: excess elements in struct initializer
    ftdi_sio.c:741: warning: (near initialization for ‘ftdi_8U232AM_device’)
    ftdi_sio.c:742: error: unknown field ‘close’ specified in initializer
    ftdi_sio.c:742: warning: excess elements in struct initializer
    ftdi_sio.c:742: warning: (near initialization for ‘ftdi_8U232AM_device’)
    ftdi_sio.c:743: error: unknown field ‘throttle’ specified in initializer
    ftdi_sio.c:743: warning: excess elements in struct initializer
    ftdi_sio.c:743: warning: (near initialization for ‘ftdi_8U232AM_device’)
    ftdi_sio.c:744: error: unknown field ‘unthrottle’ specified in initializer
    ftdi_sio.c:744: warning: excess elements in struct initializer
    ftdi_sio.c:744: warning: (near initialization for ‘ftdi_8U232AM_device’)
    ftdi_sio.c:745: error: unknown field ‘write’ specified in initializer
    ftdi_sio.c:745: warning: excess elements in struct initializer
    ftdi_sio.c:745: warning: (near initialization for ‘ftdi_8U232AM_device’)
    ftdi_sio.c:746: error: unknown field ‘write_room’ specified in initializer
    ftdi_sio.c:746: warning: excess elements in struct initializer
    ftdi_sio.c:746: warning: (near initialization for ‘ftdi_8U232AM_device’)
    ftdi_sio.c:747: error: unknown field ‘chars_in_buffer’ specified in initializer
    ftdi_sio.c:747: warning: excess elements in struct initializer
    ftdi_sio.c:747: warning: (near initialization for ‘ftdi_8U232AM_device’)
    ftdi_sio.c:748: error: unknown field ‘read_bulk_callback’ specified in initializer
    ftdi_sio.c:748: warning: excess elements in struct initializer
    ftdi_sio.c:748: warning: (near initialization for ‘ftdi_8U232AM_device’)
    ftdi_sio.c:749: error: unknown field ‘write_bulk_callback’ specified in initializer
    ftdi_sio.c:749: warning: excess elements in struct initializer
    ftdi_sio.c:749: warning: (near initialization for ‘ftdi_8U232AM_device’)
    ftdi_sio.c:750: error: unknown field ‘ioctl’ specified in initializer
    ftdi_sio.c:750: warning: excess elements in struct initializer
    ftdi_sio.c:750: warning: (near initialization for ‘ftdi_8U232AM_device’)
    ftdi_sio.c:751: error: unknown field ‘set_termios’ specified in initializer
    ftdi_sio.c:751: warning: excess elements in struct initializer
    ftdi_sio.c:751: warning: (near initialization for ‘ftdi_8U232AM_device’)
    ftdi_sio.c:752: error: unknown field ‘break_ctl’ specified in initializer
    ftdi_sio.c:752: warning: excess elements in struct initializer
    ftdi_sio.c:752: warning: (near initialization for ‘ftdi_8U232AM_device’)
    ftdi_sio.c:753: error: unknown field ‘startup’ specified in initializer
    ftdi_sio.c:753: warning: excess elements in struct initializer
    ftdi_sio.c:753: warning: (near initialization for ‘ftdi_8U232AM_device’)
    ftdi_sio.c:754: error: unknown field ‘shutdown’ specified in initializer
    ftdi_sio.c:754: warning: excess elements in struct initializer
    ftdi_sio.c:754: warning: (near initialization for ‘ftdi_8U232AM_device’)
    ftdi_sio.c:757: error: variable ‘ftdi_FT232BM_device’ has initializer but incomplete type
    ftdi_sio.c:758: error: unknown field ‘owner’ specified in initializer
    ftdi_sio.c:758: warning: excess elements in struct initializer
    ftdi_sio.c:758: warning: (near initialization for ‘ftdi_FT232BM_device’)
    ftdi_sio.c:759: error: unknown field ‘name’ specified in initializer
    ftdi_sio.c:759: warning: excess elements in struct initializer
    ftdi_sio.c:759: warning: (near initialization for ‘ftdi_FT232BM_device’)
    ftdi_sio.c:760: error: unknown field ‘id_table’ specified in initializer
    ftdi_sio.c:760: warning: excess elements in struct initializer
    ftdi_sio.c:760: warning: (near initialization for ‘ftdi_FT232BM_device’)
    ftdi_sio.c:761: error: unknown field ‘num_interrupt_in’ specified in initializer
    ftdi_sio.c:761: warning: excess elements in struct initializer
    ftdi_sio.c:761: warning: (near initialization for ‘ftdi_FT232BM_device’)
    ftdi_sio.c:762: error: unknown field ‘num_bulk_in’ specified in initializer
    ftdi_sio.c:762: warning: excess elements in struct initializer
    ftdi_sio.c:762: warning: (near initialization for ‘ftdi_FT232BM_device’)
    ftdi_sio.c:763: error: unknown field ‘num_bulk_out’ specified in initializer
    ftdi_sio.c:763: warning: excess elements in struct initializer
    ftdi_sio.c:763: warning: (near initialization for ‘ftdi_FT232BM_device’)
    ftdi_sio.c:764: error: unknown field ‘num_ports’ specified in initializer
    ftdi_sio.c:764: warning: excess elements in struct initializer
    ftdi_sio.c:764: warning: (near initialization for ‘ftdi_FT232BM_device’)
    ftdi_sio.c:765: error: unknown field ‘open’ specified in initializer
    ftdi_sio.c:765: warning: excess elements in struct initializer
    ftdi_sio.c:765: warning: (near initialization for ‘ftdi_FT232BM_device’)
    ftdi_sio.c:766: error: unknown field ‘close’ specified in initializer
    ftdi_sio.c:766: warning: excess elements in struct initializer
    ftdi_sio.c:766: warning: (near initialization for ‘ftdi_FT232BM_device’)
    ftdi_sio.c:767: error: unknown field ‘throttle’ specified in initializer
    ftdi_sio.c:767: warning: excess elements in struct initializer
    ftdi_sio.c:767: warning: (near initialization for ‘ftdi_FT232BM_device’)
    ftdi_sio.c:768: error: unknown field ‘unthrottle’ specified in initializer
    ftdi_sio.c:768: warning: excess elements in struct initializer
    ftdi_sio.c:768: warning: (near initialization for ‘ftdi_FT232BM_device’)
    ftdi_sio.c:769: error: unknown field ‘write’ specified in initializer
    ftdi_sio.c:769: warning: excess elements in struct initializer
    ftdi_sio.c:769: warning: (near initialization for ‘ftdi_FT232BM_device’)
    ftdi_sio.c:770: error: unknown field ‘write_room’ specified in initializer
    ftdi_sio.c:770: warning: excess elements in struct initializer
    ftdi_sio.c:770: warning: (near initialization for ‘ftdi_FT232BM_device’)
    ftdi_sio.c:771: error: unknown field ‘chars_in_buffer’ specified in initializer
    ftdi_sio.c:771: warning: excess elements in struct initializer
    ftdi_sio.c:771: warning: (near initialization for ‘ftdi_FT232BM_device’)
    ftdi_sio.c:772: error: unknown field ‘read_bulk_callback’ specified in initializer
    ftdi_sio.c:772: warning: excess elements in struct initializer
    ftdi_sio.c:772: warning: (near initialization for ‘ftdi_FT232BM_device’)
    ftdi_sio.c:773: error: unknown field ‘write_bulk_callback’ specified in initializer
    ftdi_sio.c:773: warning: excess elements in struct initializer
    ftdi_sio.c:773: warning: (near initialization for ‘ftdi_FT232BM_device’)
    ftdi_sio.c:774: error: unknown field ‘ioctl’ specified in initializer
    ftdi_sio.c:774: warning: excess elements in struct initializer
    ftdi_sio.c:774: warning: (near initialization for ‘ftdi_FT232BM_device’)
    ftdi_sio.c:775: error: unknown field ‘set_termios’ specified in initializer
    ftdi_sio.c:775: warning: excess elements in struct initializer
    ftdi_sio.c:775: warning: (near initialization for ‘ftdi_FT232BM_device’)
    ftdi_sio.c:776: error: unknown field ‘break_ctl’ specified in initializer
    ftdi_sio.c:776: warning: excess elements in struct initializer
    ftdi_sio.c:776: warning: (near initialization for ‘ftdi_FT232BM_device’)
    ftdi_sio.c:777: error: unknown field ‘startup’ specified in initializer
    ftdi_sio.c:777: warning: excess elements in struct initializer
    ftdi_sio.c:777: warning: (near initialization for ‘ftdi_FT232BM_device’)
    ftdi_sio.c:778: error: unknown field ‘shutdown’ specified in initializer
    ftdi_sio.c:778: warning: excess elements in struct initializer
    ftdi_sio.c:778: warning: (near initialization for ‘ftdi_FT232BM_device’)
    ftdi_sio.c:781: error: variable ‘ftdi_FT2232C_device’ has initializer but incomplete type
    ftdi_sio.c:782: error: unknown field ‘owner’ specified in initializer
    ftdi_sio.c:782: warning: excess elements in struct initializer
    ftdi_sio.c:782: warning: (near initialization for ‘ftdi_FT2232C_device’)
    ftdi_sio.c:783: error: unknown field ‘name’ specified in initializer
    ftdi_sio.c:783: warning: excess elements in struct initializer
    ftdi_sio.c:783: warning: (near initialization for ‘ftdi_FT2232C_device’)
    ftdi_sio.c:784: error: unknown field ‘id_table’ specified in initializer
    ftdi_sio.c:784: warning: excess elements in struct initializer
    ftdi_sio.c:784: warning: (near initialization for ‘ftdi_FT2232C_device’)
    ftdi_sio.c:785: error: unknown field ‘num_interrupt_in’ specified in initializer
    ftdi_sio.c:785: warning: excess elements in struct initializer
    ftdi_sio.c:785: warning: (near initialization for ‘ftdi_FT2232C_device’)
    ftdi_sio.c:786: error: unknown field ‘num_bulk_in’ specified in initializer
    ftdi_sio.c:786: warning: excess elements in struct initializer
    ftdi_sio.c:786: warning: (near initialization for ‘ftdi_FT2232C_device’)
    ftdi_sio.c:787: error: unknown field ‘num_bulk_out’ specified in initializer
    ftdi_sio.c:787: warning: excess elements in struct initializer
    ftdi_sio.c:787: warning: (near initialization for ‘ftdi_FT2232C_device’)
    ftdi_sio.c:788: error: unknown field ‘num_ports’ specified in initializer
    ftdi_sio.c:788: warning: excess elements in struct initializer
    ftdi_sio.c:788: warning: (near initialization for ‘ftdi_FT2232C_device’)
    ftdi_sio.c:789: error: unknown field ‘open’ specified in initializer
    ftdi_sio.c:789: warning: excess elements in struct initializer
    ftdi_sio.c:789: warning: (near initialization for ‘ftdi_FT2232C_device’)
    ftdi_sio.c:790: error: unknown field ‘close’ specified in initializer
    ftdi_sio.c:790: warning: excess elements in struct initializer
    ftdi_sio.c:790: warning: (near initialization for ‘ftdi_FT2232C_device’)
    ftdi_sio.c:791: error: unknown field ‘throttle’ specified in initializer
    ftdi_sio.c:791: warning: excess elements in struct initializer
    ftdi_sio.c:791: warning: (near initialization for ‘ftdi_FT2232C_device’)
    ftdi_sio.c:792: error: unknown field ‘unthrottle’ specified in initializer
    ftdi_sio.c:792: warning: excess elements in struct initializer
    ftdi_sio.c:792: warning: (near initialization for ‘ftdi_FT2232C_device’)
    ftdi_sio.c:793: error: unknown field ‘write’ specified in initializer
    ftdi_sio.c:793: warning: excess elements in struct initializer
    ftdi_sio.c:793: warning: (near initialization for ‘ftdi_FT2232C_device’)
    ftdi_sio.c:794: error: unknown field ‘write_room’ specified in initializer
    ftdi_sio.c:794: warning: excess elements in struct initializer
    ftdi_sio.c:794: warning: (near initialization for ‘ftdi_FT2232C_device’)
    ftdi_sio.c:795: error: unknown field ‘chars_in_buffer’ specified in initializer
    ftdi_sio.c:795: warning: excess elements in struct initializer
    ftdi_sio.c:795: warning: (near initialization for ‘ftdi_FT2232C_device’)
    ftdi_sio.c:796: error: unknown field ‘read_bulk_callback’ specified in initializer
    ftdi_sio.c:796: warning: excess elements in struct initializer
    ftdi_sio.c:796: warning: (near initialization for ‘ftdi_FT2232C_device’)
    ftdi_sio.c:797: error: unknown field ‘write_bulk_callback’ specified in initializer
    ftdi_sio.c:797: warning: excess elements in struct initializer
    ftdi_sio.c:797: warning: (near initialization for ‘ftdi_FT2232C_device’)
    ftdi_sio.c:798: error: unknown field ‘ioctl’ specified in initializer
    ftdi_sio.c:798: warning: excess elements in struct initializer
    ftdi_sio.c:798: warning: (near initialization for ‘ftdi_FT2232C_device’)
    ftdi_sio.c:799: error: unknown field ‘set_termios’ specified in initializer
    ftdi_sio.c:799: warning: excess elements in struct initializer
    ftdi_sio.c:799: warning: (near initialization for ‘ftdi_FT2232C_device’)
    ftdi_sio.c:800: error: unknown field ‘break_ctl’ specified in initializer
    ftdi_sio.c:800: warning: excess elements in struct initializer
    ftdi_sio.c:800: warning: (near initialization for ‘ftdi_FT2232C_device’)
    ftdi_sio.c:801: error: unknown field ‘startup’ specified in initializer
    ftdi_sio.c:801: warning: excess elements in struct initializer
    ftdi_sio.c:801: warning: (near initialization for ‘ftdi_FT2232C_device’)
    ftdi_sio.c:802: error: unknown field ‘shutdown’ specified in initializer
    ftdi_sio.c:802: warning: excess elements in struct initializer
    ftdi_sio.c:802: warning: (near initialization for ‘ftdi_FT2232C_device’)
    ftdi_sio.c:805: error: variable ‘ftdi_FT232R_device’ has initializer but incomplete type
    ftdi_sio.c:806: error: unknown field ‘owner’ specified in initializer
    ftdi_sio.c:806: warning: excess elements in struct initializer
    ftdi_sio.c:806: warning: (near initialization for ‘ftdi_FT232R_device’)
    ftdi_sio.c:807: error: unknown field ‘name’ specified in initializer
    ftdi_sio.c:807: warning: excess elements in struct initializer
    ftdi_sio.c:807: warning: (near initialization for ‘ftdi_FT232R_device’)
    ftdi_sio.c:808: error: unknown field ‘id_table’ specified in initializer
    ftdi_sio.c:808: warning: excess elements in struct initializer
    ftdi_sio.c:808: warning: (near initialization for ‘ftdi_FT232R_device’)
    ftdi_sio.c:809: error: unknown field ‘num_interrupt_in’ specified in initializer
    ftdi_sio.c:809: warning: excess elements in struct initializer
    ftdi_sio.c:809: warning: (near initialization for ‘ftdi_FT232R_device’)
    ftdi_sio.c:810: error: unknown field ‘num_bulk_in’ specified in initializer
    ftdi_sio.c:810: warning: excess elements in struct initializer
    ftdi_sio.c:810: warning: (near initialization for ‘ftdi_FT232R_device’)
    ftdi_sio.c:811: error: unknown field ‘num_bulk_out’ specified in initializer
    ftdi_sio.c:811: warning: excess elements in struct initializer
    ftdi_sio.c:811: warning: (near initialization for ‘ftdi_FT232R_device’)
    ftdi_sio.c:812: error: unknown field ‘num_ports’ specified in initializer
    ftdi_sio.c:812: warning: excess elements in struct initializer
    ftdi_sio.c:812: warning: (near initialization for ‘ftdi_FT232R_device’)
    ftdi_sio.c:813: error: unknown field ‘open’ specified in initializer
    ftdi_sio.c:813: warning: excess elements in struct initializer
    ftdi_sio.c:813: warning: (near initialization for ‘ftdi_FT232R_device’)
    ftdi_sio.c:814: error: unknown field ‘close’ specified in initializer
    ftdi_sio.c:814: warning: excess elements in struct initializer
    ftdi_sio.c:814: warning: (near initialization for ‘ftdi_FT232R_device’)
    ftdi_sio.c:815: error: unknown field ‘throttle’ specified in initializer
    ftdi_sio.c:815: warning: excess elements in struct initializer
    ftdi_sio.c:815: warning: (near initialization for ‘ftdi_FT232R_device’)
    ftdi_sio.c:816: error: unknown field ‘unthrottle’ specified in initializer
    ftdi_sio.c:816: warning: excess elements in struct initializer
    ftdi_sio.c:816: warning: (near initialization for ‘ftdi_FT232R_device’)
    ftdi_sio.c:817: error: unknown field ‘write’ specified in initializer
    ftdi_sio.c:817: warning: excess elements in struct initializer
    ftdi_sio.c:817: warning: (near initialization for ‘ftdi_FT232R_device’)
    ftdi_sio.c:818: error: unknown field ‘write_room’ specified in initializer
    ftdi_sio.c:818: warning: excess elements in struct initializer
    ftdi_sio.c:818: warning: (near initialization for ‘ftdi_FT232R_device’)
    ftdi_sio.c:819: error: unknown field ‘chars_in_buffer’ specified in initializer
    ftdi_sio.c:819: warning: excess elements in struct initializer
    ftdi_sio.c:819: warning: (near initialization for ‘ftdi_FT232R_device’)
    ftdi_sio.c:820: error: unknown field ‘read_bulk_callback’ specified in initializer
    ftdi_sio.c:820: warning: excess elements in struct initializer
    ftdi_sio.c:820: warning: (near initialization for ‘ftdi_FT232R_device’)
    ftdi_sio.c:821: error: unknown field ‘write_bulk_callback’ specified in initializer
    ftdi_sio.c:821: warning: excess elements in struct initializer
    ftdi_sio.c:821: warning: (near initialization for ‘ftdi_FT232R_device’)
    ftdi_sio.c:822: error: unknown field ‘ioctl’ specified in initializer
    ftdi_sio.c:822: warning: excess elements in struct initializer
    ftdi_sio.c:822: warning: (near initialization for ‘ftdi_FT232R_device’)
    ftdi_sio.c:823: error: unknown field ‘set_termios’ specified in initializer
    ftdi_sio.c:823: warning: excess elements in struct initializer
    ftdi_sio.c:823: warning: (near initialization for ‘ftdi_FT232R_device’)
    ftdi_sio.c:824: error: unknown field ‘break_ctl’ specified in initializer
    ftdi_sio.c:824: warning: excess elements in struct initializer
    ftdi_sio.c:824: warning: (near initialization for ‘ftdi_FT232R_device’)
    ftdi_sio.c:825: error: unknown field ‘startup’ specified in initializer
    ftdi_sio.c:825: warning: excess elements in struct initializer
    ftdi_sio.c:825: warning: (near initialization for ‘ftdi_FT232R_device’)
    ftdi_sio.c:826: error: unknown field ‘shutdown’ specified in initializer
    ftdi_sio.c:826: warning: excess elements in struct initializer
    ftdi_sio.c:826: warning: (near initialization for ‘ftdi_FT232R_device’)
    ftdi_sio.c:829: error: variable ‘ftdi_USB_UIRT_device’ has initializer but incomplete type
    ftdi_sio.c:830: error: unknown field ‘owner’ specified in initializer
    ftdi_sio.c:830: warning: excess elements in struct initializer
    ftdi_sio.c:830: warning: (near initialization for ‘ftdi_USB_UIRT_device’)
    ftdi_sio.c:831: error: unknown field ‘name’ specified in initializer
    ftdi_sio.c:831: warning: excess elements in struct initializer
    ftdi_sio.c:831: warning: (near initialization for ‘ftdi_USB_UIRT_device’)
    ftdi_sio.c:832: error: unknown field ‘id_table’ specified in initializer
    ftdi_sio.c:832: warning: excess elements in struct initializer
    ftdi_sio.c:832: warning: (near initialization for ‘ftdi_USB_UIRT_device’)
    ftdi_sio.c:833: error: unknown field ‘num_interrupt_in’ specified in initializer
    ftdi_sio.c:833: warning: excess elements in struct initializer
    ftdi_sio.c:833: warning: (near initialization for ‘ftdi_USB_UIRT_device’)
    ftdi_sio.c:834: error: unknown field ‘num_bulk_in’ specified in initializer
    ftdi_sio.c:834: warning: excess elements in struct initializer
    ftdi_sio.c:834: warning: (near initialization for ‘ftdi_USB_UIRT_device’)
    ftdi_sio.c:835: error: unknown field ‘num_bulk_out’ specified in initializer
    ftdi_sio.c:835: warning: excess elements in struct initializer
    ftdi_sio.c:835: warning: (near initialization for ‘ftdi_USB_UIRT_device’)
    ftdi_sio.c:836: error: unknown field ‘num_ports’ specified in initializer
    ftdi_sio.c:836: warning: excess elements in struct initializer
    ftdi_sio.c:836: warning: (near initialization for ‘ftdi_USB_UIRT_device’)
    ftdi_sio.c:837: error: unknown field ‘open’ specified in initializer
    ftdi_sio.c:837: warning: excess elements in struct initializer
    ftdi_sio.c:837: warning: (near initialization for ‘ftdi_USB_UIRT_device’)
    ftdi_sio.c:838: error: unknown field ‘close’ specified in initializer
    ftdi_sio.c:838: warning: excess elements in struct initializer
    ftdi_sio.c:838: warning: (near initialization for ‘ftdi_USB_UIRT_device’)
    ftdi_sio.c:839: error: unknown field ‘throttle’ specified in initializer
    ftdi_sio.c:839: warning: excess elements in struct initializer
    ftdi_sio.c:839: warning: (near initialization for ‘ftdi_USB_UIRT_device’)
    ftdi_sio.c:840: error: unknown field ‘unthrottle’ specified in initializer
    ftdi_sio.c:840: warning: excess elements in struct initializer
    ftdi_sio.c:840: warning: (near initialization for ‘ftdi_USB_UIRT_device’)
    ftdi_sio.c:841: error: unknown field ‘write’ specified in initializer
    ftdi_sio.c:841: warning: excess elements in struct initializer
    ftdi_sio.c:841: warning: (near initialization for ‘ftdi_USB_UIRT_device’)
    ftdi_sio.c:842: error: unknown field ‘write_room’ specified in initializer
    ftdi_sio.c:842: warning: excess elements in struct initializer
    ftdi_sio.c:842: warning: (near initialization for ‘ftdi_USB_UIRT_device’)
    ftdi_sio.c:843: error: unknown field ‘chars_in_buffer’ specified in initializer
    ftdi_sio.c:843: warning: excess elements in struct initializer
    ftdi_sio.c:843: warning: (near initialization for ‘ftdi_USB_UIRT_device’)
    ftdi_sio.c:844: error: unknown field ‘read_bulk_callback’ specified in initializer
    ftdi_sio.c:844: warning: excess elements in struct initializer
    ftdi_sio.c:844: warning: (near initialization for ‘ftdi_USB_UIRT_device’)
    ftdi_sio.c:845: error: unknown field ‘write_bulk_callback’ specified in initializer
    ftdi_sio.c:845: warning: excess elements in struct initializer
    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
     
    MikeParkes, Aug 29, 2008
    #5
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.