public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
From: David Kramer <david@thekramers.net>
To: gcc-help@gcc.gnu.org
Subject: Undefined: basic_streambuff:seekoff
Date: Wed, 08 Sep 2004 15:51:00 -0000	[thread overview]
Message-ID: <Pine.LNX.4.58.0409081136080.27278@uni.thekramers.net> (raw)

Background: 
*STILL* trying to get a working GNU toolchain on AIX 5.2.  
Currently have:
- gcc 3.3.3 downloaded binary compiled for AIX 5.1
- gcc 3.4.0 bootstrapped from gcc 3.3.3 above
- binutils 2.14 someone else built.  Has architecture problems,
  etc.  See previous messages for that mess.  Never resolved.
- binutils 2.15 I built with gcc 3.3.3 above.  Same problems.
- xlC native AIX compiler
- ld native AIX linker

Problem: Trying to get gcc3.4.0 to compile a tiny little test program,
which includes <sstream> for stringstream operations, and a Rogue Wave
RWCString.  I'm using the native linker.  Even if I comment out the
RWCString in the source code, so there are no references at all to Rogue
Wave in the source, but I still include the -ltls77-xsd on the command
line, I get:

-----------------------------------------------------
~/build/test> g++ -mcpu=rs64a -L/dkramer/build/rogue/lib/ 
-I/dkramer/build/rogue/rogue -D_RWCONFIG=xsd -DRW_NO_LEADING_UNDERSCORE 
-ltls77-xsd -o piddlerw piddlerw.cpp && ./piddlerw

ld: 0711-317 ERROR: Undefined symbol: std::basic_streambuf<char, 
std::char_traits<char> >::seekoff(long, std::_Ios_Seekdir, 
std::_Ios_Openmode)

ld: 0711-317 ERROR: Undefined symbol: .std::basic_ostream<char, 
std::char_traits<char> >::sentry::operator bool()

ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more 
information.
collect2: ld returned 8 exit status
-----------------------------------------------------

However, if I try the exact same thing with the gcc 3.3.3 compiler, even 
with the Rogue Wave RWCString uncommented, it compiles and runs fine.

I've STFW and found a few other people who have gotten the same error, but 
no answers on how to solve the problem. I also searched the Rogue Wave 
knowledgebase to no avail. I am assuming there was some sort of change to 
the standard c++ library, but I'm kinda new at this stuff, and could use 
some help.

Thanks in advance.

             reply	other threads:[~2004-09-08 15:51 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-09-08 15:51 David Kramer [this message]
2004-09-08 16:32 ` David Kramer
2004-09-08 17:05   ` David Kramer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Pine.LNX.4.58.0409081136080.27278@uni.thekramers.net \
    --to=david@thekramers.net \
    --cc=gcc-help@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).