From: Andreas Johansson <ajo@wopr.campus.luth.se>
Subject: Re: Modules in 2.0.29
Date: Wed, 19 Feb 1997 19:24:16 +0100 (CET) [thread overview]
Message-ID: <5a7a6ea83b481eb851b04ed269d3e966.axp-list@archive.invalid> (raw)
In-Reply-To: <Pine.LNX.3.95.970219121930.2930A-100000@balintrc.gardens.udayton.edu>
On Wed, 19 Feb 1997, Woodstock wrote:
> On Wed, 19 Feb 1997, Daniel Gruner wrote:
>
> > > !root:/lib/modules/2.0.29/net# insmod dummy.o
> > > insmod: module is 21450 bytes long (expected 12009)
> > > insmod: forgot to specify -dc when linking dummy.o?
> > > Anyone have a clue as to what I'm doing wrong? Thanks.
> > You must strip the modules. It is about time somebody made that part of
> > the official Makefile.
>
> stripping them with --strip-debug gives the same error (as was recommended
> earlier in the list)
> just a plain: strip sound.o gives me this error:
>
> !root:/usr/src/linux/drivers/sound# insmod sound.o
> sound.o: File in wrong format
>
> ARRRGHHH!
When I had this problem I was using strip -x (meaning --discard-all) when
compiling modules. I don't know if this will help, but you can atleast
try it.
With kernel >= 2.1.18 the module system has changed and this is not a
problem anymore. However, binutils and the module tools need to be
updated.
--
<-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=->
: E-mail: ajo@wopr.campus.luth.se :
: S-mail: Andreas Johansson, Karhusvagen 5 6:618, 977 54 Lulea, SWEDEN :
: Have you had your dose of 261.62 BogoMIPS today? - Run Alpha! :
<-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=->
--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
next parent reply other threads:[~1997-02-19 18:24 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <Pine.LNX.3.95.970219121930.2930A-100000@balintrc.gardens.udayton.edu>
1997-02-19 18:24 ` Andreas Johansson [this message]
1997-02-20 7:14 ` Modules in 2.0.29 Wintermute
1997-02-20 21:59 Art Werschulz
-- strict thread matches above, loose matches on Subject: below --
1997-02-20 21:48 geerten kuiper
[not found] <Pine.LNX.3.95.970220020430.10003A-100000@chrome.wintermute.org>
1997-02-20 12:35 ` Woodstock
[not found] <Pine.LNX.3.95L01at.970219192137.7190A-100000@wopr.campus.luth.se>
1997-02-19 20:04 ` Woodstock
1997-02-19 17:20 Woodstock
[not found] <Pine.LNX.3.95.970219091922.2362A-100000@balintrc.gardens.udayton.edu>
1997-02-19 15:21 ` Daniel Gruner
1997-02-19 14:20 Woodstock
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox