[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-devel
Subject: Compile kdelibs from KDE_3_1_BRANCH
From: Andreas Pakulat <ap125 () informatik ! uni-rostock ! de>
Date: 2002-12-10 18:21:12
[Download RAW message or body]
Hi,
I downloaded KDE from CVS using the KDE_3_1_BRANCH, qt-copy with the
QT_3_1_0_RELEASE tag and arts with ARTS_1_1_0_RELEASE.
kdelibs configured with following:
configure --with-gnu-ld --with-qt-dir=/usr/local/kde31/qt --with-alsa \
--with-ssl-dir=/usr/ --with-ipv6-lookup=auto
Then make (no need to mention the make distclean in the first place)
produces following error:
make[1]: Entering directory
make[1]: Entering directory
`/home/andreas/compiling/KDECVS/kdelibs/dcop'
/bin/sh ../libtool --silent --mode=link --tag=CXX g++
-Wnon-virtual-dtor -Wno-l
ong-long -Wundef -Wall -pedantic -W -Wpointer-arith -Wmissing-prototypes
-Wwrite
-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align
-Wconversion -O2 -
O3 -march=i686 -fstrict-aliasing -malign-functions=4 -fno-exceptions
-fno-check-
new -DQT_NO_TRANSLATION -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST
-DQT_NO_COMPAT
-o libDCOP.la.closure libDCOP_la_closure.lo -R /usr/local/kde31/lib
-R /usr/X
11R6/lib -version-info 5:0:1 -no-undefined -L/usr/X11R6/lib
-L/usr/local/kde31/l
ib dcopstub.lo dcopref.lo dcopobject.lo dcopclient.lo
KDE-ICE/libkICE.la -lqt-m
t -lpng -lz -lm -lXext -lX11 -lSM -lICE -lpthread
libtool: link: warning: `-version-info' is ignored for programs
.libs/dcopclient.o(.text+0x8e9c): In function
`DCOPClient::applicationRegistered
(QCString const &)':
: undefined reference to `QMetaObject::new_metaobject(char const *,
QMetaObject
*, QMetaData const *, int, QMetaData const *, int, QMetaProperty
const *, int, Q
MetaEnum const *, int, bool (*)(QObject *, int, int, QVariant *),
QClassInfo con
st *, int)'
And some more undefined references to QT-Objects. Obviously there is no
-L/usr/local/kde31/qt within the linker call.
I found out, that this has to be appended to the LDFLAGS in the
Makefile. But this should have been done by the configure script, or do
I hve to explicitly add the library with --with-extra-libs? The includes
of qt are found and also in the INCLUDES variable, imported via
$(QT_INCLUDES) so I suppose this should also be done with the library
path.
Andreas
[Attachment #3 (application/pgp-signature)]
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic