Re: Comiling Boinc on Solaris 10 / openssl problem ?



Ok I found it.
Due to a mess in the include-path of my system the compiler couldn't
find the md5.h of the openssl-package.

Best regards,

Daniel


 CC -DHAVE_CONFIG_H -I. -I.. -I../lib -I../api -I../db -I../client -
I../tools -I../sched -I../lib/mac -D_REENTRANT -I/usr/openwin/include/
X11/Xlocale.h -I/usr/local/include -KPIC -DPIC -D_REENTRANT -g -c
crypt.cpp  -KPIC -DPIC -o .libs/libboinc_crypt_la-crypt.o
"crypt.cpp", line 565: Error: MD5_DIGEST_LENGTH is not defined.
"crypt.cpp", line 583: Error: MD5_CTX is not defined.
"crypt.cpp", line 585: Error: MD5_DIGEST_LENGTH is not defined.
"crypt.cpp", line 585: Error: An integer constant expression is
required within the array subscript operator.
"crypt.cpp", line 595: Error: The function "MD5_Init" must have a
prototype.
"crypt.cpp", line 597: Error: The function "MD5_Update" must have a
prototype.
"crypt.cpp", line 599: Error: The function "MD5_Final" must have a
prototype.
"crypt.cpp", line 622: Error: MD5_CTX is not defined.
"crypt.cpp", line 624: Error: MD5_DIGEST_LENGTH is not defined.
"crypt.cpp", line 624: Error: An integer constant expression is
required within the array subscript operator.
"crypt.cpp", line 643: Error: The function "MD5_Init" must have a
prototype.
"crypt.cpp", line 645: Error: The function "MD5_Update" must have a
prototype.
"crypt.cpp", line 647: Error: The function "MD5_Final" must have a
prototype.
13 Error(s) detected.
make[2]: *** [libboinc_crypt_la-crypt.lo] Error 1
make[2]: Leaving directory `/export/home/daniel/boinc_src/boinc/lib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/export/home/daniel/boinc_src/boinc'
make: *** [all] Error 2

I compiled a   OpenSSL 0.9.8n also with the SunStudio compiler and
installed it in /opt/openssl then I
used the option --with-ssl=/opt/openssl of the ./configure script.
But it seems that I have a problem with openssl.

.



Relevant Pages

  • Comiling Boinc on Solaris 10 / openssl problem ?
    ... the SunStudio 12 compiler. ... Now it seems that I have a problem with my openssl since the ... prototype. ...
    (comp.sys.sun.misc)
  • Re: Newbie Question about main
    ... It does for the scope of the function definition itself, ... _defined_ with an empty parameter list (and with no prototype in scope ... Telling the compiler what something looks like ... > (eg. function prototypes, extern variable declarations). ...
    (alt.comp.lang.learn.c-cpp)
  • Re: Differing function prototypes and definitions
    ... I've a couple of situations where I'd like to have a function prototype ... clients of this library might want to declare x as const in order ... nevertheless one compiler (although I'm ... afraid I can't remember which it was) did issue a warning. ...
    (comp.lang.c)
  • Re: How to convert Infix notation to postfix notation
    ... the functions in which the function prototype is re-coded, ... The compiler can't check the ... mistakes in his published work. ...
    (comp.lang.c)
  • RE: epoll,threading
    ... OpenSSL, one with 'threads' and one with 'no-threads'. ... Same compiler, same ... timing function used: times ... sign verify sign/s verify/s ...
    (Linux-Kernel)