Return-Path: Delivered-To: apmail-stdcxx-dev-archive@www.apache.org Received: (qmail 58191 invoked from network); 6 May 2009 15:01:01 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 6 May 2009 15:01:01 -0000 Received: (qmail 24939 invoked by uid 500); 6 May 2009 15:01:01 -0000 Delivered-To: apmail-stdcxx-dev-archive@stdcxx.apache.org Received: (qmail 24879 invoked by uid 500); 6 May 2009 15:01:01 -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 24866 invoked by uid 99); 6 May 2009 15:01:01 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 06 May 2009 15:01:01 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of msebor@gmail.com designates 209.85.200.168 as permitted sender) Received: from [209.85.200.168] (HELO wf-out-1314.google.com) (209.85.200.168) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 06 May 2009 15:00:49 +0000 Received: by wf-out-1314.google.com with SMTP id 23so118787wfg.2 for ; Wed, 06 May 2009 08:00:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=unnv1J8jhqAeKpZX8+K4FQJVVVpdwBIH9iUvXlH9dqw=; b=imb9NmT4D/u68WEhX5PSs70eHPtHCc3Rdmr1FIIyyfJbTMNU4m/IwfAeISHqpn8aUq curklRctC9BussBZEYJAq1XRm/1WauyjA6I+Xjkvi3gcjqFSsllFbMFeAHlCY4wujbHV UgmBhiM5cc74gLrhDduW2AN0J8SSabFySmsOk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; b=s8idoDuzSs1fwCFSqnGoM04xdHg6XG3VqQVUenbKBP2LQtmIgKYfOnlW8UOi/kfb3C xecAjgsK4aiUVFQO5YCcxn5VNZjixWTeIJoI02IfC7Am1IntQKZi80ER1adK0YcWpWu/ 7SETQDHdePEpWixsUCSKOX+EkUQv45UuFT+60= Received: by 10.142.212.21 with SMTP id k21mr546826wfg.125.1241622027847; Wed, 06 May 2009 08:00:27 -0700 (PDT) Received: from localhost.localdomain (c-71-229-200-170.hsd1.co.comcast.net [71.229.200.170]) by mx.google.com with ESMTPS id 24sm6780908wfc.37.2009.05.06.08.00.19 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 06 May 2009 08:00:21 -0700 (PDT) Message-ID: <4A01A601.4070401@gmail.com> Date: Wed, 06 May 2009 09:00:17 -0600 From: Martin Sebor User-Agent: Thunderbird 2.0.0.21 (X11/20090320) MIME-Version: 1.0 To: dev@stdcxx.apache.org Subject: Re: Problem building Standard Library References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Jeremy Dean wrote: > Turns out they are not getting this error when building the library but > when they are building their application and using the Standard Library. > > /illustrate/iplus/source/rw_buildspace/include/rw/_iosfwd.h:176: error: > '_RWSTD_SEEK_SET' was not declared in this scope > /illustrate/iplus/source/rw_buildspace/include/rw/_iosfwd.h:177: error: > '_RWSTD_SEEK_CUR' was not declared in this scope > /illustrate/iplus/source/rw_buildspace/include/rw/_iosfwd.h:178: error: > '_RWSTD_SEEK_END' was not declared in this scope > /illustrate/iplus/source/rw_buildspace/include/rw/_iterbase.h:82: error: > '_RWSTD_PTRDIFF_T' does not name a type > /illustrate/iplus/source/rw_buildspace/include/rw/_iterbase.h:93: error: > '_RWSTD_PTRDIFF_T' does not name a type > /illustrate/iplus/source/rw_buildspace/include/rw/_iterbase.h:104: > error: expected type-specifier before '_RWSTD_PTRDIFF_T' > > Any ideas? The library wouldn't build w/o these macros defined either. There must be something wrong with their setup. Again, to be able to tell what it might be we need to see the full log of the failed build (i.e., the command line arguments to the compiler and all errors). Martin > > Jeremy > > -----Original Message----- > From: Martin Sebor [mailto:msebor@gmail.com] > Sent: Friday, May 01, 2009 9:13 AM > To: dev@stdcxx.apache.org > Subject: Re: Problem building Standard Library > > Jeremy Dean wrote: >> >> >> I have a customer on Suse Linux 10update2 that is trying to build >> apache Standard Library stdcxx-4.2.1.1 (Sourcepro edition 10 update >> 1). They are getting the error described in >> http://issues.apache.org/jira/browse/STDCXX-1029 >> >> I recommended that customer reinstall Suse Linux 10.0 as that what was > >> certified. Here are the steps they took, but are still getting the >> error described: >> >> We reinstalled Suse Linux 10.2 without GCC 4.1.2. I then installed GCC > >> 4.1.0 from the given website. Afterwards, I reinstalled the latest >> version of SourcePro and built it. >> When we tried building our library again, we still get the >> _RWSTD_SEEK_SET compile error. So we are using everything as >> recommended, but the issue still exists. Can you help? > > STDCXX-1029 turned out to be invalid. It was caused by using an > installation of gcc configured for another system. As Jakub Jelinek > explains in his comment on gcc bug 37405 > http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37405 > gcc must be used on the platform it's configured for. Unless there is a > good reason to do otherwise, it's usually best to use the default > version of gcc that comes with the system. > > That said, it's also possible that the error is due to some other > underlying problem. In order to be able to tell, I'd need to see the > actual error (i.e., the build log for the library as well as the > contents of $BUILDDIR/include/config.log). > > Martin > >> Thanks, >> >> >> >> Jeremy >> >> Jeremy Dean >> Rogue Wave Software, Inc. >> Technical Support >> Phone: 303-545-3205 -- 1-800-404-4767 >> E-mail: support@roguewave.com >> Web: http://www.roguewave.com/support Knowledge Base entries: >> http://www.roguewave.com/kbdocs/search.html >> View issues online at: >> http://www.roguewave.com/youraccount/login/ >> > >