smcinit

Se avete problemi con l'installazione e la configurazione di Slackware postate qui. Non usate questo forum per argomenti generali... per quelli usate Gnu/Linux in genere.

Moderatore: Staff

Regole del forum
1) Citare sempre la versione di Slackware usata, la versione del Kernel e magari anche la versione della libreria coinvolta. Questi dati aiutano le persone che possono rispondere.
2) Per evitare confusione prego inserire in questo forum solo topic che riguardano appunto Slackware, se l'argomento è generale usate il forum Gnu/Linux in genere.
3) Leggere attentamente le risposte ricevute.
4) Scrivere i messaggi con il colore di default, evitare altri colori.
5) Scrivere in Italiano o in Inglese, se possibile grammaticalmente corretto, evitate stili di scrittura poco chiari, quindi nessuna abbreviazione tipo telegramma o scrittura stile SMS o CHAT.
6) Appena registrati è consigliato presentarsi nel forum dedicato.

La non osservanza delle regole porta a provvedimenti di vari tipo da parte dello staff, in particolare la non osservanza della regola 5 porta alla cancellazione del post e alla segnalazione dell'utente. In caso di recidività l'utente rischia il ban temporaneo.
Rispondi
Avatar utente
omino
Linux 0.x
Linux 0.x
Messaggi: 73
Iscritto il: dom 20 mar 2005, 0:00
Contatta:

smcinit

Messaggio da omino »

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. :)

Avatar utente
j0kers
Linux 2.x
Linux 2.x
Messaggi: 418
Iscritto il: dom 22 lug 2007, 1:31
Slackware: 13
Kernel: 2.6.32
Desktop: xfce4

Messaggio da j0kers »

Posso aver detto una cretinata ma prova a vedere se hai i sorgenti del kernel in /usr/src/linux se non li hai scaricali e scomprimili in quella dir e riprova a compilare 8)

Avatar utente
omino
Linux 0.x
Linux 0.x
Messaggi: 73
Iscritto il: dom 20 mar 2005, 0:00
Contatta:

Messaggio da omino »

Ho provato a ricompilare però quando faccio make bzimage mi dice che nn trova nulla... al che deduco che devo scaricalo... però col mio gprs sarebbe una cosa troooppo lunga. comunque ho ricompilato i moduli e le irda li ho messi come moduli.... però quando vado a mettere smcinit mi da sempre i soliti errori... vabbè, ho trovato la 12.0 in edicola... a questo punto provo con quella.... però un pò mi rode che con la 11.00 nn si possa installare smcinit.
Ciaooooo :)

Avatar utente
omino
Linux 0.x
Linux 0.x
Messaggi: 73
Iscritto il: dom 20 mar 2005, 0:00
Contatta:

Messaggio da omino »

ecco, ho installato la 12.00 ma mi da lo stesso problema di prima...
e mo che faccio? rimetto la 10.00?
però è un peccato....
nella 12.00 inoltre mi da un errore all'avvio e nn mi mette le icone sul desktop...... vabbè, poco male, però come faccio a collegarmi col cellulare alla porta a infrarossi?
Grazie ancora,
Ciaooo. :)

Rispondi