invalid module format for speakup modules

Littlefield, Tyler tyler at tysdomain.com
Fri Nov 12 21:11:43 EST 2010


Greg:

Basically that just means that you compiled against the wrong something 
or another (though I can't be sure what it is). What I did (I have no 
clue what you went through) is just changed the KERNELDIR variable in 
the makefile. if you are running in a grml system, you'll just need to 
replace what would return from uname-r with the actual kernel name and 
leave the rest, then just do a make clean, then make and make 
modules_install.

HTH,
Ty
On 11/12/2010 6:43 PM, Gregory Nowak wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hi all,
>
> I've managed to use debootstrap to install lenny 64. I wanted to build
> the latest stable speakup, so I grabbed the speakup 3.1.6 tarball from
> linux-speakup.org, installed the linux-source-2.6.26 package, and
> untared both. I changed to /lib/modules/2.6.26-2-amd64, and created a
> softlink for build to the unpacked kernel source. I changed to
> /usr/src, and created a linux softlink to the untared source tree. I
> changed into /usr/src/linux, and copyed the kernel config file from
> /boot to $PWD/.config, and verified that it exists. Next, I ran make
> old config, make prepare, and make modules. Then I changed to
> speakup/src, ran make clean, make, and make modules_install, with no
> errors. The modules ended up in /lib/modules/2.6.26/speakup, so I
> copyed them over to /lib/modules/2.6.26-2-amd64/speakup, and ran
> depmod -a.
>
> When I try to modprobe speakup_soft, I get this:
>
> WARNING: Error inserting speakup
> (/lib/modules/2.6.26-2-amd64/speakup/speakup.ko): Invalid module
> format
> FATAL: Error inserting speakup_soft
> (/lib/modules/2.6.26-2-amd64/speakup/speakup_soft.ko): Invalid module
> format
>
> Dmesg says:
>
> [21822.034323] speakup: no symbol version for struct_module
> [21822.034795] speakup_soft: no symbol version for struct_module
>
> modinfo speakup_soft says:
>
> filename:       /lib/modules/2.6.26-2-amd64/speakup/speakup_soft.ko
> version:        2.6
> license:        GPL
> description:    Speakup userspace software synthesizer support
> author:         Kirk Reiser<kirk at braille.uwo.ca>
> srcversion:     D96CACC858F51374AA4492A
> depends:        speakup
> vermagic:       2.6.26 SMP mod_unload modversions
> parm:           start:Start the synthesizer once it is loaded. (short)
>
> Running file /lib/modules/2.6.26-2-amd64/speakup/speakup_soft.ko says:
>
> /lib/modules/2.6.26-2-amd64/speakup/speakup_soft.ko: ELF 64-bit LSB
> relocatable, x86-64, version 1 (SYSV), not stripped
>
> I must have done something wrong while building the modules, but don't
> know what that would be. Any ideas? Thanks.
>
> Greg
>
>
> - -- 
> web site: http://www.romuald.net.eu.org
> gpg public key: http://www.romuald.net.eu.org/pubkey.asc
> skype: gregn1
> (authorization required, add me to your contacts list first)
>
> - --
> Free domains: http://www.eu.org/ or mail dns-manager at EU.org
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.9 (GNU/Linux)
>
> iEYEARECAAYFAkzd7V0ACgkQ7s9z/XlyUyC1bgCfYXBCP4QlIh67lE1Ml+rwqOmq
> DAgAn3xKTmLivFtLz86ZqK9Hq5dPDJKa
> =Znw2
> -----END PGP SIGNATURE-----
> _______________________________________________
> Speakup mailing list
> Speakup at braille.uwo.ca
> http://speech.braille.uwo.ca/mailman/listinfo/speakup
>




More information about the Speakup mailing list