From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21243 invoked by alias); 8 Sep 2004 15:51:19 -0000 Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org Received: (qmail 21236 invoked from network); 8 Sep 2004 15:51:18 -0000 Received: from unknown (HELO uni.thekramers.net) (66.92.68.235) by sourceware.org with SMTP; 8 Sep 2004 15:51:18 -0000 Received: by uni.thekramers.net (Postfix, from userid 500) id 8C5E91C181; Wed, 8 Sep 2004 11:51:18 -0400 (EDT) Received: from localhost (localhost [127.0.0.1]) by uni.thekramers.net (Postfix) with ESMTP id 8BFB41CB740 for ; Wed, 8 Sep 2004 11:51:18 -0400 (EDT) Date: Wed, 08 Sep 2004 15:51:00 -0000 From: David Kramer To: gcc-help@gcc.gnu.org Subject: Undefined: basic_streambuff:seekoff Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-SW-Source: 2004-09/txt/msg00057.txt.bz2 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 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 >::seekoff(long, std::_Ios_Seekdir, std::_Ios_Openmode) ld: 0711-317 ERROR: Undefined symbol: .std::basic_ostream >::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.