On Thu, Jun 06, 2002 at 02:57:28PM -0500, Steve Romero wrote:
> Hi all,
> 
> Didn't see a bug list, but wanted to let everyone know that I had problems 
> with this beta release under the following conditions:
> 
> + gcc
> + Solaris 8 (patched)
> + rsaref-2.0
> + openssl-0.9.7-beta1
> 
> When compiling openssl I get:
> 
> evp_test.c: In function `main':
> evp_test.c:361: warning: implicit declaration of function `strsep'
> evp_test.c:361: warning: passing arg 1 of `atoi' makes pointer from integer 
> without a cast
> gcc -o evp_test -I.. -I../include  -DOPENSSL_SYSNAME_ULTRASPARC -fPIC 
> -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -DOPENSSL_NO_KRB5 
> -fPIC -m32 -mcpu=ultrasparc -O3 -fomit-frame-pointer -Wall -DB_ENDIAN 
> -DBN_DIV2W -DMD5_ASM evp_test.o  -L.. -lcrypto 
> -L/home/sromero/openssl-0.9.7-beta1/../rsaref-2.0/local/rsaref -lsocket 
> -lnsl -ldl
> evp_test.o: In function `main':
> evp_test.o(.text+0x11bc): undefined reference to `strsep'
> collect2: ld returned 1 exit status
> make[1]: *** [evp_test] Error 1
> make[1]: Leaving directory `/LOG/home/sromero/openssl-0.9.7-beta1/test'
> make: *** [sub_all] Error 1
> 
> Uh-oh.  I've tried compiling using gcc versions 2.8.1, 2.9.5, and 3.0.3.
>
I came across the same problem under Solaris 8 (SPARC), gcc 2.9.5.  The 
solution is to change the the strsep call (which is fine under Linux) to 
sstrsep.  There was a thread about this earlier this week on the openssl-dev
list.  You can find the information you need here:

 http://www.mail-archive.com/openssl-dev%40openssl.org/msg11806.html

As to the rest...that's gonna take more investigation.

Ido
-- 
===============================================================================
                        |Ido Dubrawsky               E-mail: [EMAIL PROTECTED]
     |          |       |Network Security Engineer
    :|:        :|:      |Cisco Secure Consulting Services
   :|||:      :|||:     |Cisco Systems, Inc.
.:|||||||:..:|||||||:.  |Austin, TX. 78759
===============================================================================

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to