View previous topic :: View next topic |
Author |
Message |
hd.brummy n00b
Joined: 09 Nov 2002 Posts: 12 Location: Germany
|
Posted: Thu Apr 15, 2004 3:07 pm Post subject: compile error bei lirc ab version 0.7 |
|
|
Hallo liebe Gemeinde,
ich versuche schon seit einiger Zeit Lirc zu installieren. Da functioniert auch problemlos bis zur 0.6.x Versionen. Ab der 0.7.x Version bekomme ich folgende Fehler meldungen:
Code: |
config.status: creating drivers/lirc_serial/Makefile
config.status: executing default-1 commands
make[3]: Leaving directory `/tmp/portage/lirc-0.7.0_pre4/work/lirc-0.7.0pre4/drivers/lirc_serial'
make[3]: Entering directory `/tmp/portage/lirc-0.7.0_pre4/work/lirc-0.7.0pre4/drivers/lirc_serial'
mv Makefile Makefile.automake
cp ../Makefile.kernel Makefile
make -C /usr/src/linux/ SUBDIRS=/tmp/portage/lirc-0.7.0_pre4/work/lirc-0.7.0pre4/drivers/lirc_serial modules \
KBUILD_VERBOSE=1
make[4]: Entering directory `/usr/src/linux-2.4.25_pre7-gss-r2'
make -C /tmp/portage/lirc-0.7.0_pre4/work/lirc-0.7.0pre4/drivers/lirc_serial CFLAGS="-D__KERNEL__ -I/usr/src/linux-2.4.25_pre7-gss-r2/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i686 -DMODULE -DMODVERSIONS -include /usr/src/linux-2.4.25_pre7-gss-r2/include/linux/modversions.h"
MAKING_MODULES=1 modules
make[5]: Entering directory `/tmp/portage/lirc-0.7.0_pre4/work/lirc-0.7.0pre4/drivers/lirc_serial'
gcc -D__KERNEL__ -I/usr/src/linux-2.4.25_pre7-gss-r2/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i686 -DMODULE -DMODVERSIONS -include /usr/src/linux-2.4.25_pre7-gss-r2/include/linux/modversions.h -DIRCTL_DEV_MAJOR=61 -DEXPORT_SYMTAB -DHAVE_CONFIG_H -I. -I. -I../.. -I /tmp/portage/lirc-0.7.0_pre4/work/lirc-0.7.0pre4/drivers/lirc_serial/../.. -I /usr/src/linux//include/ -nostdinc -iwithprefix include -DKBUILD_BASENAME=lirc_serial -c -o lirc_serial.o lirc_serial.c
lirc_serial.c:103:2: Warnung: #warning "Software carrier only affects transmitting"
lirc_serial.c:109:2: Warnung: #warning "Note: using rdtsc instruction"
lirc_serial.c:263: error: Syntaxfehler before ';' token
lirc_serial.c:264: error: Syntaxfehler before ';' token
make[5]: *** [lirc_serial.o] Fehler 1
make[5]: Leaving directory `/tmp/portage/lirc-0.7.0_pre4/work/lirc-0.7.0pre4/drivers/lirc_serial'
make[4]: *** [_mod_/tmp/portage/lirc-0.7.0_pre4/work/lirc-0.7.0pre4/drivers/lirc_serial] Fehler 2
make[4]: Leaving directory `/usr/src/linux-2.4.25_pre7-gss-r2'
make[3]: *** [lirc_serial.o] Fehler 2
make[3]: Leaving directory `/tmp/portage/lirc-0.7.0_pre4/work/lirc-0.7.0pre4/drivers/lirc_serial'
make[2]: *** [all-recursive] Fehler 1
make[2]: Leaving directory `/tmp/portage/lirc-0.7.0_pre4/work/lirc-0.7.0pre4/drivers'
make[1]: *** [all-recursive] Fehler 1
make[1]: Leaving directory `/tmp/portage/lirc-0.7.0_pre4/work/lirc-0.7.0pre4'
make: *** [all] Fehler 2
!!! ERROR: app-misc/lirc-0.7.0_pre4 failed.
!!! Function src_compile, Line 95, Exitcode 2
!!! (no error message)
|
Hat jemand 'ne Idee Dazu
Danke Joerg |
|
Back to top |
|
|
hd.brummy n00b
Joined: 09 Nov 2002 Posts: 12 Location: Germany
|
Posted: Sat Apr 17, 2004 5:44 pm Post subject: |
|
|
Na gut,
Selbst ist der Mann.
Die Fehlermeldungen resultieren daraus das zum kompilieren ab 0.7.x der voraussichtliche IRQ und IO-Port benötigt werden.
Code: |
LIRC_OPTS="--with-driver=serial --with-irq=4 --with-port=0x3F8" emerge lirc
|
wäre das Beispiel um lirc am COM 1 zum laufen zu bringen.
Gruss Jörg |
|
Back to top |
|
|
|