Missing stpcpy on Solaris 8

Boban Acimovic acim@mbl.is
Tue, 19 Feb 2002 14:41:48 +0100


Thank you for your help :)

gcc -O2 -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'
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

I still have problem with stpcpy, _gcry_rndunix_constructor and
__udiv_qrnnd.

I think I did with HAVE_STPCPY what you said:

[root@riemann libgcrypt-1.1.6]# grep HAVE_STPCPY *
config.h:/* #undef HAVE_STPCPY */
config.h:#define HAVE_STPCPY 1
config.h.in:/* #undef HAVE_STPCPY */
config.h.in:#define HAVE_STPCPY 1

Still, I can resolve problem with this function in the old way I did, but
problem with another two functions is still there. I visually checked file
configure.in and it is patched correctly. Have you made changes to CVS?
Shell I download CVS version of libgcrypt? Thank you in advance.

Regards,
Boban Acimovic
www.mbl.is