Comments you submit will be routed for moderation. If you have an account, please log in first.
Modify

Ticket #32 (closed: fixed)

Opened 8 years ago

Last modified 6 years ago

Subversion 0.6.0 not compiling ... what am I doing wrong?

Reported by: adz21c Owned by: alwin
Priority: normal Milestone:
Component: All Version:
Severity: major Keywords: RESOLVED
Cc:

Description

Hi, I am running Mandriva 2005LE (x86_64 KDE3.4.0). kdesvn configures fine, but when it compile it complains of undefined references. I used the following to configure

./configure --prefix=/usr --libdir=/usr/lib64 --with-qt-libraries=/usr/lib/qt3/lib64 --with-svn-lib=/usr/lib64

I then just put make and it begins fine, but then just bombs out with undefined references.

This is a VERY small chunk of the output ... the undefined references is so long all of it doesn't fit in konsole. If there is another way for me to capture it if you want it all say and I will try it :-)

../src/helpers/.libs/libhelper.a(runtempfile.o)(.text+0xc40): In function `RunTempfile::timeout()': : undefined reference to `KURL::~KURL()' ../src/helpers/.libs/libhelper.a(runtempfile.o)(.text+0xc63): In function `RunTempfile::tr(char const*, char const*)': : undefined reference to `qApp' ../src/helpers/.libs/libhelper.a(runtempfile.o)(.text+0xc84): In function `RunTempfile::tr(char const*, char const*)': : undefined reference to `QApplication::translate(char const*, char const*, char const*, QApplication::Encoding) const' ../src/helpers/.libs/libhelper.a(runtempfile.o)(.text+0xc99): In function `RunTempfile::tr(char const*, char const*)': : undefined reference to `QString::fromLatin1(char const*, int)' ../src/helpers/.libs/libhelper.a(runtempfile.o)(.text+0xcb3): In function `RunTempfile::trUtf8(char const*, char const*)': : undefined reference to `qApp' ../src/helpers/.libs/libhelper.a(runtempfile.o)(.text+0xcd7): In function `RunTempfile::trUtf8(char const*, char const*)': : undefined reference to `QApplication::translate(char const*, char const*, char const*, QApplication::Encoding) const' ../src/helpers/.libs/libhelper.a(runtempfile.o)(.text+0xce9): In function `RunTempfile::trUtf8(char const*, char const*)': : undefined reference to `QString::fromUtf8(char const*, int)' ../src/helpers/.libs/libhelper.a(runtempfile.o)(.text+0xd21): In function `RunTempfile::staticMetaObject()': : undefined reference to `QObject::staticMetaObject()' ../src/helpers/.libs/libhelper.a(runtempfile.o)(.text+0xd74): In function `RunTempfile::staticMetaObject()': : undefined reference to `QMetaObject::new_metaobject(char const*, QMetaObject*, QMetaData const*, int, QMetaData const*, int, QMetaProperty const*, int, QMetaEnum const*, int, QClassInfo const*, int)' ../src/helpers/.libs/libhelper.a(runtempfile.o)(.text+0xd86): In function `RunTempfile::staticMetaObject()': : undefined reference to `QMetaObjectCleanUp::setMetaObject(QMetaObject*&)' ../src/helpers/.libs/libhelper.a(runtempfile.o)(.text+0xe36): In function `RunTempfile::qt_invoke(int, QUObject*)': : undefined reference to `QObject::qt_invoke(int, QUObject*)' ../src/helpers/.libs/libhelper.a(runtempfile.o)(.text+0xe85): In function `RunTempfile::qt_emit(int, QUObject*)': : undefined reference to `QObject::qt_emit(int, QUObject*)' ../src/helpers/.libs/libhelper.a(runtempfile.o)(.text+0xea5): In function `RunTempfile::qt_property(int, int, QVariant*)': : undefined reference to `QObject::qt_property(int, int, QVariant*)' ../src/helpers/.libs/libhelper.a(runtempfile.o)(.text+0xefa): In function `global constructors keyed to _ZN11RunTempfileC2ERK9QMemArrayIcE': : undefined reference to `QMetaObjectCleanUp::QMetaObjectCleanUp(char const*, QMetaObject* (*)())' ../src/helpers/.libs/libhelper.a(runtempfile.o)(.text+0xde1): In function `RunTempfile::qt_cast(char const*)': : undefined reference to `QObject::qt_cast(char const*)' ../src/helpers/.libs/libhelper.a(runtempfile.o)(.text+0xed8): In function `tcf_0': : undefined reference to `QMetaObjectCleanUp::~QMetaObjectCleanUp()' ../src/helpers/.libs/libhelper.a(runtempfile.o)(.gnu.linkonce.d._ZTV11RunTempfile+0x50): undefined reference to `QObject::event(QEvent*)' ../src/helpers/.libs/libhelper.a(runtempfile.o)(.gnu.linkonce.d._ZTV11RunTempfile+0x58): undefined reference to `QObject::eventFilter(QObject*, QEvent*)' ../src/helpers/.libs/libhelper.a(runtempfile.o)(.gnu.linkonce.d._ZTV11RunTempfile+0x60): undefined reference to `QObject::setName(char const*)' ../src/helpers/.libs/libhelper.a(runtempfile.o)(.gnu.linkonce.d._ZTV11RunTempfile+0x68): undefined reference to `QObject::insertChild(QObject*)' ../src/helpers/.libs/libhelper.a(runtempfile.o)(.gnu.linkonce.d._ZTV11RunTempfile+0x70): undefined reference to `QObject::removeChild(QObject*)' ../src/helpers/.libs/libhelper.a(runtempfile.o)(.gnu.linkonce.d._ZTV11RunTempfile+0x78): undefined reference to `QObject::setProperty(char const*, QVariant const&)' ../src/helpers/.libs/libhelper.a(runtempfile.o)(.gnu.linkonce.d._ZTV11RunTempfile+0x80): undefined reference to `QObject::property(char const*) const' ../src/helpers/.libs/libhelper.a(runtempfile.o)(.gnu.linkonce.d._ZTV11RunTempfile+0x88): undefined reference to `QObject::timerEvent(QTimerEvent*)' ../src/helpers/.libs/libhelper.a(runtempfile.o)(.gnu.linkonce.d._ZTV11RunTempfile+0x90): undefined reference to `QObject::childEvent(QChildEvent*)' ../src/helpers/.libs/libhelper.a(runtempfile.o)(.gnu.linkonce.d._ZTV11RunTempfile+0x98): undefined reference to `QObject::customEvent(QCustomEvent*)' ../src/helpers/.libs/libhelper.a(runtempfile.o)(.gnu.linkonce.d._ZTV11RunTempfile+0xa0): undefined reference to `QObject::connectNotify(char const*)' ../src/helpers/.libs/libhelper.a(runtempfile.o)(.gnu.linkonce.d._ZTV11RunTempfile+0xa8): undefined reference to `QObject::disconnectNotify(char const*)' ../src/helpers/.libs/libhelper.a(runtempfile.o)(.gnu.linkonce.d._ZTV11RunTempfile+0xb0): undefined reference to `QObject::checkConnectArgs(char const*, QObject const*, char const*)' ../src/helpers/.libs/libhelper.a(runtempfile.o)(.gnu.linkonce.d._ZTI11RunTempfile+0x10): undefined reference to `typeinfo for QObject' collect2: ld returned 1 exit status make[4]: * [libkdesvnpart.la] Error 1 make[3]: * [all-recursive] Error 1 make[2]: * [all] Error 2 make[1]: * [all-recursive] Error 1 make: * [all] Error 2

Thanks for any assistance, Adam

Attachments

kdesvn_compile.out Download (2.7 MB) - added by adz21c 8 years ago.

Change History

comment:1 Changed 8 years ago by adz21c

  • Owner changed from anonymous to alwin
  • Status changed from new to assigned

comment:2 Changed 8 years ago by alwin

hmpf.

collecting make-output:

make > kdesvn_compile.out 2>&1

and then you may send that file. Think its a problem with installation of qt on Mandriva where I forgot a linker flag. But complete output may help.

Changed 8 years ago by adz21c

comment:3 Changed 8 years ago by adz21c

Make output file attached

comment:4 Changed 8 years ago by alwin

puh. ok. The problem isn't what I thought first moment. I think its something with that 64-Bit-environment, eg, may that you link against wrong libs or such.

I think, asking on a mandriva-board would help more - I have no idea and no chance to check anything 'cause I don't have it.

Real sorry. :(

comment:5 Changed 8 years ago by adz21c

Well thanks for the assistance. If I found anything out I will be sure to contact you :-). Again, thanks for the quick assistance.

comment:6 Changed 8 years ago by alwin

  • Keywords FEEDBACK added

whats up now? did you get compile it?

comment:7 Changed 8 years ago by adz21c

Still a no go ... I am now running Mdv 2006 x86_64. Fortunately for some simple uses I can now use KDevelops SVN plugin, but I would still like to use this program, KDevelop doesn't provide everything I want :-). I will keep trying every now and then when something occurs to me and on new releases.

comment:8 Changed 8 years ago by opoplawski

Perhaps doing something like this before configure would help?

. /etc/profile.d/qt.sh export QTLIB=${QTDIR}/lib QTINC=${QTDIR}/include

comment:9 Changed 8 years ago by adz21c

Nice one, problem solved ... well it compiled, not installed yet cos I am busy.

comment:10 Changed 8 years ago by alwin

  • Keywords RESOLVED added; FEEDBACK removed
  • Status changed from assigned to closed
  • Resolution set to fixed
  • Milestone set to development

tnx for all feedback, I noted it in INSTALL instructions

comment:11 Changed 6 years ago by alwin

  • Milestone development deleted

Milestone development deleted

View

Add a comment

Modify Ticket

Action
as closed
The resolution will be deleted. Next status will be 'reopened'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.

Ihr Browser versucht gerade eine Seite aus dem sogenannten Internet auszudrucken. Das Internet ist ein weltweites Netzwerk von Computern, das den Menschen ganz neue Möglichkeiten der Kommunikation bietet.

Da Politiker im Regelfall von neuen Dingen nichts verstehen, halten wir es für notwendig, sie davor zu schützen. Dies ist im beidseitigen Interesse, da unnötige Angstzustände bei Ihnen verhindert werden, ebenso wie es uns vor profilierungs- und machtsüchtigen Politikern schützt.

Sollten Sie der Meinung sein, dass Sie diese Internetseite dennoch sehen sollten, so können Sie jederzeit durch normalen Gebrauch eines Internetbrowsers darauf zugreifen. Dazu sind aber minimale Computerkenntnisse erforderlich. Sollten Sie diese nicht haben, vergessen Sie einfach dieses Internet und lassen uns in Ruhe.

Die Umgehung dieser Ausdrucksperre ist nach §95a UrhG verboten.

Mehr Informationen unter www.politiker-stopp.de.