Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
lirc - strange error occured
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
jaymz
Apprentice
Apprentice


Joined: 07 Nov 2002
Posts: 171
Location: /dev/chair

PostPosted: Sun Jan 05, 2003 12:44 pm    Post subject: lirc - strange error occured Reply with quote

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
View user's profile Send private message
m0pr0be
Guru
Guru


Joined: 29 Aug 2002
Posts: 308

PostPosted: Sun Jan 05, 2003 3:24 pm    Post subject: Reply with quote

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
View user's profile Send private message
faithfull
n00b
n00b


Joined: 06 Jun 2002
Posts: 67

PostPosted: Sun Jan 05, 2003 7:51 pm    Post subject: Reply with quote

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
View user's profile Send private message
Carlos
Guru
Guru


Joined: 07 Aug 2002
Posts: 458
Location: Providence, RI

PostPosted: Thu Jan 09, 2003 6:35 am    Post subject: Reply with quote

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
View user's profile Send private message
rac
Bodhisattva
Bodhisattva


Joined: 30 May 2002
Posts: 6553
Location: Japanifornia

PostPosted: Thu Jan 09, 2003 7:48 am    Post subject: Reply with quote

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
View user's profile Send private message
faithfull
n00b
n00b


Joined: 06 Jun 2002
Posts: 67

PostPosted: Thu Jan 09, 2003 8:11 am    Post subject: Ebuild Reply with quote

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
View user's profile Send private message
Henning
Apprentice
Apprentice


Joined: 08 Sep 2002
Posts: 196
Location: Braunschweig

PostPosted: Tue Jan 14, 2003 5:22 pm    Post subject: Reply with quote

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
View user's profile Send private message
mlybarger
Guru
Guru


Joined: 04 Sep 2002
Posts: 475

PostPosted: Thu Jan 23, 2003 2:07 am    Post subject: same problem Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum