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

RE: compilation error

Title: RE: compilation error
I agree with the majority of what Bob wrote.  As Bob stated, all of our current freeware security libraries (S/MIME Freeware Library, Certificate Management Library, Access Control Library) use the Enhanced SNACC ASN.1 C++ Library (not the C Library).  We do not support the use of the current  freeware security libraries with the Enhanced SNACC ASN.1 C Library.
If you need ASN.1 encoding/decoding capabilities separate from the freeware security libraries, then we strongly recommend that you use the Enhanced SNACC ASN.1 C++ Library (rather than the C Library) if that is possible in your environment. 
However, Getronics continues to support both the Enhanced SNACC ASN.1 C++ and C Libraries.  We plan to create a test driver to separately test the Enhanced SNACC ASN.1 C Library (since it is not otherwise tested with our freeware security libraries). 
John Pawling, John.Pawling@xxxxxxxxxxxxxxxx
Getronics Government Solutions, LLC
-----Original Message-----
From: Colestock, Robert [mailto:Robert.Colestock@xxxxxxxxxxxxxxxx]
Sent: Tuesday, November 27, 2001 2:42 PM
To: 'Christopher Brown'; imc-sfl@xxxxxxx
Subject: RE: compilation error


Sorry, you are on your own with the SNACC "C" library, we no longer support it.  You must read the manual on its complex use of buffers (3 or 4 types, each with their own performance issues).  All of these issues were removed with our modified C++ version.  All you need to do is define (for #define) the appropriate buffer type as described in the manual.  For our older "C" run-time, I believe only 2 types are supported (see the readme).  All of the other definitions are left intact in case any users need to use these features, but it may be necessary to tweak the library.

From the ./SNACC/c-lib/readme

The 3 libararies are:
        libasn1cebuf.a - uses the ExpBufs
        libasn1cmbuf.a - uses the MinBufs
        libasn1csbuf.a - uses the SBufs

Our current release does not even distribute nor build the "C" libs; the older version used to build the CEbuflib and ebuf_lib ONLY.  I would guess you need these compiler settings defined:


(from our SNACC workspace settings for Cebuflib project).

Bob Colestock

-----Original Message-----
From: Christopher Brown [mailto:chris.j.brown@xxxxxxxx]
Sent: Tuesday, November 27, 2001 12:15 PM
To: imc-sfl@xxxxxxx
Subject: compilation error


I'm trying to compile a simple program that uses the SFL in VS 6.0 ... I
get the following error:

/../SNACC/c-lib/inc/asn-config.h(225) : fatal error C1189: #error :  "don't
know what buffer type to use!"

What am I doing wrong?

BTW, I'm using SFL version 1.8, thanx