smcinit
Inviato: gio 27 set 2007, 1:38
Ciao!!!
sto installando smcinit per far funzionare la mia porta ad infrarossi di tipo FIR su toshiba 1900-303 però ogni volta mi genera degli errori:
root@darkstar:/irda/smcinit# ./configure
cat: VERSION: No such file or directory
cat: VERSION: No such file or directory
Building config.h
Building smcinit.lsm
Building smcinitredhat.spec
Building smcinitsuse.spec
root@darkstar:/irda/smcinit# make
gcc -c -pipe -Wall -W -O2 -o tosh1800-smcinit.o tosh1800-smcinit.c
tosh1800-smcinit.c:78: error: syntax error before "byte"
tosh1800-smcinit.c:78: warning: no semicolon at end of struct or union
tosh1800-smcinit.c:79: warning: type defaults to `int' in declaration of `or_mask'
tosh1800-smcinit.c:79: warning: data definition has no type or storage class
tosh1800-smcinit.c:82: error: elements of array `ali1533_ports' have incomplete type
tosh1800-smcinit.c:83: warning: excess elements in struct initializer
tosh1800-smcinit.c:83: warning: (near initialization for `ali1533_ports[0]')
tosh1800-smcinit.c:83: warning: excess elements in struct initializer
tosh1800-smcinit.c:83: warning: (near initialization for `ali1533_ports[0]')
tosh1800-smcinit.c:83: warning: excess elements in struct initializer
tosh1800-smcinit.c:83: warning: (near initialization for `ali1533_ports[0]')
tosh1800-smcinit.c:84: warning: excess elements in struct initializer
tosh1800-smcinit.c:84: warning: (near initialization for `ali1533_ports[1]')
tosh1800-smcinit.c:84: warning: excess elements in struct initializer
tosh1800-smcinit.c:84: warning: (near initialization for `ali1533_ports[1]')
tosh1800-smcinit.c:84: warning: excess elements in struct initializer
tosh1800-smcinit.c:84: warning: (near initialization for `ali1533_ports[1]')
tosh1800-smcinit.c:86: warning: excess elements in struct initializer
tosh1800-smcinit.c:86: warning: (near initialization for `ali1533_ports[2]')
tosh1800-smcinit.c:86: warning: excess elements in struct initializer
tosh1800-smcinit.c:86: warning: (near initialization for `ali1533_ports[2]')
tosh1800-smcinit.c:86: warning: excess elements in struct initializer
tosh1800-smcinit.c:86: warning: (near initialization for `ali1533_ports[2]')
tosh1800-smcinit.c:87: warning: excess elements in struct initializer
tosh1800-smcinit.c:87: warning: (near initialization for `ali1533_ports[3]')
tosh1800-smcinit.c:87: warning: excess elements in struct initializer
tosh1800-smcinit.c:87: warning: (near initialization for `ali1533_ports[3]')
tosh1800-smcinit.c:87: warning: excess elements in struct initializer
tosh1800-smcinit.c:87: warning: (near initialization for `ali1533_ports[3]')
tosh1800-smcinit.c:88: warning: excess elements in struct initializer
tosh1800-smcinit.c:88: warning: (near initialization for `ali1533_ports[4]')
tosh1800-smcinit.c:88: warning: excess elements in struct initializer
tosh1800-smcinit.c:88: warning: (near initialization for `ali1533_ports[4]')
tosh1800-smcinit.c:88: warning: excess elements in struct initializer
tosh1800-smcinit.c:88: warning: (near initialization for `ali1533_ports[4]')
tosh1800-smcinit.c:110: warning: excess elements in struct initializer
tosh1800-smcinit.c:110: warning: (near initialization for `ali1533_ports[5]')
tosh1800-smcinit.c:110: warning: excess elements in struct initializer
tosh1800-smcinit.c:110: warning: (near initialization for `ali1533_ports[5]')
tosh1800-smcinit.c:110: warning: excess elements in struct initializer
tosh1800-smcinit.c:110: warning: (near initialization for `ali1533_ports[5]')
tosh1800-smcinit.c:125: error: syntax error before "byte"
tosh1800-smcinit.c:125: warning: no semicolon at end of struct or union
tosh1800-smcinit.c:128: error: syntax error before '}' token
tosh1800-smcinit.c:130: error: elements of array `smc_chips' have incomplete type
tosh1800-smcinit.c:131: warning: excess elements in struct initializer
tosh1800-smcinit.c:131: warning: (near initialization for `smc_chips[0]')
tosh1800-smcinit.c:131: warning: excess elements in struct initializer
tosh1800-smcinit.c:131: warning: (near initialization for `smc_chips[0]')
tosh1800-smcinit.c:131: warning: excess elements in struct initializer
tosh1800-smcinit.c:131: warning: (near initialization for `smc_chips[0]')
tosh1800-smcinit.c:132: warning: excess elements in struct initializer
tosh1800-smcinit.c:132: warning: (near initialization for `smc_chips[1]')
tosh1800-smcinit.c:132: warning: excess elements in struct initializer
tosh1800-smcinit.c:132: warning: (near initialization for `smc_chips[1]')
tosh1800-smcinit.c:132: warning: excess elements in struct initializer
tosh1800-smcinit.c:132: warning: (near initialization for `smc_chips[1]')
tosh1800-smcinit.c: In function `find_ali1533_port_access_info':
tosh1800-smcinit.c:265: error: invalid use of undefined type `struct port_decoding_access_info'
tosh1800-smcinit.c:267: error: dereferencing pointer to incomplete type
tosh1800-smcinit.c:269: error: dereferencing pointer to incomplete type
tosh1800-smcinit.c:270: error: invalid application of `sizeof' to incomplete type `port_decoding_access_info'
tosh1800-smcinit.c:274: error: invalid use of undefined type `struct port_decoding_access_info'
tosh1800-smcinit.c: In function `print_ali1533_port_status':
tosh1800-smcinit.c:282: error: `byte' undeclared (first use in this function)
tosh1800-smcinit.c:282: error: (Each undeclared identifier is reported only once
tosh1800-smcinit.c:282: error: for each function it appears in.)
tosh1800-smcinit.c:282: error: syntax error before "onebyte"
tosh1800-smcinit.c:286: error: invalid use of undefined type `struct port_decoding_access_info'
tosh1800-smcinit.c:289: error: dereferencing pointer to incomplete type
tosh1800-smcinit.c:291: error: `onebyte' undeclared (first use in this function)
tosh1800-smcinit.c:291: error: dereferencing pointer to incomplete type
tosh1800-smcinit.c:292: error: dereferencing pointer to incomplete type
tosh1800-smcinit.c:293: error: dereferencing pointer to incomplete type
tosh1800-smcinit.c:295: error: invalid use of undefined type `struct port_decoding_access_info'
tosh1800-smcinit.c: In function `set_ali1533_port':
tosh1800-smcinit.c:307: error: storage size of 'info' isn't known
tosh1800-smcinit.c:308: error: `byte' undeclared (first use in this function)
tosh1800-smcinit.c:308: error: syntax error before "previousval"
tosh1800-smcinit.c:314: error: `previousval' undeclared (first use in this function)
tosh1800-smcinit.c:316: error: `and_mask' undeclared (first use in this function)
tosh1800-smcinit.c:318: error: `onebyte' undeclared (first use in this function)
tosh1800-smcinit.c:307: warning: unused variable `info'
tosh1800-smcinit.c: In function `configure_47N227_smc_ircc':
tosh1800-smcinit.c:430: error: `byte' undeclared (first use in this function)
tosh1800-smcinit.c:430: error: syntax error before "onebyte"
tosh1800-smcinit.c:458: error: `onebyte' undeclared (first use in this function)
tosh1800-smcinit.c: In function `find_smc_chip_model':
tosh1800-smcinit.c:519: error: invalid use of undefined type `struct smc_chip_model'
tosh1800-smcinit.c:519: error: dereferencing pointer to incomplete type
tosh1800-smcinit.c:520: error: invalid use of undefined type `struct smc_chip_model'
tosh1800-smcinit.c:520: error: dereferencing pointer to incomplete type
tosh1800-smcinit.c:521: error: invalid use of undefined type `struct smc_chip_model'
tosh1800-smcinit.c:521: error: dereferencing pointer to incomplete type
tosh1800-smcinit.c: In function `configure_smc_ircc':
tosh1800-smcinit.c:529: error: `byte' undeclared (first use in this function)
tosh1800-smcinit.c:529: error: syntax error before "version_id"
tosh1800-smcinit.c:543: error: `version_id' undeclared (first use in this function)
tosh1800-smcinit.c:545: error: `revision_id' undeclared (first use in this function)
tosh1800-smcinit.c:552: error: dereferencing pointer to incomplete type
tosh1800-smcinit.c:554: error: dereferencing pointer to incomplete type
tosh1800-smcinit.c:558: error: dereferencing pointer to incomplete type
tosh1800-smcinit.c: At top level:
tosh1800-smcinit.c:82: warning: array 'ali1533_ports' assumed to have one element
tosh1800-smcinit.c:82: error: storage size of `ali1533_ports' isn't known
make: *** [tosh1800-smcinit.o] Error 1
root@darkstar:/irda/smcinit#
Sapreste darmi un aiutino? Grazie mille!!!
un saluto.
sto installando smcinit per far funzionare la mia porta ad infrarossi di tipo FIR su toshiba 1900-303 però ogni volta mi genera degli errori:
root@darkstar:/irda/smcinit# ./configure
cat: VERSION: No such file or directory
cat: VERSION: No such file or directory
Building config.h
Building smcinit.lsm
Building smcinitredhat.spec
Building smcinitsuse.spec
root@darkstar:/irda/smcinit# make
gcc -c -pipe -Wall -W -O2 -o tosh1800-smcinit.o tosh1800-smcinit.c
tosh1800-smcinit.c:78: error: syntax error before "byte"
tosh1800-smcinit.c:78: warning: no semicolon at end of struct or union
tosh1800-smcinit.c:79: warning: type defaults to `int' in declaration of `or_mask'
tosh1800-smcinit.c:79: warning: data definition has no type or storage class
tosh1800-smcinit.c:82: error: elements of array `ali1533_ports' have incomplete type
tosh1800-smcinit.c:83: warning: excess elements in struct initializer
tosh1800-smcinit.c:83: warning: (near initialization for `ali1533_ports[0]')
tosh1800-smcinit.c:83: warning: excess elements in struct initializer
tosh1800-smcinit.c:83: warning: (near initialization for `ali1533_ports[0]')
tosh1800-smcinit.c:83: warning: excess elements in struct initializer
tosh1800-smcinit.c:83: warning: (near initialization for `ali1533_ports[0]')
tosh1800-smcinit.c:84: warning: excess elements in struct initializer
tosh1800-smcinit.c:84: warning: (near initialization for `ali1533_ports[1]')
tosh1800-smcinit.c:84: warning: excess elements in struct initializer
tosh1800-smcinit.c:84: warning: (near initialization for `ali1533_ports[1]')
tosh1800-smcinit.c:84: warning: excess elements in struct initializer
tosh1800-smcinit.c:84: warning: (near initialization for `ali1533_ports[1]')
tosh1800-smcinit.c:86: warning: excess elements in struct initializer
tosh1800-smcinit.c:86: warning: (near initialization for `ali1533_ports[2]')
tosh1800-smcinit.c:86: warning: excess elements in struct initializer
tosh1800-smcinit.c:86: warning: (near initialization for `ali1533_ports[2]')
tosh1800-smcinit.c:86: warning: excess elements in struct initializer
tosh1800-smcinit.c:86: warning: (near initialization for `ali1533_ports[2]')
tosh1800-smcinit.c:87: warning: excess elements in struct initializer
tosh1800-smcinit.c:87: warning: (near initialization for `ali1533_ports[3]')
tosh1800-smcinit.c:87: warning: excess elements in struct initializer
tosh1800-smcinit.c:87: warning: (near initialization for `ali1533_ports[3]')
tosh1800-smcinit.c:87: warning: excess elements in struct initializer
tosh1800-smcinit.c:87: warning: (near initialization for `ali1533_ports[3]')
tosh1800-smcinit.c:88: warning: excess elements in struct initializer
tosh1800-smcinit.c:88: warning: (near initialization for `ali1533_ports[4]')
tosh1800-smcinit.c:88: warning: excess elements in struct initializer
tosh1800-smcinit.c:88: warning: (near initialization for `ali1533_ports[4]')
tosh1800-smcinit.c:88: warning: excess elements in struct initializer
tosh1800-smcinit.c:88: warning: (near initialization for `ali1533_ports[4]')
tosh1800-smcinit.c:110: warning: excess elements in struct initializer
tosh1800-smcinit.c:110: warning: (near initialization for `ali1533_ports[5]')
tosh1800-smcinit.c:110: warning: excess elements in struct initializer
tosh1800-smcinit.c:110: warning: (near initialization for `ali1533_ports[5]')
tosh1800-smcinit.c:110: warning: excess elements in struct initializer
tosh1800-smcinit.c:110: warning: (near initialization for `ali1533_ports[5]')
tosh1800-smcinit.c:125: error: syntax error before "byte"
tosh1800-smcinit.c:125: warning: no semicolon at end of struct or union
tosh1800-smcinit.c:128: error: syntax error before '}' token
tosh1800-smcinit.c:130: error: elements of array `smc_chips' have incomplete type
tosh1800-smcinit.c:131: warning: excess elements in struct initializer
tosh1800-smcinit.c:131: warning: (near initialization for `smc_chips[0]')
tosh1800-smcinit.c:131: warning: excess elements in struct initializer
tosh1800-smcinit.c:131: warning: (near initialization for `smc_chips[0]')
tosh1800-smcinit.c:131: warning: excess elements in struct initializer
tosh1800-smcinit.c:131: warning: (near initialization for `smc_chips[0]')
tosh1800-smcinit.c:132: warning: excess elements in struct initializer
tosh1800-smcinit.c:132: warning: (near initialization for `smc_chips[1]')
tosh1800-smcinit.c:132: warning: excess elements in struct initializer
tosh1800-smcinit.c:132: warning: (near initialization for `smc_chips[1]')
tosh1800-smcinit.c:132: warning: excess elements in struct initializer
tosh1800-smcinit.c:132: warning: (near initialization for `smc_chips[1]')
tosh1800-smcinit.c: In function `find_ali1533_port_access_info':
tosh1800-smcinit.c:265: error: invalid use of undefined type `struct port_decoding_access_info'
tosh1800-smcinit.c:267: error: dereferencing pointer to incomplete type
tosh1800-smcinit.c:269: error: dereferencing pointer to incomplete type
tosh1800-smcinit.c:270: error: invalid application of `sizeof' to incomplete type `port_decoding_access_info'
tosh1800-smcinit.c:274: error: invalid use of undefined type `struct port_decoding_access_info'
tosh1800-smcinit.c: In function `print_ali1533_port_status':
tosh1800-smcinit.c:282: error: `byte' undeclared (first use in this function)
tosh1800-smcinit.c:282: error: (Each undeclared identifier is reported only once
tosh1800-smcinit.c:282: error: for each function it appears in.)
tosh1800-smcinit.c:282: error: syntax error before "onebyte"
tosh1800-smcinit.c:286: error: invalid use of undefined type `struct port_decoding_access_info'
tosh1800-smcinit.c:289: error: dereferencing pointer to incomplete type
tosh1800-smcinit.c:291: error: `onebyte' undeclared (first use in this function)
tosh1800-smcinit.c:291: error: dereferencing pointer to incomplete type
tosh1800-smcinit.c:292: error: dereferencing pointer to incomplete type
tosh1800-smcinit.c:293: error: dereferencing pointer to incomplete type
tosh1800-smcinit.c:295: error: invalid use of undefined type `struct port_decoding_access_info'
tosh1800-smcinit.c: In function `set_ali1533_port':
tosh1800-smcinit.c:307: error: storage size of 'info' isn't known
tosh1800-smcinit.c:308: error: `byte' undeclared (first use in this function)
tosh1800-smcinit.c:308: error: syntax error before "previousval"
tosh1800-smcinit.c:314: error: `previousval' undeclared (first use in this function)
tosh1800-smcinit.c:316: error: `and_mask' undeclared (first use in this function)
tosh1800-smcinit.c:318: error: `onebyte' undeclared (first use in this function)
tosh1800-smcinit.c:307: warning: unused variable `info'
tosh1800-smcinit.c: In function `configure_47N227_smc_ircc':
tosh1800-smcinit.c:430: error: `byte' undeclared (first use in this function)
tosh1800-smcinit.c:430: error: syntax error before "onebyte"
tosh1800-smcinit.c:458: error: `onebyte' undeclared (first use in this function)
tosh1800-smcinit.c: In function `find_smc_chip_model':
tosh1800-smcinit.c:519: error: invalid use of undefined type `struct smc_chip_model'
tosh1800-smcinit.c:519: error: dereferencing pointer to incomplete type
tosh1800-smcinit.c:520: error: invalid use of undefined type `struct smc_chip_model'
tosh1800-smcinit.c:520: error: dereferencing pointer to incomplete type
tosh1800-smcinit.c:521: error: invalid use of undefined type `struct smc_chip_model'
tosh1800-smcinit.c:521: error: dereferencing pointer to incomplete type
tosh1800-smcinit.c: In function `configure_smc_ircc':
tosh1800-smcinit.c:529: error: `byte' undeclared (first use in this function)
tosh1800-smcinit.c:529: error: syntax error before "version_id"
tosh1800-smcinit.c:543: error: `version_id' undeclared (first use in this function)
tosh1800-smcinit.c:545: error: `revision_id' undeclared (first use in this function)
tosh1800-smcinit.c:552: error: dereferencing pointer to incomplete type
tosh1800-smcinit.c:554: error: dereferencing pointer to incomplete type
tosh1800-smcinit.c:558: error: dereferencing pointer to incomplete type
tosh1800-smcinit.c: At top level:
tosh1800-smcinit.c:82: warning: array 'ali1533_ports' assumed to have one element
tosh1800-smcinit.c:82: error: storage size of `ali1533_ports' isn't known
make: *** [tosh1800-smcinit.o] Error 1
root@darkstar:/irda/smcinit#
Sapreste darmi un aiutino? Grazie mille!!!
un saluto.