Article View: comp.os.linux.networking
Article #809openldap 2.0.7mdk compile problem
From: John O.
Date: Sat, 14 Jul 2001 20:52
Date: Sat, 14 Jul 2001 20:52
43 lines
2388 bytes
2388 bytes
Im trying to make Openldap-2.0.7mdk with gcc-2.95.2 and
openssl-0.9.5a-8mdk.
my C is kinda rusty and I don't see what is wrong with this:
cc -g -O2 -I../../include -I../../include -c tls.c -fPIC -DPIC -o
.libs/tls.lo
In file included from /usr/include/openssl/objects.h:958,
from /usr/include/openssl/evp.h:128,
from /usr/include/openssl/pem.h:66,
from /usr/include/openssl/ssl.h:147,
from tls.c:30:
/usr/include/openssl/asn1.h:306: parse error before `('
/usr/include/openssl/asn1.h:306: parse error before `unsigned'
/usr/include/openssl/asn1.h:306: parse error before `('
/usr/include/openssl/asn1.h:306: parse error before `unsigned'
/usr/include/openss1/ash.1 line 306 is:
DECLARE_ASN1_SET_OF(ASN1_TYPE)
which is declared at line 143 as:
#define DECLARE_ASN1_SET_OF(type) \
int i2d_ASN1_SET_OF_##type(STACK_OF(type) *a,unsigned char **pp, \
int (*func)(type *,unsigned char **), int ex_tag, \
int ex_class, int is_set); \
STACK_OF(type) *d2i_ASN1_SET_OF_##type(STACK_OF(type) **a,unsigned
char **pp, \
long length, \
type *(*func)(type **, \
unsigned char **,long), \
void (*free_func)(type *), \
int ex_tag,int ex_class);
there are also similar errors with /usr/include/openssl/x509.h and
/usr/include/openssl/pkcs7.h
what is wrong with these include files?
thanks for any help,
John
Technical Details
Message-ID:
<330d78fa.0107141252.274aa213@posting.google.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!postnews1.google.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f65d0,41a04c7264b92b0c,start X-Google-Attributes: gidf65d0,public X-Google-Thread: 10669a,41a04c7264b92b0c,start X-Google-Attributes: gid10669a,public X-Google-ArrivalTime: 2001-07-14 13:52:45 PST Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!postnews1.google.com!not-for-mail From: jafo1723@yahoo.com (John O.) Newsgroups: comp.os.linux.networking,gnu.gcc Subject: openldap 2.0.7mdk compile problem Date: 14 Jul 2001 13:52:45 -0700 Organization: http://groups.google.com/ Lines: 43 Message-ID: <330d78fa.0107141252.274aa213@posting.google.com> NNTP-Posting-Host: 206.98.174.110 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 995143965 25783 127.0.0.1 (14 Jul 2001 20:52:45 GMT) X-Complaints-To: groups-support@google.com NNTP-Posting-Date: 14 Jul 2001 20:52:45 GMT