[Samba] Problems when compiling samba3.0alpha17

Harry Rüter harry_rueter at gmx.de
Fri May 10 05:52:02 GMT 2002


Hi,

i have problems with the compiling of samba3.0alpha17.

I use the following "configure-script"  :

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

#!/bin/sh

make clean
autoconf

 ./configure  \
--with-readline \
--with-acl-support \
--prefix=/usr/local/samba \
--with-smbwrapper \
--with-smbmount \
--with-pam \
--with-pam_smbpass \
--with-ldapsam \
--with-ssl \
--with-tdbsam \
--with-krb5=/usr/local/kerberos \
--with-vfs \
--with-syslog \
--with-libsmbclient \
--with-winbind 2>&1 | tee configure.out

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

This runs without any errors.

Compiling shows the following error message :


-------------------------------------------------
Using FLAGS =  -DHAVE_CRYPT_DECL -I/usr/local/ssl/include
-O  -I/usr/local/kerberos/include  -Iinclude -I./include
-I./ubiqx -I./smbwrapper  -I. -D_LARGEFILE64_SOURCE
-D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE 
-I/usr/local/kerberos/include -I.

FLAGS32 =  -DHAVE_CRYPT_DECL -I/usr/local/ssl/include -O 
-I/usr/local/kerberos/include  -Iinclude -I./include
-I./ubiqx -I./smbwrapper  -I. -D_LARGEFILE64_SOURCE
-D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE 
-I/usr/local/kerberos/include -I.

LIBS = -lssl -lcrypto -lldap -llber -lresolv  -ldl -lcrypt
-lnsl -lkrb5 -lcom_err -lk5crypto -lkrb5 -lgssapi_krb5
-llber -lldap -lpam -lpopt

LDSHFLAGS = -shared -L/usr/local/ssl/lib 
-L/usr/local/kerberos/lib -DHAVE_CRYPT_DECL
-I/usr/local/ssl/include -O  -I/usr/local/kerberos/include

LDFLAGS = -L/usr/local/ssl/lib  -L/usr/local/kerberos/lib

Compiling lib/util.c
In file included from
/usr/local/ssl/include/openssl/objects.h:960,
                 from
/usr/local/ssl/include/openssl/evp.h:138,
                 from
/usr/local/ssl/include/openssl/x509.h:67,
                 from
/usr/local/ssl/include/openssl/ssl.h:69,
                 from lib/util.c:56:
/usr/local/ssl/include/openssl/asn1.h:241: parse error
before `0x2'
/usr/local/ssl/include/openssl/asn1.h:242: parse error
before `0xa'
/usr/local/ssl/include/openssl/asn1.h:244: parse error
before `0x4'
/usr/local/ssl/include/openssl/asn1.h:256: parse error
before `0x1'
/usr/local/ssl/include/openssl/asn1.h:348: parse error
before `0x1'
/usr/local/ssl/include/openssl/asn1.h:348: warning: no
semicolon at end of struct or union
/usr/local/ssl/include/openssl/asn1.h:348: warning: no
semicolon at end of struct or union
/usr/local/ssl/include/openssl/asn1.h:351: parse error
before `0x2'
/usr/local/ssl/include/openssl/asn1.h:354: parse error
before `0x4'
/usr/local/ssl/include/openssl/asn1.h:369: parse error
before `}'
/usr/local/ssl/include/openssl/asn1.h:369: warning: data
definition has no type or storage class
/usr/local/ssl/include/openssl/asn1.h:370: parse error
before `}'
/usr/local/ssl/include/openssl/asn1.h:370: warning: data
definition has no type or storage class

and so on ...
-------------------------------------------------

Viewing /usr/local/ssl/include/openssl/asn1.h shows
(beginning at line 241)  :

typedef struct asn1_string_st ASN1_INTEGER;
typedef struct asn1_string_st ASN1_ENUMERATED;
typedef struct asn1_string_st ASN1_BIT_STRING;
typedef struct asn1_string_st ASN1_OCTET_STRING;
typedef struct asn1_string_st ASN1_PRINTABLESTRING;
typedef struct asn1_string_st ASN1_T61STRING;
typedef struct asn1_string_st ASN1_IA5STRING;
typedef struct asn1_string_st ASN1_GENERALSTRING;
typedef struct asn1_string_st ASN1_UNIVERSALSTRING;
typedef struct asn1_string_st ASN1_BMPSTRING;
typedef struct asn1_string_st ASN1_UTCTIME;
typedef struct asn1_string_st ASN1_TIME;
typedef struct asn1_string_st ASN1_GENERALIZEDTIME;

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


Can anybody tell me what's wrong ?
I'm using samba3.0alpha17, Suse Linux 7.1 , Kernel 2.4.18 ,
openssl 0.9.6c.

Thx Harry




More information about the samba mailing list