Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 12128 - modutils-2.4.22 says modules were compiled with GCC 2
Summary: modutils-2.4.22 says modules were compiled with GCC 2
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: Normal critical (vote)
Assignee: Martin Schlemmer (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-12-13 18:46 UTC by Mauricio Lima Pilla
Modified: 2003-02-04 19:42 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mauricio Lima Pilla 2002-12-13 18:46:26 UTC
I've upgraded modutils to 2.4.22 and it was not able to load my lucent winmodem
drivers. The message stated that my modules were compiled with a GCC version 2
compiler, and my kernel with GCC 3, and it wouldn't work.

I am sure my modules were compiled with gcc 3.2, as I don't have gcc 2.xx
installed in my system.

I've downgraded it back to 2.4.19, which works.
Comment 1 Martin Schlemmer (RETIRED) gentoo-dev 2002-12-13 23:56:23 UTC
Isnt the lucent drivers pre-compiled ?  If so, its very possible that they were
compiled with 2.95.3 ....
Comment 2 Martin Schlemmer (RETIRED) gentoo-dev 2002-12-14 08:40:55 UTC
Try with following command:

 # insmod -f <your module>
Comment 3 Mauricio Lima Pilla 2002-12-14 08:46:30 UTC
No, they were compiled in my machine for sure, because they don't recognize the
kernel I am using (2.4.20-lolo-pre3).

I'll try later to emerge it again and load the modules (I cannot do it right now
because I am connected using the modules).

Cheers.
Comment 4 Mauricio Lima Pilla 2002-12-14 10:31:33 UTC
insmod -f works. I did some research and the lt_modem.o is not compiled. The
scripts use a ltmdmobj.o to make lt_modem.o, so it was really compiled with gcc
2. My fault here. 

The lt_serial.o, on the other side, seems to be compiled with gcc 3.2. And it
does not warn when it is loaded, so it is OK.

Anyway, the modules seem to work even with all the warnings.