From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <5a7a6ea83b481eb851b04ed269d3e966.axp-list@archive.invalid> X-Archive-Original-Message-ID: <199702191915.LAA29546@icarus.icarus.com> Date: Wed, 19 Feb 1997 19:24:16 +0100 (CET) From: Andreas Johansson Subject: Re: Modules in 2.0.29 In-Reply-To: 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