View previous topic :: View next topic |
Author |
Message |
jaymz Apprentice
Joined: 07 Nov 2002 Posts: 171 Location: /dev/chair
|
Posted: Sun Jan 05, 2003 12:44 pm Post subject: lirc - strange error occured |
|
|
well guys, everything is said in the topic....
I tried to emerge lirc but during the process here is what I received :
Code: |
gcc -D__KERNEL__ -I/usr/src/linux-2.4.19-gentoo-r10/include -Wall -Wstrict-prototypes -Wno-trigraphs -Os -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i686 -DMODULE -DMODVERSIONS -include /usr/src/linux-2.4.19-gentoo-r10/include/linux/modversions.h -DHAVE_CONFIG_H -I. -I. -I../.. -nostdinc -DKBUILD_BASENAME=lirc_parallel -c -o lirc_parallel.o lirc_parallel.c
lirc_parallel.c:48:2: #error "--- Sorry, this driver is not SMP safe. ---"
make[3]: *** [lirc_parallel.o] Erreur 1
make[3]: Leaving directory `/home/bservais/temp/compil/portage/lirc-0.6.5/work/lirc-0.6.5/drivers/lirc_parallel'
make[2]: *** [_mod_/home/bservais/temp/compil/portage/lirc-0.6.5/work/lirc-0.6.5/drivers/lirc_parallel] Erreur 2
make[2]: Leaving directory `/usr/src/linux-2.4.19-gentoo-r10'
make[1]: *** [lirc_parallel.o] Erreur 2
make[1]: Leaving directory `/home/bservais/temp/compil/portage/lirc-0.6.5/work/lirc-0.6.5/drivers/lirc_parallel'
make: *** [all-recursive] Erreur 1
make: Leaving directory `/home/bservais/temp/compil/portage/lirc-0.6.5/work/lirc-0.6.5/drivers'
!!! ERROR: app-misc/lirc-0.6.5 failed.
!!! Function src_compile, Line 83, Exitcode 2
!!! (no error message)
--------------------------- ACCESS VIOLATION SUMMARY ---------------------------
LOG FILE = "/tmp/sandbox-lirc-0.6.5-5614.log"
open_wr: /usr/src/linux-2.4.19-gentoo-r10/include/config/MARKER
--------------------------------------------------------------------------------
|
could somebody please help me with this one?
thansk |
|
Back to top |
|
|
m0pr0be Guru
Joined: 29 Aug 2002 Posts: 308
|
Posted: Sun Jan 05, 2003 3:24 pm Post subject: |
|
|
Quote: | lirc_parallel.c:48:2: #error "--- Sorry, this driver is not SMP safe. ---" |
i think this is quite obvious. it seems that you have SMP support enabled in your kernel.
try do disable SMP support in your kernel if you dont need it. |
|
Back to top |
|
|
faithfull n00b
Joined: 06 Jun 2002 Posts: 67
|
Posted: Sun Jan 05, 2003 7:51 pm Post subject: |
|
|
m0pr0be wrote: | Quote: | lirc_parallel.c:48:2: #error "--- Sorry, this driver is not SMP safe. ---" |
i think this is quite obvious. it seems that you have SMP support enabled in your kernel.
try do disable SMP support in your kernel if you dont need it. | This is not a solution! Imagine if Xfree doesn't compile with your GL hardware accelleration enabled and someone tells you to compile X without!
I have a multiprocessor PC and if i can choose to live without a processor or live without lirc I definitively choose to live without lirc.
Maybe some modification to the ebuild can be done. |
|
Back to top |
|
|
Carlos Guru
Joined: 07 Aug 2002 Posts: 458 Location: Providence, RI
|
Posted: Thu Jan 09, 2003 6:35 am Post subject: |
|
|
I have the same problem, and turning off SMP in the kernel gets rid of the Code: | lirc_parallel.c:48:2: #error "--- Sorry, this driver is not SMP safe. ---" | but the ebuild still fails with a similar access violation. _________________ Man must shape his tools lest they shape him. |
|
Back to top |
|
|
rac Bodhisattva
Joined: 30 May 2002 Posts: 6553 Location: Japanifornia
|
Posted: Thu Jan 09, 2003 7:48 am Post subject: |
|
|
For discussion on the SMP issue, keep it here. For the sandbox violation issue, let's move the discussion to HELP!! Emerging lirc with gcc 3.2 fails. Hopefully that will make the discussion(s) easier to follow. Thanks to Carlos for tracking down these related threads. _________________ For every higher wall, there is a taller ladder |
|
Back to top |
|
|
faithfull n00b
Joined: 06 Jun 2002 Posts: 67
|
Posted: Thu Jan 09, 2003 8:11 am Post subject: Ebuild |
|
|
There's a bug yet filled: https://bugs.gentoo.org/show_bug.cgi?id=13241
There is also a solution in the url above a new ebuild that solves the problem. If you have an SMP machine this ebuild do NOT compile the parallel driver else all works as normal. |
|
Back to top |
|
|
Henning Apprentice
Joined: 08 Sep 2002 Posts: 196 Location: Braunschweig
|
Posted: Tue Jan 14, 2003 5:22 pm Post subject: |
|
|
Hi,
I have the same problem when compiling lirc on my DUAL CPU System. But if you don't need support of the parallel port, you can compile it only with serial support.
(Most IR receivers) It's working perfect.
Here my option in /etc/make.conf
LIRC_OPTS="--with-driver=serial"
Henning |
|
Back to top |
|
|
mlybarger Guru
Joined: 04 Sep 2002 Posts: 475
|
Posted: Thu Jan 23, 2003 2:07 am Post subject: same problem |
|
|
by using
Code: |
LIRC_OPTS="--with-driver=serial" emerge lirc
|
i was able to get this to build, but i can't understand why my desktop is installing infrared remote software? i don't have remote control for my machine?!? |
|
Back to top |
|
|
|