Mailing List Archive

Why stpcpy : Build problem : Solaris 2.6
Please cc me on my reply address because I am not
on the list?

Why does gnupg 1.1.1 use stpcpy rather than strcpy.
Even the linux manpages seem to indicate it is deprecated.
My Solaris 2.6 keeps barfing about it, even though it
should not have been found by configure.

ps Using a /usr/ccs/bin linkloader on top of gcc 2.8.x
--
David T. Bath bathd@edipost.auspost.com.au
+613 9204 8713 (W) 0418 316 634 (Mbl)
Quantum computing precludes omniscience and vice versa.

--
Archive is at http://lists.gnupg.org - Unsubscribe by sending mail
with a subject of "unsubscribe" to gnupg-users-request@gnupg.org
Re: Why stpcpy : Build problem : Solaris 2.6 [ In reply to ]
Werner Koch writes:
> On Mon, 4 Sep 2000, David T. Bath wrote:
>
> > Why does gnupg 1.1.1 use stpcpy rather than strcpy.
> > Even the linux manpages seem to indicate it is deprecated.
>
> My man pages doesn't say so. It is a very convenient function.
>
> The problem is that something is wrong with the configure script.
> There is a replacement function somewhere.

The configure script is ok, but the replacement function doesn't
get used everywhere, apparently.

Undefined first referenced
symbol in file
stpcpy .libs/libgcrypt.so

$ nm -o gcrypt/*.lo | grep stpc
gcrypt/sexp.lo: U stpcpy

I think there's a -ljnlib or two missing ...

--
Archive is at http://lists.gnupg.org - Unsubscribe by sending mail
with a subject of "unsubscribe" to gnupg-users-request@gnupg.org
Re: Why stpcpy : Build problem : Solaris 2.6 [ In reply to ]
On Mon, 4 Sep 2000, David T. Bath wrote:

> Why does gnupg 1.1.1 use stpcpy rather than strcpy.
> Even the linux manpages seem to indicate it is deprecated.

My man pages doesn't say so. It is a very convenient function.

The problem is that something is wrong with the configure script.
There is a replacement function somewhere.

Werner


--
Werner Koch GnuPG key: 621CC013
OpenIT GmbH http://www.OpenIT.de

--
Archive is at http://lists.gnupg.org - Unsubscribe by sending mail
with a subject of "unsubscribe" to gnupg-users-request@gnupg.org