Hi,

I tried to compile a 0.9.7 on a Solaris SunOS my_name 5.8
Generic_108528-03 sun4u sparc SUNW,UltraAX-MP.

config detects a solaris-sparcv9-gcc but I have a solaris-sparcv8-gcc
but this is no problem because it is fixable with "Configure
solaris-sparcv8-gcc". My problem is that the compilation fails with the
following message:

gcc -I.. -I../include  -fPIC -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN
-DHAVE_DLFCN_H -DOPENSSL_NO_KRB5 -mv8 -O3 -fomit-frame-pointer -Wall
-DB_ENDIAN -DBN_DIV2W   -c -o evp_test.o evp_test.c
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  -fPIC -DOPENSSL_THREADS -D_REENTRANT
-DDSO_DLFCN -DHAVE_DLFCN_H -DOPENSSL_NO_KRB5 -mv8 -O3
-fomit-frame-pointer -Wall -DB_ENDIAN -DBN_DIV2W evp_test.o  -L..
-lcrypto -lsocket -lnsl -ldl
evp_test.o: In function `main':
evp_test.o(.text+0x1300): undefined reference to `strsep'
collect2: ld returned 1 exit status
make[1]: *** [evp_test] Error 1
make[1]: Leaving directory
`/tmp/openssl-0.9.7-stable-SNAP-20020603/test'
make: *** [sub_all] Error 1

Does somebody know what's going on? strsep is available on Linux but not
on Solaris. Is it possible to write a function like for ustrsep and
sstrsep?

Regards,

Michael
-- 
-------------------------------------------------------------------
Michael Bell                   Email (private): [EMAIL PROTECTED]
Rechenzentrum - Datacenter     Email:  [EMAIL PROTECTED]
Humboldt-University of Berlin  Tel.: +49 (0)30-2093 2482
Unter den Linden 6             Fax:  +49 (0)30-2093 2959
10099 Berlin
Germany                                       http://www.openca.org
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to