CryptoAPI with RH9 (kernel 2.4.20-8)

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

 



I want to use CryptoAPI with RH9 (kernel 2.4.20-8). It seems that all
"basic" modules are included in the RH9 distribution (e.g. a 'modprobe cryptoloop'
loads all three modules as described in the 'pdf' tutorial on the web site.
But, unfortunately more or less all cipher modules are missed.

The cryptoapi-0.1.0.tar.gz sources won't compile.

Anybody here who got the stuff runnung on RH9?

Ciao, Meph
 
PS: In case that it helps, the first lines of the error messages when trying
to build the modules from source:

[mephisto@xxxxxx cryptoapi-0.1.0]$ make modules
KDIR=/usr/src/linux-2.4.20-8/
Warning: VERSION and uname -r differ:
modules are being installed in /lib/modules/2.4.20-8custom
make -f Makefile.modules KDIR=/usr/src/linux-2.4.20-8/ 
kernel/crypto/cryptoapi.o
make[1]: Wechsel in das Verzeichnis Verzeichnis
»/home/mephisto/build/cryptoapi/cryptoapi-0.1.0«
gcc -I ./kernel/include -D__KERNEL__
-I/home/mephisto/build/cryptoapi/cryptoapi-0.1.0/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2
-fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2
-march=i686 -DMODULE -DEXPORT_SYMTAB -DMODVERSIONS -include
/usr/src/linux-2.4.20-8//include/linux/modversions.h  -nostdinc -iwithprefix include
-DKBUILD_BASENAME=cryptoapi  -c -o kernel/crypto/cryptoapi.o kernel/crypto/cryptoapi.c
In file included from
/home/mephisto/build/cryptoapi/cryptoapi-0.1.0/include/linux/spinlock.h:56,
                 from
/home/mephisto/build/cryptoapi/cryptoapi-0.1.0/include/linux/module.h:11,
                 from kernel/crypto/cryptoapi.c:20:
/home/mephisto/build/cryptoapi/cryptoapi-0.1.0/include/asm/spinlock.h:9:
invalid suffix on integer constant
/home/mephisto/build/cryptoapi/cryptoapi-0.1.0/include/asm/spinlock.h:9:
parse error before numeric constant
/home/mephisto/build/cryptoapi/cryptoapi-0.1.0/include/asm/spinlock.h:10:
`printk_R_ver_str' declared as function returning a function
/home/mephisto/build/cryptoapi/cryptoapi-0.1.0/include/asm/spinlock.h:10:
warning: function declaration isn't a prototype
[... cut here...]

-- 
+++ GMX - Mail, Messaging & more  http://www.gmx.net +++
Bitte lächeln! Fotogalerie online mit GMX ohne eigene Homepage!

-
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