Re: invalid argument in 2.4.18

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



lbea@xxxxxxx wrote:
> Then i went back to the loop-aes-directory, did
> 
> make clean
> make
> 
> getting the following output:
> 
> client4:/home/bs/Documents/loop-AES-v1.7c # make clean
[snip]
> gcc -D__KERNEL__ -I/usr/src/linux-2.4.18.SuSE/include -Wall
> -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common
> -pipe -mpreferred-stack-boundary=2 -march=i586 -DMODULE
> -DKBUILD_BASENAME=patched_loop -DKBUILD_MODNAME=loop -DEXPORT_SYMTAB -c patched-loop.c -o
> patched-loop.o
> In file included from patched-loop.c:71:
> /usr/src/linux-2.4.18.SuSE/include/linux/module.h:21: linux/modversions.h:
> file or directory not found
> make[2]: *** [patched-loop.o] error 1
> make[2]: Verlassen des Verzeichnisses Verzeichnis
> »/home/bs/Documents/loop-AES-v1.7c«
> make[1]: *** [_mod_/home/bs/Documents/loop-AES-v1.7c] Fehler 2
> make[1]: Verlassen des Verzeichnisses Verzeichnis
> »/usr/src/linux-2.4.18.SuSE«
> make: *** [all] error 2
> 
> So it all stops there.
> 
> What' wrong?

Your kernel sources are not in state that can be used to compile modules.
linux/modversions.h file is missing. That file is generated at kernel
compile time if CONFIG_MODVERSIONS is enabled. You need to compile and
install new kernel. That leaves kernel sources in state that can be used to
compile kernel modules. Then you can successfully compile loop-AES module
for _that_ kernel.

Regards,
Jari Ruusu <jari.ruusu@xxxxxxxxxx>

-
Linux-crypto:  cryptography in and on the Linux system
Archive:       http://mail.nl.linux.org/linux-crypto/


[Index of Archives]     [Kernel]     [Linux Crypto]     [Gnu Crypto]     [Gnu Classpath]     [Netfilter]     [Bugtraq]
  Powered by Linux