Unix Technical Forum

lirc with gcc-3.4

This is a discussion on lirc with gcc-3.4 within the Slackware Linux Support forums, part of the Unix Operating Systems category; --> Hi all, I hope somebody can help me with an lirc and gcc problem. I'm running Slackware10 with Linux-2.6.7 ...


Go Back   Unix Technical Forum > Unix Operating Systems > Slackware Linux Support

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-19-2008, 03:06 PM
Alex
 
Posts: n/a
Default lirc with gcc-3.4

Hi all, I hope somebody can help me with an lirc and gcc problem.

I'm running Slackware10 with Linux-2.6.7 and gcc-3.4.2, and I've compiled
the latest lirc from cvs. But when I try to load it with 'modprobe
lirc_serial' it gives me this:

WARNING: Error inserting lirc_dev (/lib/modules/2.6.7/misc/lirc_dev.ko): Invalid module format
FATAL: Error inserting lirc_serial (/lib/modules/2.6.7/misc/lirc_serial.ko): Invalid module format

And dmesg tells me this:

lirc_dev: version magic '2.6.7 486 gcc-3.4' should be '2.6.7 486 gcc-3.3'
lirc_dev: version magic '2.6.7 486 gcc-3.4' should be '2.6.7 486 gcc-3.3'
lirc_serial: version magic '2.6.7 486 gcc-3.4' should be '2.6.7 486 gcc-3.3'
lirc_dev: version magic '2.6.7 486 gcc-3.4' should be '2.6.7 486 gcc-3.3'
lirc_serial: version magic '2.6.7 486 gcc-3.4' should be '2.6.7 486 gcc-3.3'
lirc_dev: version magic '2.6.7 486 gcc-3.4' should be '2.6.7 486 gcc-3.3'
lirc_serial: version magic '2.6.7 486 gcc-3.4' should be '2.6.7 486 gcc-3.3'

So lirc doesn't work with gcc-3.4 and needs gcc-3.3. Is there anything I
can do to make it work with gcc-3.4 or do I just need to install gcc-3.3?

--

.......GNU......

Omnis enim res,
quae dando non deficit,
dum habetur et non datur,
nondum habetur,
quomodo habenda est.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-19-2008, 03:07 PM
Ivan
 
Posts: n/a
Default Re: lirc with gcc-3.4

On Sun, 03 Oct 2004 13:58:56 +0200, Alex wrote:

> Hi all, I hope somebody can help me with an lirc and gcc problem.


> And dmesg tells me this:
>
> lirc_dev: version magic '2.6.7 486 gcc-3.4' should be '2.6.7 486 gcc-3.3'


> So lirc doesn't work with gcc-3.4 and needs gcc-3.3. Is there anything I
> can do to make it work with gcc-3.4 or do I just need to install gcc-3.3?


no, this means that your kernel are your kernel modules are not compiled
with same gcc, so you should recompile them.

i.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 02-19-2008, 03:07 PM
Alex
 
Posts: n/a
Default Re: lirc with gcc-3.4

On Sun, 03 Oct 2004 15:39:01 +0200, Ivan said this:

> no, this means that your kernel are your kernel modules are not compiled
> with same gcc, so you should recompile them.
>
> i.


Ok thanks will try that asap.

--

.......GNU......

Omnis enim res,
quae dando non deficit,
dum habetur et non datur,
nondum habetur,
quomodo habenda est.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 01:31 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com