public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: c++/2937: Simple C++ programs do not link: undefined reference to `std::strchr(char const*, int)'
@ 2001-05-25 7:26 Uwe Seimet
0 siblings, 0 replies; 3+ messages in thread
From: Uwe Seimet @ 2001-05-25 7:26 UTC (permalink / raw)
To: nobody; +Cc: gcc-prs
The following reply was made to PR c++/2937; it has been noted by GNATS.
From: Uwe Seimet <us@orbacus.com>
To: Carlo Wood <carlo@alinoe.com>
Cc: gcc-gnats@gcc.gnu.org
Subject: Re: c++/2937: Simple C++ programs do not link: undefined reference to `std::strchr(char const*, int)'
Date: Fri, 25 May 2001 16:21:29 +0200
Hi,
> This has been fixed shortly after the release of this snapshot.
> You might want to try to use CVS to checkout a later version.
Thank you, now it works. BTW, I don't have the current C++ specification
available: Is it correct that strncpy is in the std:: namespace now?
Cheers, Uwe
--
----------------------------------------------------------------------------
Dr. Uwe Seimet mailto:us@iona.com
IONA Total Business Integration(tm) http://www.orbacus.com
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: c++/2937: Simple C++ programs do not link: undefined reference to `std::strchr(char const*, int)'
@ 2001-05-25 6:26 Carlo Wood
0 siblings, 0 replies; 3+ messages in thread
From: Carlo Wood @ 2001-05-25 6:26 UTC (permalink / raw)
To: nobody; +Cc: gcc-prs
The following reply was made to PR c++/2937; it has been noted by GNATS.
From: Carlo Wood <carlo@alinoe.com>
To: us@ooc.de
Cc: gcc-gnats@gcc.gnu.org
Subject: Re: c++/2937: Simple C++ programs do not link: undefined reference to `std::strchr(char const*, int)'
Date: Fri, 25 May 2001 15:16:43 +0200
This has been fixed shortly after the release of this snapshot.
You might want to try to use CVS to checkout a later version.
--
Carlo Wood <carlo@alinoe.com>
^ permalink raw reply [flat|nested] 3+ messages in thread
* c++/2937: Simple C++ programs do not link: undefined reference to `std::strchr(char const*, int)'
@ 2001-05-25 3:16 us
0 siblings, 0 replies; 3+ messages in thread
From: us @ 2001-05-25 3:16 UTC (permalink / raw)
To: gcc-gnats
>Number: 2937
>Category: c++
>Synopsis: Simple C++ programs do not link: undefined reference to `std::strchr(char const*, int)'
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri May 25 03:16:01 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator: Uwe Seimet
>Release: 3.0 20010521 (prerelease)
>Organization:
>Environment:
Linux i686, kernel 2.4.4, configured with/home/us/gcc-20010521/configure --prefix=/opt/egcs --enable-shared --enable-languages=c++ --enable-threads
>Description:
GNU configure scripts fail when compiling this C++ program:
int main(){return(0);}
This results in the following error message:
/opt/egcs/lib/gcc-lib/i686-pc-linux-gnu/3.0/../../../libstdc++.so: undefined reference to `std::strchr(char const*, int)
The compiler was called with:
c++ tests.cc
With gcc 2.95.x everything is fine.
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2001-05-25 7:26 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-05-25 7:26 c++/2937: Simple C++ programs do not link: undefined reference to `std::strchr(char const*, int)' Uwe Seimet
-- strict thread matches above, loose matches on Subject: below --
2001-05-25 6:26 Carlo Wood
2001-05-25 3:16 us
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).