Portál AbcLinuxu, 12. května 2025 15:35
Zdravim!
Mam takovy priblem - snazim se zprovoznit IrDA pomoci tohoto navodu:
http://www.tldp.org/HOWTO/Infrared-HOWTO/infrared-howto-s-software.html
Bohuzel se mi to nedari hned ze zacatku. Stahnul jsem si irda-utils verze 0.9.17 a pri zadani prikazu make all mi to temer u konce vyhodi tohle:
smcinit.c: In function ‘set_smc’:
smcinit.c:265: error: ‘word’ undeclared (first use in this function)
smcinit.c:265: error: (Each undeclared identifier is reported only once
smcinit.c:265: error: for each function it appears in.)
smcinit.c:265: error: expected ‘;’ before ‘twobyte’
smcinit.c:282: error: too few arguments to function ‘pci_get_dev’
smcinit.c:284: error: ‘twobyte’ undeclared (first use in this function)
make[1]: *** [smcinit.o] Error 1
make: [all] Error 2 (ignored)
Vychazi mi z toho, ze je nejaky problem v smcinit.c - zkusil jsem cele utils stahnout znovu, ale problem se opakuje. Nevi nekdo, co s tim?
Predem samozrejme dekuji za vsechny rady.
P.S.: Pouzivam Fedora Core 5 na notebooku FS Lifebook B2545
Stáhněte si aktuální verzi irda-utils z SVN. Má v changelogu tohle:
Fixed compilation failure, and ported to the latest pciutils API.
Tiskni
Sdílej:
ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.