I'm having a problem trying to build cryptoapi-2.4.7.0 for the 2.4.17 kernel. It has something to do with the EXPORT_SYMBOL macro. I'm using the Debian distribution on a 686 system. Thought I'd see if anyone knows a quick fix before I go digging ...
Here's the output from the "make" command in the cryptoapi-2.4.7.0 directory:
---- BEGIN OUTPUT ---
alice:/usr/src/cryptoapi-2.4.7.0# make
Making all in api
make[1]: Entering directory `/usr/src/cryptoapi-2.4.7.0/api'
gcc -I../include -D__KERNEL__ -DMODULE -I/usr/src/kernel-source-2.4.17/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i686 -DMODVERSIONS -include /usr/src/kernel-source-2.4.17/include/linux/modversions.h -o cryptoapi.o -c cryptoapi.c
cryptoapi.c:466: parse error before `this_object_must_be_defined_as_export_objs_in_the_Makefile'
cryptoapi.c:466: warning: type defaults to `int' in declaration of `this_object_must_be_defined_as_export_objs_in_the_Makefile'
cryptoapi.c:466: warning: data definition has no type or storage class
cryptoapi.c:467: parse error before `this_object_must_be_defined_as_export_objs_in_the_Makefile'
cryptoapi.c:467: warning: type defaults to `int' in declaration of `this_object_must_be_defined_as_export_objs_in_the_Makefile'
cryptoapi.c:467: warning: data definition has no type or storage class
cryptoapi.c:468: parse error before `this_object_must_be_defined_as_export_objs_in_the_Makefile'
cryptoapi.c:468: warning: type defaults to `int' in declaration of `this_object_must_be_defined_as_export_objs_in_the_Makefile'
cryptoapi.c:468: warning: data definition has no type or storage class
cryptoapi.c:469: parse error before `this_object_must_be_defined_as_export_objs_in_the_Makefile'
cryptoapi.c:469: warning: type defaults to `int' in declaration of `this_object_must_be_defined_as_export_objs_in_the_Makefile'
cryptoapi.c:469: warning: data definition has no type or storage class
cryptoapi.c:470: parse error before `this_object_must_be_defined_as_export_objs_in_the_Makefile'
cryptoapi.c:470: warning: type defaults to `int' in declaration of `this_object_must_be_defined_as_export_objs_in_the_Makefile'
cryptoapi.c:470: warning: data definition has no type or storage class
cryptoapi.c:471: parse error before `this_object_must_be_defined_as_export_objs_in_the_Makefile'
cryptoapi.c:471: warning: type defaults to `int' in declaration of `this_object_must_be_defined_as_export_objs_in_the_Makefile'
cryptoapi.c:471: warning: data definition has no type or storage class
cryptoapi.c:472: parse error before `this_object_must_be_defined_as_export_objs_in_the_Makefile'
cryptoapi.c:472: warning: type defaults to `int' in declaration of `this_object_must_be_defined_as_export_objs_in_the_Makefile'
cryptoapi.c:472: warning: data definition has no type or storage class
make[1]: *** [cryptoapi.o] Error 1
make[1]: Leaving directory `/usr/src/cryptoapi-2.4.7.0/api'
make: *** [all-recursive] Error 1
alice:/usr/src/cryptoapi-2.4.7.0#
---- END OUTPUT ---
TIA
-- Harmon
- Linux-crypto: cryptography in and on the Linux system Archive: http://mail.nl.linux.org/linux-crypto/