Re: [openssl.org #2319] [BUG] Compile error on Mac OS X

2010-08-21 Thread Andy Polyakov via RT
 OpenSSL does not compile anymore as a shared library with Mac OS X
 since check-ins #19768 - #19771 by appro. It always fails with the
 following error:
 
 making all in engines...
 /bin/sh: -c: line 0: unexpected EOF while looking for matching ``'
 /bin/sh: -c: line 1: syntax error: unexpected end of file
 make[2]: *** [link_o.darwin] Error 2
 make[1]: *** [lib] Error 2
 make: *** [build_engines] Error 1

Oops. Please double-check http://cvs.openssl.org/chngview?cn=19829.
Thanks for report. A.


__
OpenSSL Project http://www.openssl.org
Development Mailing List   openssl-dev@openssl.org
Automated List Manager   majord...@openssl.org


Re: [openssl.org #2322] openssl question

2010-08-21 Thread Andy Polyakov via RT
 when iv run 'config no-asm'  and then run 'make' ,the following
 messge tells some mistakes. How can i solve the questions in attachment?
  
   
 bash-3.00#./config no-asm
 bash-3.00#make
...
gcc -I.. -I../.. -I../asn1 -I../evp -I../../include -DOPENSSL_THREADS
-D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -m32 -mcpu=ultrasparc -O3
-fomit-frame-pointer -Wall -DB_ENDIAN -DBN_DIV2W  -c  randfile.c
In file included from /usr/include/sys/wait.h:24,
 from /usr/include/stdlib.h:22,
 from randfile.c:64:
/usr/include/sys/siginfo.h:259: error: syntax error before ctid_t
/usr/include/sys/siginfo.h:292: error: syntax error before '}' token
/usr/include/sys/siginfo.h:294: error: syntax error before '}' token
In file included from /usr/include/sys/procset.h:24,
 from /usr/include/sys/wait.h:25,
 from /usr/include/stdlib.h:22,
 from randfile.c:64:
/usr/local/lib/gcc/sparc-sun-solaris2.9/3.4.6/include/sys/signal.h:96:
error: syntax error before siginfo_t
In file included from /usr/include/stdlib.h:22,
 from randfile.c:64:
/usr/include/sys/wait.h:86: error: syntax error before siginfo_t
*** Error code 1
make: Fatal error: Command failed for target `randfile.o'

It sounds more like problem with your gcc[!] headers than openssl. The
thing is that any code that would include same headers as randfile.c
would fail in same way. So the question you should ask yourself is where
do your gcc headers come from? Maybe you have to [re-]run fixinc.sh,
which is responsible for harmonizing of gcc and vendor-provided system
headers. Once again, this is not openssl problem. A.


__
OpenSSL Project http://www.openssl.org
Development Mailing List   openssl-dev@openssl.org
Automated List Manager   majord...@openssl.org