Return-Path: Delivered-To: apmail-xerces-p-dev-archive@www.apache.org Received: (qmail 75891 invoked from network); 31 Jul 2006 14:41:58 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 31 Jul 2006 14:41:58 -0000 Received: (qmail 40770 invoked by uid 500); 31 Jul 2006 14:41:57 -0000 Delivered-To: apmail-xerces-p-dev-archive@xerces.apache.org Received: (qmail 40703 invoked by uid 500); 31 Jul 2006 14:41:57 -0000 Mailing-List: contact p-dev-help@xerces.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: p-dev@xerces.apache.org Delivered-To: mailing list p-dev@xerces.apache.org Received: (qmail 40685 invoked by uid 99); 31 Jul 2006 14:41:57 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 31 Jul 2006 07:41:57 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [205.144.146.205] (HELO csgrelay2.csgsystems.com) (205.144.146.205) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 31 Jul 2006 07:41:54 -0700 Received: from omawebmail03.csg.csgsystems.com (omawebmail03.csgsystems.com [10.99.93.21]) by csgrelay2.csgsystems.com (8.12.10/8.12.11) with SMTP id k6VER7Um023361 for ; Mon, 31 Jul 2006 09:27:08 -0500 Received: from omaexch04.csg.csgsystems.com ([10.10.9.83]) by omawebmail03.csg.csgsystems.com with Microsoft SMTPSVC(6.0.3790.1830); Mon, 31 Jul 2006 09:41:32 -0500 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: RE: Errors building xerces on AIX Date: Mon, 31 Jul 2006 09:41:31 -0500 Message-ID: In-Reply-To: <20060730145559.90019.qmail@web54002.mail.yahoo.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Errors building xerces on AIX thread-index: Acaz6FcfNcsApOSgTc+7i8Dd6GrI0gAxi+qg From: "Pluta, Edward" To: X-OriginalArrivalTime: 31 Jul 2006 14:41:32.0147 (UTC) FILETIME=[6A3FA430:01C6B4AF] X-Scanned-By: MIMEDefang 2.34 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N I used the following env variables=20 CFLAGS=3D"-O2 -mcpu=3Dpowerpc" CXXFLAGS=3D"$CFLAGS" (And of cousre whatever xerces requires) And command to build the package ./runConfigure -paix -cgcc -xg++ -b32 -P/usr/local/xerces -rpthread Hopefully the -r pthread will fix your issue.=20 -----Original Message----- From: sandip shahane [mailto:sandipshahane@yahoo.com]=20 Sent: Sunday, July 30, 2006 9:56 AM To: p-dev@xerces.apache.org Subject: RE: Errors building xerces on AIX Doing this also I am still getting errors as ld: 0711-317 ERROR: Undefined symbol: .pthread_mutexattr_settype What is missing? --- "Pluta, Edward" wrote: > What we did was to change the Makefile.incl to basically have the save > options as a linux compile. I have attached our version of the=20 > Makefile.incl (not sure if it will come through or not). The only=20 > section that I believe we changed was the AIX options now has an IF=20 > for gcc, other wise it does what it did before. We used gcc 4.1.1 on=20 > AIX 5.2, but it should work for you as well. > =20 > I was going to forward this to the development staff at one point but=20 > could not figure out where to send it. Does anyone know? > =20 > Good luck. >=20 > ________________________________ >=20 > From: Sandeep Shahane > [mailto:Sandeep_Shahane@symantec.com] > Sent: Friday, July 28, 2006 8:58 AM > To: p-dev@xerces.apache.org > Subject: Errors building xerces on AIX >=20 >=20 > Hi,=20 > I am building xerces library on AIX (4.3.3, but later plan to also > build on 5.x versions) with runconfigure options as ./runConfigure -p=20 > aix -c gcc -x g++ -d -C "--prefix=3D/usr/local/xerces". (I do not have = > native AIX compiler.) > =20 > After building all .o files it gives error > makeC++SharedLib not found. I > searched over the web for this error, and seems like it still uses=20 > native xcl compiler that I dont have. So, now I want to override it=20 > with equivalent g++ options. What do I need to do (is only changes=20 > Makefile.incl sufficient, or did I miss anything > else) ?=20 > =20 > What are the appropriate g++ options that I need to specify 'coz the=20 > options that i tried as below still gives errors > =20 > g++ -DAIX -shared -fPIC -Wl,-soname,libxerces-c.so > -o > /home/mpai/xerces/xerces-c-src_2_7_0/lib/libxerces-c.so > =20 > I tried modifying Makefile.incl in AIX section to make shared lib with > g++ -v --shared ${LDFLAGS} options that also didn't > work. >=20 > Thanks and Regards, > Sandeep >=20 > =20 > > --------------------------------------------------------------------- > To unsubscribe, e-mail: > p-dev-unsubscribe@xerces.apache.org > For additional commands, e-mail: p-dev-help@xerces.apache.org __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com=20 --------------------------------------------------------------------- To unsubscribe, e-mail: p-dev-unsubscribe@xerces.apache.org For additional commands, e-mail: p-dev-help@xerces.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: p-dev-unsubscribe@xerces.apache.org For additional commands, e-mail: p-dev-help@xerces.apache.org