Missing stpcpy on Solaris 8
Boban Acimovic
acim@mbl.is
Fri, 26 Apr 2002 12:17:55 +0200
I still have problems compiling libgcrypt on Solaris 8 Sparc machine. I am
using GNU C and other utilities to make this.
creating libgcrypt.la
(cd .libs && rm -f libgcrypt.la && ln -s ../libgcrypt.la libgcrypt.la)
source='testapi.c' object='testapi.o' libtool=no \
depfile='.deps/testapi.Po' tmpdepfile='.deps/testapi.TPo' \
depmode=gcc /bin/sh ../scripts/depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I.. -Os -Wall -c `test -f testapi.c || echo
'./'`testapi.c
/bin/sh ../libtool --mode=link gcc -Os -Wall -o testapi testapi.o
libgcrypt.la -ldl -lnsl -lsocket
gcc -Os -Wall -o .libs/testapi testapi.o
./.libs/libgcrypt.so -ldl -lnsl -lsocket -Wl,--rpath -Wl,/usr/local/lib
./.libs/libgcrypt.so: undefined reference to `stpcpy'
./.libs/libgcrypt.so: undefined reference to `_gcry_rndunix_constructor'
./.libs/libgcrypt.so: undefined reference to `__udiv_qrnnd'
./.libs/libgcrypt.so: undefined reference to
`register_internal_cipher_extension'
collect2: ld returned 1 exit status
make[3]: *** [testapi] Error 1
make[3]: Leaving directory `/usr/local/src/libgcrypt-1.1.6/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/usr/local/src/libgcrypt-1.1.6/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/libgcrypt-1.1.6'
make: *** [all] Error 2
# grep HAVE_STPCPY *
config.h:/* #undef HAVE_STPCPY */
config.h.in:#undef HAVE_STPCPY
Please let me know what to do? Is there any newer version of libgcrypt?
Thank you in advance.
Regards,
Boban Acimovic
www.mbl.is