Hi

I got the following config.log error message with gcc:

-----------------------------------------------------------------------------
configure:4428: gcc -o conftest -g -O2 -Wall  -I/usr/local/include -I/opt  
-L/usr/local/lib -R/usr/local/lib -L/usr/ucblib -R
configure: In function `main':
configure:4422: warning: implicit declaration of function `RAND_add'
configure:4423: warning: implicit declaration of function `RAND_status'
Undefined                       first referenced
 symbol                             in file
RAND_add                            /var/tmp/ccTiRxaM.o
RAND_status                         /var/tmp/ccTiRxaM.o
ld: fatal: Symbol referencing errors. No output written to conftest
collect2: ld returned 1 exit status
configure: failed program was:
#line 4414 "configure"
#include "confdefs.h"

#include <string.h>
#include <openssl/rand.h>
int main(void) 
{
        char a[2048];
        memset(a, 0, sizeof(a));
        RAND_add(a, sizeof(a), sizeof(a));
        return(RAND_status() <= 0);
}
-----------------------------------------------------------------------------

with cc:
-----------------------------------------------------------------------------
configure:4428: cc -o conftest -g  -I/usr/local/include -I/opt  -L/usr/local/lib 
-R/usr/local/lib -L/usr/ucblib -R/usr/ucblib
"configure", line 4417: cannot find include file: <openssl/rand.h>
cc: acomp failed for conftest.c
configure: failed program was:
#line 4414 "configure"
#include "confdefs.h"

#include <string.h>
#include <openssl/rand.h>
int main(void) 
{
        char a[2048];
        memset(a, 0, sizeof(a));
        RAND_add(a, sizeof(a), sizeof(a));
        return(RAND_status() <= 0);
}

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

The file rand.h:

-rw-r--r--   1 root     other        4701 Sep 25 13:09 
/usr/local/lib/include/openssl/rand.h


Additionally the option 
        --with-ssl-dir
has no effect at all.


cu
        Alexander

-- 
Alexander Elgert
Public Group
System Administration Group    TU Darmstadt
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to