Cppunit Dllplugintester Error
Bhat Reply | Threaded Open this post in threaded view ♦ ♦ | Report Content as Inappropriate ♦ ♦ build error with cppunit undefined reference to dlopen' ubuntu - Making install in DllPlugInTester I'm trying to build LO.This is undefined reference to dlsym ubuntu what I did:# mkdir git# cd git# git clone git://anongit.freedesktop.org/libreoffice/bootstrap libo # ./autogen.sh --with-num-cpus=2 --with-max-jobs=1 --without-junit --disable-graphite# makeand the build failed citing to re-build cppunit.I run:# source *Env.Set.sh; cd cppunit; rm -r $INPATH ; deliver -delete; build and I get this error: http://pastebin.com/KcMu29JaCan anyone please helpThanks,Kishan _______________________________________________ LibreOffice mailing list [hidden email] http://lists.freedesktop.org/mailman/listinfo/libreoffice Michael Meeks Reply | Threaded Open this post in threaded view ♦ ♦ | Report Content as Inappropriate ♦ ♦ Re: build error with cppunit - Making install in DllPlugInTester Hi Kishan, On Fri, 2011-02-11 at 09:15 +0530, Kishan Bhat wrote: > I'm trying to build LO. On what platform (out of interest ?) is this some self-build linux by any chance ? did you somehow disable dynamic linking while configuring it ? ;-) > and I get this error: http://pastebin.com/KcMu29Jamake[2]: Entering directory `/home/bhat/git/libo/clone/libs-extern/cppunit/unxlngi6.pro/misc/build/cppunit-1.12.1/src/DllPlugInTester' /bin/bash ../../libtool --tag=CXX --mode=link g++ -ldl -o DllPlugInTester DllPlugInTester.o CommandLineParser.o ../../src/cppunit/libcppunit.la -lm g++ -o .libs/DllPlugInTester DllPlugInTester.o CommandLineParser.o -ldl ../../src/cppunit/.libs/libcppunit.so -lm -Wl,--rpath -Wl,/home/bhat/git/libo/clone/libs-extern/cppunit/unxlngi6.pro/misc/build/cppunit-1.12.1/ooo-install/lib ./../src/cppunit/.libs/libcppunit.so: undefined reference to `dlsym' ./../src/cppunit/.libs/libcppunit.so: undefined reference to `dlopen' ./../src/cppunit/.libs/libcppunit.so: undefined reference to `dlclose' Looks like your libdl is causing grief - it would be interesting to know what: objdump -T /lib/libdl.so.2 says - surely it must define 'dlsym' ? :-) how could it not ? and your link line contains that. ATB, Michael. -- [hidden email] <><, Pseudo Engineer, itinerant idiot _______________________________________________ LibreOffice mailing list [hidden email] http://lists.freedesktop.org/mailman/listinfo/libreoffice Kishan Bhat Reply | Threaded Open this post in threaded
SCAP-on-Apple SmartCard Services WebKit XQuartz Contact Terms of Use Privacy Policy All user-submitted text and content on this website is licensed under a Creative Commons Attribution 2.5 License unless otherwise noted. Copyright © 2011 Apple Inc. All rights reserved. New Ticket Tickets Wiki http://nabble.documentfoundation.org/build-error-with-cppunit-Making-install-in-DllPlugInTester-td2471158.html Browse Source Timeline Roadmap Ticket Reports Search Search: Context Navigation ← Previous TicketNext Ticket → Ticket #14487 (closed defect: fixed) Opened 9 years ago Last modified 6 years ago cppunit https://trac.macports.org/ticket/14487 @1.12.0 doesn't build with +universal variant Reported by: dave@… Owned by: mww@… Priority: Normal Milestone: Component: ports Version: 1.6.0 Keywords: Cc: Port: cppunit Description (last modified by jmr@…) (diff) $ sudo -H port install cppunit +universal ---> Fetching cppunit ---> Verifying checksum(s) for cppunit ---> Extracting cppunit ---> Configuring cppunit ---> Building cppunit with target all Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_cppunit/work/cppunit-1.12.0" && make all " returned error 2 Command output: "CppUnit::TestResult::addListener(CppUnit::TestListener*)", referenced from: runTests(CommandLineParser const&)in DllPlugInTester.o runTests(CommandLineParser const&)in DllPlugInTester.o runTests(CommandLineParser const&)in DllPlugInTester.o "CppUnit::TestSuccessListener::wasSuccessful() const", referenced from: runTests(CommandLineParser const&)in DllPlugInTester.o "CppUnit::PlugInParameters::PlugInParameters(std::basic_string
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings http://stackoverflow.com/questions/20099277/missing-libraries-in-cppunit-1-12-1 and policies of this site About Us Learn more about Stack Overflow https://lists.gnu.org/archive/html/bug-libtool/2005-04/msg00163.html the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it undefined reference only takes a minute: Sign up Missing libraries in CppUnit 1.12.1 up vote 0 down vote favorite 1 I need to learn how to use and manipulate the old version of Cpp Unit 1.12.1 for a client that uses it. However, when I tried to obtain a copy from SourceForge, it appears that the CPPUnit 1.12.1 version does not contain undefined reference to library files. There are no library files inside the lib folder! I think there's supposed to be because I'm using CppUnit with Visual Studio 2010 and all the necessary syntax is unidentifiable. Also I was wondering how would I connect Cpp Unit 1.12.1 with Visual Studio 2010. That is, how do I add it as a reference or import the library so that Visual Studio detects that I'm using it? Trying to do all this on windows. EDIT: When I try building cppunit solution under debug, I receive an error similar to this. I tried setting my outdir to the same command provided in that post but it doesn't help. However, it might have something to do with converting VS 6 files to VS 10. However, I also get these warnings: Warning 1 warning MSB8012: TargetPath(C:\Users\~\Downloads\cppunit-1.12.1.tar\cppunit-1.12.1\cppunit-1.12.1\src\cppunit\.\Debug\cppunit.lib) does not match the Library's OutputFile property value (C:\Users\~\Downloads\cppunit-1.12.1.tar\cppunit-1.12.1\cppunit-1.12.1\src\cppunit\Debug\cppunitd.lib). This may cause your project to build incorrectly. To correct this, please make sure that $(OutDir), $(TargetName) and $(TargetExt) property values match the value specified in %(Lib.OutputFile). C:\Program Files\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppBuild.targets 1151 6 cppunit Warn
Date: Mon, 25 Apr 2005 14:47:26 +0200 User-agent: Mutt/1.4.1i * address@hidden wrote on Mon, Apr 25, 2005 at 12:35:40PM CEST: > Ralf, Thanks for your quick reply! > > I am sorry, I need to clarify. I hope I am clear this time. > > System is sparc-solaris-2.8 > > I have installed GCC 3.4.2 in my local area and referring to it via PATH > and LD_LIBRARY_PATH. I have also installed binutils and dejagnu in my > local area. OK. Note that I have no experience whatsoever with cppunit, so take my advice with a grain of salt: > When I build cppunit in my local area I get the error after gmake creates > libcppunit.* in module DllPluginTester : > > ========================================================================================== > mkdir .libs > g++ -D__sparc__ -mcpu=ultrasparc3 -m32 -ffor-scope -fno-enforce-eh-specs > -fno-const-strings -g -O3 -D__sparc__ -mcpu=ultrasparc3 -Os -o > DllPlugInTester DllPlugInTester.o CommandLineParser.o -ldl > ../../src/cppunit/.libs/libcppunit.a -lpthread > /user/sbhatnag/gccv3.4.2/lib/libstdc++.so > -L/user/sbhatnag/gcc-3.4.2/objdir/sparc-sun-solaris2.8/libstdc++-v3/src > -L/user/sbhatnag/gcc-3.4.2/objdir/sparc-sun-solaris2.8/libstdc++-v3/src/.libs > -L/user/sbhatnag/gcc-3.4.2/objdir/gcc -Wl,-R > -Wl,/user/sbhatnag/gccv3.4.2/lib -Wl,-R -Wl,/user/sbhatnag/gccv3.4.2/lib > ld: fatal: recording name conflict: file > `/user/sbhatnag/gccv3.4.2/lib/libstdc++.so' and file > `/user/sbhatnag/gcc-3.4.2/objdir/sparc-sun-solaris2.8/libstdc++-v3/src/.libs/libstdc++.so' > > provide identical dependency names: libstdc++.so.6 (possible multiple > inclusion of the same file) > ld: fatal: File processing errors. No output written to DllPlugInTester > collect2: ld returned 1 exit status > gmake[2]: *** [DllPlugInTester] Error 1 > gmake[2]: Leaving directory > `/user/sbhatnag/cppunit/cppunit-1.9.14/src/DllPlugInTester' > > ========================================================================================== > > Now, see that the options > "-L/user/sbhatnag/gcc-3.4.2/objdir/sparc-sun-solaris2.8/libstdc++-v3/src > -L/user/sbhatnag/gcc-3.4.2/objdir/sparc-sun-solaris2.8/libstdc++-v3/src/.libs" > > are no