Version: (using KDE Devel) Installed from: Compiled sources Compiler: i586-alt-linux-gcc (GCC) 3.2.1 (ALT Linux, build 3.2.1-alt2) OS: Linux I try to compile KDE CVS 12/11/03. Commands was: make -f Makefile.cvs ./configure --enable-final --enable-closure make Cuted output: /bin/sh ../libtool --silent --mode=link --tag=CXX g++ -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -W -Wpointer-arith -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -O2 -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -o libkjs.la.closure libkjs_la_closure.lo -version-info 3:0:2 -no-undefined -Wl,--version-script=./libkjs.map -L/usr/X11R6/lib -L/home/share/src/kde/qt-copy/lib -L/home/share/kde-unstable/lib libkjs_la.all_cpp.lo -lm -L/usr/lib -lpcreposix -lpcre libtool: link: warning: `-version-info` is ignored for programs .libs/libkjs_la.all_cpp.o: In function `KJS::CString::CString[not-in-charge](char const*)`: .libs/libkjs_la.all_cpp.o(.text+0x29): undefined reference to `operator new[](unsigned)` .libs/libkjs_la.all_cpp.o: In function `KJS::CString::CString[in-charge](char const*)`: .................. .libs/libkjs_la.all_cpp.o(.gnu.linkonce.d._ZTI N3KJS13StatementNodeE+0x0): undefined reference to `vtable for __cxxabiv1::__si_class_type_info` .libs/libkjs_la.all_cpp.o(.gnu.linkonce.d._ZTI N3KJS8NullNodeE+0x0): undefined reference to `vtable for __cxxabiv1::__si_class_type_info` .libs/libkjs_la.all_cpp.o(.gnu.linkonce.d._ZTI N3KJS11BooleanNodeE+0x0): undefined reference to `vtable for __cxxabiv1::__si_class_type_info` .libs/libkjs_la.all_cpp.o(.gnu.linkonce.d._ZTI N3KJS10NumberNodeE+0x0): undefined reference to `vtable for __cxxabiv1::__si_class_type_info` .libs/libkjs_la.all_cpp.o(.gnu.linkonce.d._ZTI N3KJS10StringNodeE+0x0): undefined reference to `vtable for __cxxabiv1::__si_class_type_info` .libs/libkjs_la.all_cpp.o(.gnu.linkonce.d._ZTI N3KJS10RegExpNodeE+0x0): more undefined references to `vtable for __cxxabiv1::__si_class_type_info` follow collect2: ld returned 1 exit status make: *** [libkjs.la.closure] Error 1 Full output in attachment.
Created attachment 3219 [details] Full listing of make clean;make in kjs folder
Subject: Re: New: linking error of libkjs.la.closure On Friday 14 November 2003 11:12, Igor Stepin wrote: > -L/usr/lib Can you try the command line without the -L option? Greetings, Stephan
Thanks a lot, now works.
Subject: kdelibs/kjs CVS commit by coolo: avoid the ugly system path CCMAIL: 68192-done@bugs.kde.org M +1 -1 configure.in.in 1.16 --- kdelibs/kjs/configure.in.in #1.15:1.16 @@ -25,5 +25,5 @@ KDE_FIND_PATH(pcre-config, PCRE_CONFIG, [${prefix}/bin /usr/local/bin /opt/local/bin], [PCRE_CONFIG="" ]) if test -n "$PCRE_CONFIG" && $PCRE_CONFIG --libs >/dev/null 2>&1; then - LIBPCRE=`$PCRE_CONFIG --libs-posix` + LIBPCRE=`$PCRE_CONFIG --libs-posix | sed -e "s,-L/usr/lib ,,"` PCRECFLAGS=`$PCRE_CONFIG --cflags` else