clean environment

Paul Temple paul.temple at gmx.net
Tue Feb 15 19:44:47 GMT 2005


In order to be able to do reliable regression tests I'm trying to
create a clean, separate kde cvs version as described on
http://developer.kde.org/build/build2ver.html
(but I don't want to compile the unnecessary modules)

I set the environment variables, compiled qt-copy, compiled
and installed arts, kdebase and kdelibs without problems.

"make testregression" in kdelibs/khtml does not work, though.
Can anyone give me a hint how to solve that?

> make testregression
/bin/sh ../libtool --silent --tag=CXX --mode=link g++  -Wnon-virtual-dtor -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings -O2 -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common -fno-exceptions -fno-check-new -fno-common  -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION    -o testregression  test_regression.o test_regression_fontoverload.o libkhtml.la
test_regression.o(.text+0x18f): In function `PartMonitor::finishTimers()':
: undefined reference to `KJS::Window::retrieveWindow(KParts::ReadOnlyPart*)'
test_regression.o(.text+0x1c0): In function `PartMonitor::finishTimers()':
: undefined reference to `KJS::WindowQObject::hasTimers() const'
test_regression.o(.text+0x219): In function `PartMonitor::partCompleted()':
: undefined reference to `khtml::RenderWidget::flushWidgetResizes()'
test_regression.o(.text+0x6bd): In function `RegTestFunction::call(KJS::ExecState*, KJS::Object&, KJS::List const&)':
: undefined reference to `KJS::UString::qstring() const'
test_regression.o(.text+0x768): In function `RegTestFunction::call(KJS::ExecState*, KJS::Object&, KJS::List const&)':
: undefined reference to `KJS::UString::qstring() const'
test_regression.o(.text+0x8f7): In function `RegTestFunction::call(KJS::ExecState*, KJS::Object&, KJS::List const&)':
: undefined reference to `KJS::UString::qstring() const'
test_regression.o(.text+0xa60): In function `RegTestFunction::call(KJS::ExecState*, KJS::Object&, KJS::List const&)':
: undefined reference to `KJS::UString::qstring() const'
test_regression.o(.text+0x159e): In function `KHTMLPartObject::get(KJS::ExecState*, KJS::Identifier const&) const':
: undefined reference to `KJS::getDOMNode(KJS::ExecState*, DOM::Node const&)'
test_regression.o(.text+0x15e1): In function `KHTMLPartObject::get(KJS::ExecState*, KJS::Identifier const&) const':
: undefined reference to `KJS::Window::retrieveWindow(KParts::ReadOnlyPart*)'
test_regression.o(.text+0x176d): In function `KHTMLPartFunction::call(KJS::ExecState*, KJS::Object&, KJS::List const&)':
: undefined reference to `KJS::UString::qstring() const'
test_regression.o(.text+0x1976): In function `KHTMLPartFunction::call(KJS::ExecState*, KJS::Object&, KJS::List const&)':
: undefined reference to `KJS::UString::qstring() const'
test_regression.o(.text+0x19e6): In function `KHTMLPartFunction::call(KJS::ExecState*, KJS::Object&, KJS::List const&)':
: undefined reference to `KJS::UString::qstring() const'
test_regression.o(.text+0x1b0f): In function `KHTMLPartFunction::call(KJS::ExecState*, KJS::Object&, KJS::List const&)':
: undefined reference to `KJS::UString::qstring() const'
test_regression.o(.text+0x1f26): In function `KHTMLPartFunction::call(KJS::ExecState*, KJS::Object&, KJS::List const&)':
: undefined reference to `KJS::UString::qstring() const'
test_regression.o(.text+0x1f70): more undefined references to `KJS::UString::qstring() const' follow
test_regression.o(.text+0x3269): In function `main':
: undefined reference to `khtml::Cache::clear()'
test_regression.o(.text+0x326e): In function `main':
: undefined reference to `khtml::CSSStyleSelector::clear()'
test_regression.o(.text+0x3273): In function `main':
: undefined reference to `khtml::RenderStyle::cleanup()'
test_regression.o(.text+0x5084): In function `RegressionTest::runTests(QString, bool, int)':
: undefined reference to `khtml::Cache::init()'
test_regression.o(.text+0x606b): In function `RegressionTest::dumpRenderTree(QTextStream&, KHTMLPart*)':
: undefined reference to `khtml::RenderLayer::dump(QTextStream&, QString const&)'
test_regression.o(.text+0x6479): In function `RegressionTest::renderToImage()':
: undefined reference to `khtml::RenderLayer::paint(QPainter*, QRect const&, bool)'
test_regression.o(.text+0xa2ae): In function `RegressionTest::testStaticFile(QString const&)':
: undefined reference to `KJS::UString::UString[in-charge](QString const&)'
test_regression.o(.text+0xa806): In function `RegressionTest::testStaticFile(QString const&)':
: undefined reference to `KJS::UString::qstring() const'
test_regression.o(.text+0xa8b4): In function `RegressionTest::testStaticFile(QString const&)':
: undefined reference to `KJS::UString::qstring() const'
test_regression.o(.text+0xa96a): In function `RegressionTest::testStaticFile(QString const&)':
: undefined reference to `KJS::UString::qstring() const'
test_regression.o(.text+0xaa7c): In function `RegressionTest::evalJS(KJS::ScriptInterpreter&, QString const&, bool)':
: undefined reference to `KJS::UString::UString[in-charge](QString const&)'
test_regression.o(.text+0xad54): In function `RegressionTest::evalJS(KJS::ScriptInterpreter&, QString const&, bool)':
: undefined reference to `KJS::UString::qstring() const'
test_regression.o(.text+0xaef1): In function `RegressionTest::testJSFile(QString const&)':
: undefined reference to `KJS::ScriptInterpreter::ScriptInterpreter[in-charge](KJS::Object const&, khtml::ChildFrame*)'
test_regression.o(.text+0xb504): In function `RegressionTest::testJSFile(QString const&)':
: undefined reference to `KJS::ScriptInterpreter::~ScriptInterpreter [in-charge]()'
collect2: ld returned 1 exit status
make: *** [testregression] Error 1




More information about the kfm-devel mailing list