Return-Path: Delivered-To: apmail-stdcxx-dev-archive@www.apache.org Received: (qmail 61439 invoked from network); 6 Feb 2008 23:34:31 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 6 Feb 2008 23:34:31 -0000 Received: (qmail 60914 invoked by uid 500); 6 Feb 2008 23:34:23 -0000 Delivered-To: apmail-stdcxx-dev-archive@stdcxx.apache.org Received: (qmail 60894 invoked by uid 500); 6 Feb 2008 23:34:23 -0000 Mailing-List: contact dev-help@stdcxx.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@stdcxx.apache.org Delivered-To: mailing list dev@stdcxx.apache.org Received: (qmail 60885 invoked by uid 99); 6 Feb 2008 23:34:23 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 06 Feb 2008 15:34:23 -0800 X-ASF-Spam-Status: No, hits=2.6 required=10.0 tests=DNS_FROM_OPENWHOIS,SPF_HELO_PASS,SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of lists@nabble.com designates 216.139.236.158 as permitted sender) Received: from [216.139.236.158] (HELO kuber.nabble.com) (216.139.236.158) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 06 Feb 2008 23:33:54 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1JMtmD-0005X5-Jb for dev@stdcxx.apache.org; Wed, 06 Feb 2008 15:34:01 -0800 Message-ID: <15324288.post@talk.nabble.com> Date: Wed, 6 Feb 2008 15:34:01 -0800 (PST) From: Travis Vitek To: dev@stdcxx.apache.org Subject: Re: HP-UX 11.23 aCC 3.73 In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: vitek@roguewave.com References: X-Virus-Checked: Checked by ClamAV on apache.org Scott Zhong-2 wrote: > > Hi while compiling executables with stdcxx I ran into the following > warnings during linking with +nostl flag: > > ld: (Warning) Unsatisfied symbol "ostream::operator <<(const char *)" in > file /usr/lib/pa20_64/libstd.sl > ld: (Warning) Unsatisfied symbol "Class tables [Vtable] for type > "bad_alloc"" in file /usr/lib/pa20_64/libstd.sl > ld: (Warning) Unsatisfied symbol "Class tables [Vtable] dependent on key > function: "exception::~exception()"" in file /usr/lib/pa20_64/libstd.sl > ld: (Warning) Unsatisfied symbol "typeid" in file > /usr/lib/pa20_64/libstd.sl > ld: (Warning) Unsatisfied symbol "exception::~exception()" in file > /usr/lib/pa20_64/libstd.sl > ld: (Warning) Unsatisfied symbol "istream::do_ipfx(int)" in file > /usr/lib/pa20_64/libstd.sl > > after some research, I found that the compile lines needed +nostl as > well to not include the stl that was shipped with HP-UX compiler. But > doing this I ran into compiler issues such as these: > Scott, >From my quick look at what you've posted above, it appears that you are overlooking the actual problem. If you look at the original linker error, you'll see that the linker is attempting to link using the native library [/usr/lib/pa20_64/libstd.sl]. If you're using +nostl, then you should not be linking to the native library, right? I'd venture to guess that the build would go a little better if it were trying to link to the stdcxx library. Travis -- View this message in context: http://www.nabble.com/HP-UX-11.23-aCC-3.73-tp15322076p15324288.html Sent from the stdcxx-dev mailing list archive at Nabble.com.