RE: Kernel 2.4.14 and CryptoAPI

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

 



Hello,

I tried your suggestions, I am not sure how to edit the Makefile, but I did
edit the source and it made no difference. I enclose the error messages.


ferengi:/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 -DUSE_LO_IV_MODE_SECTOR
-I/usr/src/linux-2.4.14/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2
-fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe
-mpreferred-stack-boundary=2 -march=i686 -malign-functions=4  -DMODVERSIONS
-include /usr/src/linux-2.4.14/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


Thanks.

Stephen.


-----Original Message-----
From: beldridg@pobox.com [mailto:beldridg@pobox.com]
Sent: 28 November 2001 16:54
To: Stephen.Thompson@bmwfin.com
Cc: linux-crypto@nl.linux.org; beldridg@pobox.com
Subject: Re: Kernel 2.4.14 and CryptoAPI


On Wed, 28 Nov 2001 Stephen.Thompson@bmwfin.com wrote:

> I am running 2.4.14 and tried to compile the API. All I get is pages
> full of errors and no module. Is there a patch I need to apply? If so
> can someone point me in the direction of a http site (no ftp access
> here.) with it on.

if you sent the error messages it would help. i have a suspicion that it
is due to the Makefile not doing a -DEXPORT_SYMTAB.

one way to fix is to modify the Makefile for cryptoloop and cryptoapi to
do the above.

the other way is to simply modify cryptoapi.c and cryptoloop.c to add the
following near the EXPORT_SYMBOL section of the code:

  MODULE_LICENSE("GPL");

these changes are in the latest patch from hvr.


- brett


-------------------------------------------------------------------------------------------

Copyright material and/or confidential and/or privileged information may be contained in this e-mail and any attached documents.  The material and information is intended for the use of the intended addressee only.  If you are not the intended addressee, or the person responsible for delivering it to the intended addressee, you may not copy, disclose, distribute, disseminate or deliver it to anyone else or use it in any unauthorised manner or take or omit to take any action in reliance on it. To do so is prohibited and may be unlawful.   The views expressed in this e-mail may not be official policy but the personal views of the originator.  If you receive this e-mail in error, please advise the sender immediately by using the reply facility in your e-mail software, or contact postmaster@bmwfin.com.  Please also delete this e-mail and all documents attached immediately.  
Many thanks for your co-operation.

BMW Financial Services (GB) Limited is registered in England and Wales under company number 01288537.
Registered Offices : Europa House, Bartley Way, Hook, Hants, RG27 9UF
------------------------------------------------------------------------------------------
-
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