Summary: | kdebindings: qtjava compile error: undefined reference to `operator!=(QGLFormat const&, QGLFormat const&)' | ||
---|---|---|---|
Product: | [Unmaintained] bindings | Reporter: | info |
Component: | general | Assignee: | kde-bindings |
Status: | RESOLVED WORKSFORME | ||
Severity: | normal | CC: | andrew.crouthamel, eb |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
info
2004-02-15 21:37:11 UTC
I did mean operator!=() and not operator==(). A fix: kdebindings/work/kdebindings-3.1.95/qtjava/javalib/qtjava/cp Qt.cpp at line 530: I changed ::operator!=() to !::operator==() Now another error: In file included from Qt.cpp:2, from libqtjava_la.all_cpp.cpp:76: /usr/opt/kde3.2-rc/include/qnetwork.h: At global scope: /usr/opt/kde3.2-rc/include/qnetwork.h:53: parse error before `void' In file included from libqtjava_la.all_cpp.cpp:76: Qt.cpp: In function `void Java_org_kde_qt_Qt_qInitNetworkProtocols(JNIEnv*, _jclass*)': Qt.cpp:1459: `::qInitNetworkProtocols' undeclared (first use here) In file included from libqtjava_la.all_cpp.cpp:131: QPopupMenu.cpp: In function `jint Java_org_kde_qt_QPopupMenu_insertItem__Lorg_kde_qt_QIconSet_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv*, _jobject*, _jobject*, _jstring*, _jobject*, _jstring*)': Still happening, from version 3.4.1 to version 3.4.3. It's not serious to compilke KDE, but it is blocking in Gentoo if you want to install kde-meta or even if you need kdebindings-meta. The bug is still the same. I already posterd it to the gentoo bugzlla. http://bugs.gentoo.org/show_bug.cgi?id=107646 Nota that I removed ALL flags to recompile and that I'm now compiling with only CFLAGS="-O2 -march=athlon-xp -fomit-framepointer" the bug happens with and without Distcc. So you can safely change the status to anything else than "UNCONFIRMED". For now I will try to simply get rid of Qtjava or kdebindings-meta as the only solution. WORKSFORME, RedHat Enterprise 3,4, Fedora Core 3,4. I built with --disable-final, though (haven't been able to get --enable-final to work). I tried to compile KDE-3.5.5, and i got same error. But i have found a way to fix. I just manually compiled QGL.cpp in the qtjava/javalib/qtjava directory, and then added QGL.lo and linked it. now it works fine SVN commit 635295 by rdale: * The QGL* classes were not being built by default, as a few years ago KDE didn't use OpenGL by default. So enable them by default now 3D is pretty standard. CCBUGS: 75310 M +6 -0 ChangeLog M +2 -2 javalib/qtjava/Makefile.am Dear Bug Submitter, This bug has been stagnant for a long time. Could you help us out and re-test if the bug is valid in the latest version? I am setting the status to NEEDSINFO pending your response, please change the Status back to REPORTED when you respond. Thank you for helping us make KDE software even better for everyone! (In reply to Andrew Crouthamel from comment #7) > This bug has been stagnant for a long time. Could you help us out and > re-test if the bug is valid in the latest version? I am setting the status > to NEEDSINFO pending your response, please change the Status back to > REPORTED when you respond. This bug is older than 14 years and has no longer any relevance to me. Today I'm using a "ready to go" KDE from a distribution rather than building it on my computer. I think, it isn't worth the time to build a KDE 3.x e.g. in a virtual machine. If anybody needs to do that, he/she can use the fix described in comment 2. Thanks for the update! |