weird error compiling

Pupeno pupeno at pupeno.com.ar
Fri Apr 19 14:53:57 BST 2002


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I'm having this error while compiling:
./.libs/libkdesvgicons.a(ksvgiconengine.o): In function
`KSVGIconEngine::load(int, int, QString const &)':
/home/pupeno/src/kde/kde.head/kdelibs/kdecore/svgicons/ksvgiconengine.cpp:533
: undefined reference to `QDomDocument::setContent(QIODevice *, QString *,
 int *, int *)'
./.libs/libkdesvgicons.a(ksvgiconengine.o): In function `QGArray::size(void)
const':
/opt/lib/qt-copy/include/qmemarray.h(.gnu.linkonce.d.__vt_t8QPtrList1Z16QDomN
amedNodeMap+0x14): undefined reference to `QPtrCollection::newItem(void *)'
collect2: ld returned 1 exit status

The compilation lines are these:
/bin/sh ../../libtool --mode=link --tag=CXX c++  -Wnon-virtual-dtor
- -Wno-long-long -Wbad-function-cast -Wundef -Wall -pedantic -W -Wpointer-arith
- -Wmissing-prototypes -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE
- -Wcast-align -Wconversion -fno-builtin -g3 -fno-exceptions -fno-check-new
- -DQT_NO_TRANSLATION -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_COMPAT
- -o ksvgtopng  ksvgtopng.o libkdesvgicons.la -lqt-mt  -lpng -lz -lm -lXext
- -lX11 -lresolv -lSM -lICE -lpthread -L/usr/X11R6/lib -L/opt/lib/qt-copy//lib
- -L/opt/kde.head//lib
c++ -Wnon-virtual-dtor -Wno-long-long -Wbad-function-cast -Wundef -Wall
- -pedantic -W -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -ansi
- -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -fno-builtin -g3
- -fno-exceptions -fno-check-new -DQT_NO_TRANSLATION -DQT_CLEAN_NAMESPACE
- -DQT_NO_ASCII_CAST -DQT_NO_COMPAT -o ksvgtopng ksvgtopng.o
./.libs/libkdesvgicons.a -L/usr/lib/gcc-lib/i586-mandrake-linux-gnu/2.96
- -L/usr/lib/gcc-lib/i586-mandrake-linux-gnu/2.96/../../.. -lstdc++ -lc -lgcc
- -lqt-mt -lpng -lz -lm -lXext -lX11 -lresolv -lSM -lICE -lpthread
- -L/usr/X11R6/lib -L/opt/lib/qt-copy//lib -L/opt/kde.head//lib

I've tryed adding -I/opt/lib/qt-copy/include by hand but I get the same
 error. I'm working with cvs head from today I've checked qdom.h and the
 method is there and I've checked qt sources and the method is there too,
 I've compiled qt with this options:
./configure -system-zlib -qt-gif -system-libpng -system-libjpeg
- -plugin-imgfmt-mng -thread -no-stl -no-xinerama -no-g++-exceptions

I don't know what else to try/check, any idea ? any help ? anyone getting
this error ?
Thank you!
Carpe diem!
- --
Pupeno: pupeno at pupeno.com.ar
http://www.pupeno.com.ar
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE8wCF3WhjnmGRO4vQRAga/AJsEWKQRzBKWGxeon40m/Kbu1/OoawCeKAji
wgWaRMTVDt03uzDWbBx9e6c=
=cgHj
-----END PGP SIGNATURE-----
___________________________________________________
This message is from the kde mailing list.
Account management:  http://mail.kde.org/mailman/listinfo/kde.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.




More information about the kde mailing list