From stdcxx-user-return-160-apmail-incubator-stdcxx-user-archive=incubator.apache.org@incubator.apache.org Tue Oct 31 11:46:15 2006 Return-Path: Delivered-To: apmail-incubator-stdcxx-user-archive@www.apache.org Received: (qmail 60415 invoked from network); 31 Oct 2006 11:46:15 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 31 Oct 2006 11:46:15 -0000 Received: (qmail 21086 invoked by uid 500); 31 Oct 2006 11:46:26 -0000 Delivered-To: apmail-incubator-stdcxx-user-archive@incubator.apache.org Received: (qmail 21073 invoked by uid 500); 31 Oct 2006 11:46:26 -0000 Mailing-List: contact stdcxx-user-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: stdcxx-user@incubator.apache.org Delivered-To: mailing list stdcxx-user@incubator.apache.org Received: (qmail 21062 invoked by uid 99); 31 Oct 2006 11:46:26 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 31 Oct 2006 03:46:26 -0800 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of geoff.winn@googlemail.com designates 66.249.92.171 as permitted sender) Received: from [66.249.92.171] (HELO ug-out-1314.google.com) (66.249.92.171) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 31 Oct 2006 03:46:14 -0800 Received: by ug-out-1314.google.com with SMTP id y2so1714135uge for ; Tue, 31 Oct 2006 03:45:52 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=googlemail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=exQbM4WNl1Q873YFL+IiobFJlRojhvJetcbBaHTdX+TD69FKS9a7KUI5F2LBuZEjktXbWeyX77FOQobuSmut/RMK7P+SKolZQw4ff3SgeYI++V1KrnAUp2G5j1eGkMNDNAkJom0bZ4bqLejSELQCr/enHpAaiH8/3UQboJvMhaU= Received: by 10.78.201.10 with SMTP id y10mr6676381huf; Tue, 31 Oct 2006 03:45:51 -0800 (PST) Received: by 10.78.190.3 with HTTP; Tue, 31 Oct 2006 03:45:51 -0800 (PST) Message-ID: <61ceca540610310345q3738cdebtdaae900d06232594@mail.gmail.com> Date: Tue, 31 Oct 2006 11:45:51 +0000 From: "Geoffrey Winn" To: stdcxx-user@incubator.apache.org Subject: Re: Problem building Tuscany SDO with stdcxx on Linux In-Reply-To: <454652D3.7050803@roguewave.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_3604_25076989.1162295151802" References: <61ceca540610020946x7adb374ax74c1b4d078503050@mail.gmail.com> <61ceca540610160917m25b48d6bn4f615f46f17142d4@mail.gmail.com> <4533B424.7050403@roguewave.com> <61ceca540610161031t5ebf7b8fl3027613cbc0d82ef@mail.gmail.com> <4533C46E.6000806@roguewave.com> <61ceca540610170247x21a2c501l1c127b6f4c07c82a@mail.gmail.com> <4534EB73.1030604@roguewave.com> <4534FF8A.2020200@roguewave.com> <61ceca540610171235t7ccfddd1xd827531896e88fa@mail.gmail.com> <454652D3.7050803@roguewave.com> X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_3604_25076989.1162295151802 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline On 30/10/06, Martin Sebor wrote: > > Geoffrey Winn wrote: > > On 17/10/06, Martin Sebor wrote: > > > >> > >> I think we'll need a test case to figure out what's going on. > >> (Does the SDO library execute any code at startup?) It would > >> help to reduce it as much as possible by eliminating as many > >> dependencies as you can. > >> > >> Martin > >> > > > > > > Well one thing I could do is help you set up a Tuscany SDO build > > environment. It's fairly straightforward and then you could see the > problem > > for yourself. The test program can be trivial - and I'll supply it. It > > should take about 15 mins to set it up. Let me know if that is any use. > > Sorry for the delayed response -- I just got back from a two week > trip. I expect to need to spend the next few days catching up on > email and other things but if setting up Tuscany isn't too involved > I might be able to look into it sometime in the relatively near > future (late this week or early next week). > > Martin > No problem with the response - it gave me time to do a little work on this myself. Anyway 1. Tuscany SDO should be easy to set up - and if it isn't I need to know that so I can fix it. Let me know when/if you have some time and I'll send the instructions. 2. I tried exploring this problem with a trivial hello world example, as follows. #include #include "commonj/sdo/SDO.h" using namespace std; using namespace commonj::sdo; int main() { cout << "Hello World.Start.\n"; #ifdef SDO DataFactoryPtr mdg; mdg = DataFactory::getDataFactory(); #endif cout << "Hello World.End.\n"; } If I compile without defining SDO and link with stdcxx it works fine (no surprise). If I define SDO then I have to link with the SDO library as well and that works too. This pretty strongly hints that I'm still not getting the Tuscany build modified correctly. I am building the example above with a trivial shell script, however the Tuscany build is a much more complicated collection of autoconf/automake/etc scripts. Obviously I would welcome you trying out a Tuscany build however I'm going to take another look at the way the SDO test programs are built because that seems to be the most likely suspect at the moment. Regards, Geoff. ------=_Part_3604_25076989.1162295151802--