What version of gcc do you use? [EMAIL PROTECTED] - Tue Jun 17 17:24:12 2003]:
> Hello! > > I tried to install openssl on Sun Solaris. > 1. ./config > everything went ok. > 2. make > > and here i got some errors : > > > > bash-2.05$ make > making all in crypto... > make[1]: Entering directory `/apps/home/gus/openssl/crypto' > gcc -I. -I.. -I../include -DOPENSSL_SYSNAME_ULTRASPARC > -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H > -DOPENSSL_NO_KRB5 -m32 -mcpu=ultrasparc -O3 -fomit-frame-pointer > -Wall -DB_ENDIAN -DBN_DIV2W -DMD5_ASM -c -o cryptlib.o cryptlib.c > cryptlib.c:70: syntax error before "IMPLEMENT_STACK_OF" > cryptlib.c:73: warning: return type defaults to `int' > cryptlib.c: In function `IMPLEMENT_STACK_OF': > cryptlib.c:73: `CRYPTO_NUM_LOCKS' undeclared (first use in this > function) > cryptlib.c:73: (Each undeclared identifier is reported only once > cryptlib.c:73: for each function it appears in.) > cryptlib.c:73: storage class specified for parameter `lock_names' > cryptlib.c:73: parameter `lock_names' is initialized > cryptlib.c:76: warning: excess elements in scalar initializer > cryptlib.c:76: warning: (near initialization for `lock_names') > cryptlib.c:77: warning: excess elements in scalar initializer > cryptlib.c:77: warning: (near initialization for `lock_names') > cryptlib.c:78: warning: excess elements in scalar initializer > cryptlib.c:78: warning: (near initialization for `lock_names') > cryptlib.c:79: warning: excess elements in scalar initializer > cryptlib.c:79: warning: (near initialization for `lock_names') > cryptlib.c:80: warning: excess elements in scalar initializer > cryptlib.c:80: warning: (near initialization for `lock_names') > cryptlib.c:81: warning: excess elements in scalar initializer > cryptlib.c:81: warning: (near initialization for `lock_names') > cryptlib.c:82: warning: excess elements in scalar initializer > cryptlib.c:82: warning: (near initialization for `lock_names') > cryptlib.c:83: warning: excess elements in scalar initializer > cryptlib.c:83: warning: (near initialization for `lock_names') > cryptlib.c:84: warning: excess elements in scalar initializer > cryptlib.c:84: warning: (near initialization for `lock_names') > cryptlib.c:85: warning: excess elements in scalar initializer > cryptlib.c:85: warning: (near initialization for `lock_names') > cryptlib.c:86: warning: excess elements in scalar initializer > cryptlib.c:86: warning: (near initialization for `lock_names') > cryptlib.c:87: warning: excess elements in scalar initializer > cryptlib.c:87: warning: (near initialization for `lock_names') > cryptlib.c:88: warning: excess elements in scalar initializer > cryptlib.c:88: warning: (near initialization for `lock_names') > cryptlib.c:89: warning: excess elements in scalar initializer > cryptlib.c:89: warning: (near initialization for `lock_names') > cryptlib.c:90: warning: excess elements in scalar initializer > cryptlib.c:90: warning: (near initialization for `lock_names') > cryptlib.c:91: warning: excess elements in scalar initializer > cryptlib.c:91: warning: (near initialization for `lock_names') > cryptlib.c:92: warning: excess elements in scalar initializer > cryptlib.c:92: warning: (near initialization for `lock_names') > cryptlib.c:93: warning: excess elements in scalar initializer > cryptlib.c:93: warning: (near initialization for `lock_names') > cryptlib.c:94: warning: excess elements in scalar initializer > cryptlib.c:94: warning: (near initialization for `lock_names') > cryptlib.c:95: warning: excess elements in scalar initializer > cryptlib.c:95: warning: (near initialization for `lock_names') > cryptlib.c:96: warning: excess elements in scalar initializer > cryptlib.c:96: warning: (near initialization for `lock_names') > cryptlib.c:97: warning: excess elements in scalar initializer > cryptlib.c:97: warning: (near initialization for `lock_names') > cryptlib.c:98: warning: excess elements in scalar initializer > cryptlib.c:98: warning: (near initialization for `lock_names') > cryptlib.c:99: warning: excess elements in scalar initializer > cryptlib.c:99: warning: (near initialization for `lock_names') > cryptlib.c:100: warning: excess elements in scalar initializer > cryptlib.c:100: warning: (near initialization for `lock_names') > cryptlib.c:101: warning: excess elements in scalar initializer > cryptlib.c:101: warning: (near initialization for `lock_names') > cryptlib.c:102: warning: excess elements in scalar initializer > cryptlib.c:102: warning: (near initialization for `lock_names') > cryptlib.c:103: warning: excess elements in scalar initializer > cryptlib.c:103: warning: (near initialization for `lock_names') > cryptlib.c:104: warning: excess elements in scalar initializer > cryptlib.c:104: warning: (near initialization for `lock_names') > cryptlib.c:105: warning: excess elements in scalar initializer > cryptlib.c:105: warning: (near initialization for `lock_names') > cryptlib.c:106: warning: excess elements in scalar initializer > cryptlib.c:106: warning: (near initialization for `lock_names') > cryptlib.c:107: warning: excess elements in scalar initializer > cryptlib.c:107: warning: (near initialization for `lock_names') > cryptlib.c:109:3: #error "Inconsistency between crypto.h and > cryptlib.c" > cryptlib.c:115: warning: type defaults to `int' in declaration of > `STACK' > cryptlib.c:115: storage class specified for parameter `STACK' > cryptlib.c:115: syntax error before '*' token > cryptlib.c:120: warning: type defaults to `int' in declaration of > `STACK_OF' > cryptlib.c:120: storage class specified for parameter `STACK_OF' > cryptlib.c:120: warning: parameter names (without types) in function > declaration > cryptlib.c:120: syntax error before '*' token > cryptlib.c:124: storage class specified for parameter > `locking_callback' > cryptlib.c:124: parameter `locking_callback' is initialized > cryptlib.c:126: storage class specified for parameter > `add_lock_callback' > cryptlib.c:126: parameter `add_lock_callback' is initialized > cryptlib.c:127: storage class specified for parameter `id_callback' > cryptlib.c:127: parameter `id_callback' is initialized > cryptlib.c:129: storage class specified for parameter > `dynlock_create_callback' > cryptlib.c:129: parameter `dynlock_create_callback' is initialized > cryptlib.c:131: storage class specified for parameter > `dynlock_lock_callback' > cryptlib.c:131: parameter `dynlock_lock_callback' is initialized > cryptlib.c:133: storage class specified for parameter > `dynlock_destroy_callback' > cryptlib.c:133: parameter `dynlock_destroy_callback' is initialized > cryptlib.c:136: syntax error before '{' token > cryptlib.c:148: syntax error before "if" > make[1]: *** [cryptlib.o] Error 1 > make[1]: Leaving directory `/apps/home/gus/openssl/crypto' > make: *** [sub_all] Error 1 > > Any idea? > I'm a beginner in unix, so tell me, if the problem wasn't with > openssl. > > thanx! > > Surman Szabolcs > -- Richard Levitte [EMAIL PROTECTED] ______________________________________________________________________ OpenSSL Project http://www.openssl.org Development Mailing List [EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED]