Re: pkcs11f.h build error

"Count of Alba" <[email protected]> Sun, 28 Feb 1999 17:56:37 -0800
Newsgroups gmane.ietf.pfl
Message-ID <[email protected]>
John,

Thank you for the quick answer, on a Sunday, no less. These were the first
errors I got, and I did download the pkcs11 header files from the proper
directory (2.01, that is). Following your instructions, I did an "rm -rf
y:/obj/nt" and a "build clean" in y:\src, and then issued a "build" command,
again. Unfortunately, I got the same errors.

I will let you know if I make any progress.

Best regards,
Lucien

-----Original Message-----
From: [email protected] <[email protected]>
To: Count of Alba <[email protected]>
Cc: [email protected] <[email protected]>
Date: Sunday, February 28, 1999 1:36 PM
Subject: Re: pkcs11f.h build error



Is this the first error you've had, or did you get other errors before
downloading the pkcs11 headers files?  You may have stuff left over in your
object tree from a previous build failure, so you should do an "rm -rf
y:/obj/nt" to clear it out.  If that doesn't fix the problem, check that
you followed the instructions for downloading and placing the three pkcs11
header files exactly.  I've seen this sort of error from trying to build
when there are files from a previous version of PKCS#11 (i.e. something
other than 2.01) around, so if you've previously downloaded the wrong
version of these headers files, you need to make sure you don't have any
copies of the older headers lying around in your build tree.

John





"Count of Alba" <[email protected]>@imc.org on 02/28/99 03:43:24 PM

Sent by:  [email protected]


To:   <[email protected]>
cc:

Subject:  pkcs11f.h build error



This is my current build error:

...
Command line warning D4025 : overrinding '/MDd'  with '/MT'
pcksmain.c
/src/include/pkcs11f.h(9) : error C2282:  'CK_EXTERN" is followed by '
_CK_RV' (missing ','?)
.......
/src/include/pkcs11f.h(390) : error C2282: 'CK_EXTERN" is  followed by '
_CK_RV' (missing ','?)
/src/include/pkcs11f.h(390) : fatal error C1003:  error count exceeds 100;
stopping compilation
make: Error code 2
make:  Error code 255

I just downloaded the three pkcs11 header files from the 2.01  section at
www.rsa.com, and I don't understand what the problem is.
I am trying to build the 0.2 release using MKS 6.1and VC++  5.0, on an NT
4.0 with SP4.

Any help greatly appreciated.

Thanks,
Lucien