Apache OpenOffice (AOO) Bugzilla – Issue 65135
compilation error: cannot find -ltl680li
Last modified: 2006-05-07 15:28:06 UTC
I built SRC680_m166 normally and find compilation error below. ******************************************************** build -- version: 1.148 ============= Building project unoxml ============= /home/ooosrc/SRC680_m166/unoxml/source/dom ------------- /home/ooosrc/SRC680_m166/unoxml/source/xpath ------------- /home/ooosrc/SRC680_m166/unoxml/source/events ------------- /home/ooosrc/SRC680_m166/unoxml/source/service dmake: Executing shell macro: $(FIND) . -name "{$(subst,$($(WINVERSIONNAMES)_MAJOR),* $(subst,$(UPD)$(DLLPOSTFIX), $(SHL1TARGET)))}.xml" ------------------------------ Making: ../../unxlngi4.pro/lib/libunoxml680li.so ccache gcc -z combreloc -z defs -Wl,-rpath,'$ORIGIN' -shared -Wl,-O1 -Wl,--version-script ../../unxlngi4.pro/misc/exports_unoxml680li.map -L../../unxlngi4.pro/lib -L../lib -L/home/ooosrc/SRC680_m166/solenv/unxlngi4/lib -L/home/ooosrc/SRC680_m166/solver/680/unxlngi4.pro/lib -L/home/ooosrc/SRC680_m166/solenv/unxlngi4/lib -L/usr/lib/jvm/java-1.4.2-sun/lib -L/usr/lib/jvm/java-1.4.2-sun/jre/lib/i386 -L/usr/lib/jvm/java-1.4.2-sun/jre/lib/i386/client -L/usr/lib/jvm/java-1.4.2-sun/jre/lib/i386/native_threads -L/usr/X11R6/lib ../../unxlngi4.pro/slo/services.o ../../unxlngi4.pro/slo/unoxml_dflt_version.o ../../unxlngi4.pro/slo/unoxml_dflt_description.o -o ../../unxlngi4.pro/lib/libunoxml680li.so ../../unxlngi4.pro/slo/attr.o ../../unxlngi4.pro/slo/cdatasection.o ../../unxlngi4.pro/slo/characterdata.o ../../unxlngi4.pro/slo/comment.o ../../unxlngi4.pro/slo/document.o ../../unxlngi4.pro/slo/documentbuilder.o ../../unxlngi4.pro/slo/documentfragment.o ../../unxlngi4.pro/slo/documenttype.o ../../unxlngi4.pro/slo/element.o ../../unxlngi4.pro/slo/entity.o ../../unxlngi4.pro/slo/entityreference.o ../../unxlngi4.pro/slo/node.o ../../unxlngi4.pro/slo/notation.o ../../unxlngi4.pro/slo/processinginstruction.o ../../unxlngi4.pro/slo/text.o ../../unxlngi4.pro/slo/domimplementation.o ../../unxlngi4.pro/slo/elementlist.o ../../unxlngi4.pro/slo/childlist.o ../../unxlngi4.pro/slo/notationsmap.o ../../unxlngi4.pro/slo/entitiesmap.o ../../unxlngi4.pro/slo/attributesmap.o ../../unxlngi4.pro/slo/saxbuilder.o ../../unxlngi4.pro/slo/xpathobject.o ../../unxlngi4.pro/slo/nodelist.o ../../unxlngi4.pro/slo/xpathapi.o ../../unxlngi4.pro/slo/event.o ../../unxlngi4.pro/slo/eventdispatcher.o ../../unxlngi4.pro/slo/mutationevent.o ../../unxlngi4.pro/slo/uievent.o ../../unxlngi4.pro/slo/mouseevent.o ../../unxlngi4.pro/slo/testlistener.o -lxml2 -ltl680li -lcomphelp4gcc3 -luno_cppuhelpergcc3 -luno_cppu -luno_sal -ldl -lpthread -lm -Wl,-Bdynamic -lstlport_gcc -lstdc++ /usr/lib/gcc-lib/i586-suse-linux/3.3.5/../../../../i586-suse-linux/bin/ld: cannot find -ltl680li collect2: ld returned 1 exit status dmake: Error code 1, while making '../../unxlngi4.pro/lib/libunoxml680li.so' '---* tg_merge.mk *---' ERROR: Error 65280 occurred while making /home/ooosrc/SRC680_m166/unoxml/source/service
It is a problem of module dependency. I guess a module which "unoxml" module depends on do not need "tools" module any more and remove the dependency on "tools" for some reason. libtl680li.so is originally derived from "tools" module so adding "tools" in the first line of unoxml/prj/build.lst works. p.s. I mistook PATCH for DEFECT on IssueType field.
dupe *** This issue has been marked as a duplicate of 65110 ***
.