Return-Path: X-Original-To: apmail-incubator-ooo-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-ooo-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id B8EA9BD73 for ; Wed, 18 Jan 2012 10:04:44 +0000 (UTC) Received: (qmail 33707 invoked by uid 500); 18 Jan 2012 10:04:44 -0000 Delivered-To: apmail-incubator-ooo-dev-archive@incubator.apache.org Received: (qmail 33365 invoked by uid 500); 18 Jan 2012 10:04:37 -0000 Mailing-List: contact ooo-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: ooo-dev@incubator.apache.org Delivered-To: mailing list ooo-dev@incubator.apache.org Received: (qmail 33354 invoked by uid 99); 18 Jan 2012 10:04:36 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 18 Jan 2012 10:04:36 +0000 X-ASF-Spam-Status: No, hits=1.7 required=5.0 tests=FREEMAIL_ENVFROM_END_DIGIT,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of lilinyi921734@gmail.com designates 209.85.210.47 as permitted sender) Received: from [209.85.210.47] (HELO mail-pz0-f47.google.com) (209.85.210.47) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 18 Jan 2012 10:04:28 +0000 Received: by dadw11 with SMTP id w11so1504356dad.6 for ; Wed, 18 Jan 2012 02:04:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=WpfBbDKN2EacBe7xUjE+VPkIGVo+1xwQfJsOMtJ9GFQ=; b=lXNlVzXlED5bJId3vuB+TKHYGqho3gGLRCqr82k65PIdKsXMsolTeBPyW40TT7Yzab KhVfM/ValeMh3Dkha8OhgdBmaM4MUil/FY8OoREUwnWh/LLbJdTxsThHm+6Gr48dnKCx KjBdWEcDjNfnpFuyDdaF4XCuLeDavf5MZ1/Z0= MIME-Version: 1.0 Received: by 10.68.196.169 with SMTP id in9mr42320181pbc.86.1326881047056; Wed, 18 Jan 2012 02:04:07 -0800 (PST) Received: by 10.68.27.202 with HTTP; Wed, 18 Jan 2012 02:04:07 -0800 (PST) In-Reply-To: <20120117103242.GA8196@localhost> References: <4F040C7D.1040100@googlemail.com> <20120112034439.GE17893@localhost> <20120117103242.GA8196@localhost> Date: Wed, 18 Jan 2012 18:04:07 +0800 Message-ID: Subject: Re: smoketestoo_native From: linyi li To: ooo-dev@incubator.apache.org Content-Type: multipart/alternative; boundary=e89a8ff1c48278134d04b6ca91d4 X-Virus-Checked: Checked by ClamAV on apache.org --e89a8ff1c48278134d04b6ca91d4 Content-Type: text/plain; charset=ISO-8859-1 Hi Ariel, is /usr/local/lib in the linker search path? > > Can you tell me how to put /usr/local/lib in the linker search path. * does your system set the environment variable LD_LIBRARY_PATH > Try echo $LD_LIBRARY_PATH > > My system did not set the environment variable LD_LIBRARY_PATH, the echo result is NULL. * does your system add this path in the ld configuration? Usually > /etc/ld.so.conf and /etc/ld.so.conf.d/*.conf > > > If /usr/local/lib is not on the linker search path you will always get > undefined references. > Adding -L/usr/local/lib to the linker command is not enough. > > did you build the trunk/main/test module? > > When I met the problem in smoketestoo_native module, I tried to build test module. But there were problems too. Here is the error message: lily@lily-desktop:~/ooo/main$ cd test && build build -- version: 275224 ============= Building module test ============= Entering /home/lily/ooo/main/test/source/java/org/openoffice/test/tools echo Manifest-Version: 1.0 > ../../../../../../ unxlngi6.pro/class/test-tools/META-INF/MANIFEST.MF echo "Class-Path: juh.jar ridl.jar unoil.jar" >> ../../../../../../ unxlngi6.pro/class/test-tools/META-INF/MANIFEST.MF echo "Solar-Version: 340m1(Build:9584)" >> ../../../../../../ unxlngi6.pro/class/test-tools/META-INF/MANIFEST.MF cd ../../../../../../unxlngi6.pro/class/test-tools && zip -u -rX ../test-tools.jar META-INF/MANIFEST.MF || ret=$?; if [[ "$ret" != "12" && "$ret" != "1" ]] ; then exit $ret ; fi && echo "Nothing to update for zip" updating: META-INF/MANIFEST.MF (deflated 14%) cd ../../../../../../unxlngi6.pro/class && zip -u -rX test-tools.jar org/openoffice/test/tools || ret=$?; if [[ "$ret" != "12" && "$ret" != "1" ]] ; then exit $ret ; fi && echo "Nothing to update for zip" Nothing to update for zip Entering /home/lily/ooo/main/test/source/java/org/openoffice/test echo Manifest-Version: 1.0 > ../../../../../ unxlngi6.pro/class/test/META-INF/MANIFEST.MF echo "Class-Path: juh.jar ridl.jar unoil.jar" >> ../../../../../ unxlngi6.pro/class/test/META-INF/MANIFEST.MF echo "Solar-Version: 340m1(Build:9584)" >> ../../../../../ unxlngi6.pro/class/test/META-INF/MANIFEST.MF cd ../../../../../unxlngi6.pro/class/test && zip -u -rX ../test.jar META-INF/MANIFEST.MF -x "org/openoffice/test/tools/*" || ret=$?; if [[ "$ret" != "12" && "$ret" != "1" ]] ; then exit $ret ; fi && echo "Nothing to update for zip" updating: META-INF/MANIFEST.MF (deflated 14%) cd ../../../../../unxlngi6.pro/class && zip -u -rX test.jar org/openoffice/test -x "org/openoffice/test/tools/*" || ret=$?; if [[ "$ret" != "12" && "$ret" != "1" ]] ; then exit $ret ; fi && echo "Nothing to update for zip" Nothing to update for zip Entering /home/lily/ooo/main/test/inc Entering /home/lily/ooo/main/test/source/cpp Making: libtest.so g++ -Wl,-z,combreloc -Wl,-z,defs -Wl,-Bsymbolic-functions -Wl,--dynamic-list-cpp-new -Wl,--dynamic-list-cpp-typeinfo -Wl,--hash-style=both -shared -L../../unxlngi6.pro/lib -L../lib -L/home/lily/ooo/main/solenv/unxlngi6/lib -L/home/lily/ooo/main/solver/340/ unxlngi6.pro/lib -L/home/lily/ooo/main/solenv/unxlngi6/lib -L/usr/lib/jvm/java-6-sun/lib -L/usr/lib/jvm/java-6-sun/jre/lib/i386 -L/usr/lib/jvm/java-6-sun/jre/lib/i386/client -L/usr/lib/jvm/java-6-sun/jre/lib/i386/native_threads -L/usr/lib ../../ unxlngi6.pro/slo/getargument.o ../../unxlngi6.pro/slo/gettestargument.o../../ unxlngi6.pro/slo/officeconnection.o ../../ unxlngi6.pro/slo/toabsolutefileurl.o ../../unxlngi6.pro/slo/uniquepipename.o../../ unxlngi6.pro/slo/test_version.o -o ../../unxlngi6.pro/lib/libtest.so-luno_cppuhelpergcc3 -luno_cppu -L/usr/local/lib -lcppunit -luno_sal -Wl,--as-needed -ldl -lpthread -lm -Wl,--no-as-needed -Wl,-Bdynamic -lstlport_gcc ../../unxlngi6.pro/slo/uniquepipename.o: In function `test::uniquePipeName(rtl::OUString const&)': uniquepipename.cxx:(.text+0xb9): undefined reference to `CppUnit::SourceLine::SourceLine(_STL::basic_string, _STL::allocator > const&, int)' ../../unxlngi6.pro/slo/uniquepipename.o: In function `void CppUnit::assertEquals(oslProcessError const&, oslProcessError const&, CppUnit::SourceLine, _STL::basic_string, _STL::allocator > const&)': uniquepipename.cxx:(.text._ZN7CppUnit12assertEqualsI15oslProcessErrorEEvRKT_S4_NS_10SourceLineERKN4_STL12basic_stringIcNS6_11char_traitsIcEENS6_9allocatorIcEEEE[void CppUnit::assertEquals(oslProcessError const&, oslProcessError const&, CppUnit::SourceLine, _STL::basic_string, _STL::allocator > const&)]+0x43): undefined reference to `CppUnit::AdditionalMessage::AdditionalMessage(_STL::basic_string, _STL::allocator > const&)' uniquepipename.cxx:(.text._ZN7CppUnit12assertEqualsI15oslProcessErrorEEvRKT_S4_NS_10SourceLineERKN4_STL12basic_stringIcNS6_11char_traitsIcEENS6_9allocatorIcEEEE[void CppUnit::assertEquals(oslProcessError const&, oslProcessError const&, CppUnit::SourceLine, _STL::basic_string, _STL::allocator > const&)]+0x73): undefined reference to `CppUnit::Asserter::failNotEqual(_STL::basic_string, _STL::allocator >, _STL::basic_string, _STL::allocator >, CppUnit::SourceLine const&, CppUnit::AdditionalMessage const&, _STL::basic_string, _STL::allocator >)' collect2: ld returned 1 exit status dmake: Error code 1, while making '../../unxlngi6.pro/lib/libtest.so' ERROR: error 65280 occurred while making /home/lily/ooo/main/test/source/cpp lily@lily-desktop:~/ooo/main/test$ --e89a8ff1c48278134d04b6ca91d4--