Bug 51343 - kdebase-3.0.5 compile stops at nspluginviewer make error
Summary: kdebase-3.0.5 compile stops at nspluginviewer make error
Status: RESOLVED FIXED
Alias: None
Product: www.kde.org
Classification: Websites
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: Webmaster
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-11-29 21:44 UTC by baadziis
Modified: 2002-12-05 09:59 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description baadziis 2002-11-29 21:44:45 UTC
Version:            (using KDE KDE 3.0.5)
Installed from:    Compiled From Sources
Compiler:          gcc version 3.2 20020903 (Red Hat Linux 8.0 3.2-7) compiled qt-3.1 with same compiler
OS:          Linux

After hours of trying to compile kde-3.0.5 on a Pentium Pro 200Mhz, make crashes on:

g++ -O2 -fno-exceptions -fno-check-new -DQT_CLEAN_NAMESPACE -DQT_NO_COMPAT -DQT_NO_ASCII_CAST -o nspluginviewer nsplugin.o viewer.o kxt.o NSPluginCallbackIface_stub.o NSPluginClassIface_skel.o nspluginviewer_meta_unload.o -Wl,--export-dynamic  -L/usr/X11R6/lib -L/usr/local/qt-3.1.0/lib -L/usr/local/kde-3.0.5/lib -lXp -L/usr/X11R6/LessTif/Motif1.2/lib /usr/X11R6/LessTif/Motif1.2/lib/libXm.so /usr/local/kde-3.0.5/lib/libkio.so -L/usr/lib/gcc-lib/i386-redhat-linux/3.2 -L/usr/lib/gcc-lib/i386-redhat-linux/3.2/../../.. /usr/local/kde-3.0.5/lib/libkdeui.so /usr/local/kde-3.0.5/lib/libkdefx.so -lXrender /usr/local/kde-3.0.5/lib/libkdesu.so /usr/local/kde-3.0.5/lib/libkdecore.so /usr/local/kde-3.0.5/lib/libDCOP.so -lqt-mt -lpng -lX11 -lSM -lICE -lpthread -ldl -lXext -lresolv -lutil -lz /usr/local/lib/libfam.so -lstdc++ -lm -lc -lgcc_s -lXt -Wl,--rpath -Wl,/usr/X11R6/LessTif/Motif1.2/lib -Wl,--rpath -Wl,/usr/local/kde-3.0.5/lib -Wl,--rpath -Wl,/usr/local/lib -Wl,--rpath -Wl,/usr/X11R6/LessTif/Motif1.2/lib -Wl,--rpath -Wl,/usr/local/kde-3.0.5/lib -Wl,--rpath -Wl,/usr/local/lib -Wl,--rpath -Wl,/usr/local/qt-3.1.0/lib -Wl,--rpath -Wl,/usr/X11R6/lib
kxt.o: In function `qt_event_handler_wrapper(_XEvent*)':
kxt.o(.text+0x13e): undefined reference to `qt_event_handler(_XEvent*)'
kxt.o: In function `installXtEventFilters()':
kxt.o(.text+0x174): undefined reference to `qt_np_cascade_event_handler'
kxt.o: In function `removeXtEventFilters()':
kxt.o(.text+0x1a8): undefined reference to `qt_np_cascade_event_handler'
kxt.o: In function `np_event_proc(_XEvent*)':
kxt.o(.text+0x20a): undefined reference to `qt_np_cascade_event_handler'
kxt.o: In function `np_set_timer(int)':
kxt.o(.text+0x21f): undefined reference to `qt_np_timerid'
kxt.o(.text+0x22a): undefined reference to `qt_np_timeout(void*, void*)'
kxt.o(.text+0x23d): undefined reference to `qt_np_timerid'
kxt.o: In function `np_do_timers(void*, void*)':
kxt.o(.text+0x25f): undefined reference to `qt_np_timerid'
kxt.o(.text+0x268): undefined reference to `qt_activate_timers()'
kxt.o: In function `KXtApplication::init()':
kxt.o(.text+0x631): undefined reference to `qt_np_add_timeoutcb(void (*)(void*, void*))'
kxt.o(.text+0x63d): undefined reference to `qt_np_add_timer_setter(void (*)(int))'
kxt.o(.text+0x649): undefined reference to `qt_np_add_event_proc(void (*)(_XEvent*))'
kxt.o(.text+0x64f): undefined reference to `qt_np_count'
collect2: ld returned 1 exit status
make[3]: *** [nspluginviewer] Error 1
make[3]: Leaving directory `/usr/local/src/kde/kdebase-3.0.5/nsplugins/viewer'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/local/src/kde/kdebase-3.0.5/nsplugins'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/kde/kdebase-3.0.5'
make: *** [all] Error 2

___________________

[additionally, from google groups, searching for "make error nspluginviewer":]

From: Stephen Anthony (stephena@roadrunner.nf.net)
Subject: Re: KDEBase 3.0.4 build problem 
Newsgroups: comp.windows.x.kde
Date: 2002-11-19 15:10:06 PST 

Richard Ahlquist wrote:

> Hello. When trying to 'make' kdebase 3.0.4 I am getting the following
> error;

[snipped errors referring to qt_np_* functions]

> Any ideas I think I have QT installed correctly from sources as the
> INSTALL file states.
> 
> Thanks!

I'll bet you're trying to compile KDE 3.0.4 with QT 3.1 aren't you?  The 
above mentioned qt_np_* functions disappeared from the QT library as of 
3.1.  There is new code in KDE 3.1rc3 that doesn't use qt_np_* functions.

Long story short:  you can't use QT 3.1 with KDE 3.0.x (at least not for 
the netscape plugins stuff).  It is meant to be used with KDE 3.1.

Steve

[and furthermore, from the same thread:]

From: Stephen Anthony (stephena@roadrunner.nf.net)
Subject: Re: KDEBase 3.0.4 build problem 
Newsgroups: comp.windows.x.kde
Date: 2002-11-20 06:07:09 PST 

It isn't in any release notes at all.  I struggled with it for a few 
hours, then eventually got confirmation from David Faure (KDE developer) 
and Trolltech (makers of QT itself) that the functions had been 
deprecated.  I just don't understand why it wasn't documented somewhere.  

I guess that since Netscape plugins are no longer described in the API 
documentation, you could take that as meaning that they weren't supported 
anymore.  It just seems like a weird way to discontinue something.

Steve

_______________

I was trying to compile kde-3.0.5 using qt-3.1, but now I guess I will have to try kde-3.1rc3 instead, again using qt-3.1.

baadziis
Comment 1 Stephan Kulow 2002-11-29 21:48:37 UTC
Subject: Re:  New: kdebase-3.0.5 compile stops at nspluginviewer make error

On Freitag, 29. November 2002 21:44, baadziis wrote:
> ------- You are receiving this mail because: -------
> You are on the CC list for the bug, or are watching someone who is.
>
> http://bugs.kde.org/show_bug.cgi?id=51343
>            Summary: kdebase-3.0.5 compile stops at nspluginviewer make
> error Product: konqueror
>            Version: unspecified
>           Platform: Compiled Sources
>         OS/Version: Linux
>             Status: UNCONFIRMED
>           Severity: normal
>           Priority: NOR
>          Component: nspluginviewer
>         AssignedTo: konq-bugs@kde.org
>         ReportedBy: baadziis@yahoo.com
>
>
> Version:            (using KDE KDE 3.0.5)
> Installed from:    Compiled From Sources
> Compiler:          gcc version 3.2 20020903 (Red Hat Linux 8.0 3.2-7)
> compiled qt-3.1 with same compiler OS:          Linux

If you already read that 3.0.5 doesn't support qt 3.1 why do you kept on
making that bug report?

Greetings, Stephan

Comment 2 baadziis 2002-11-29 22:25:50 UTC
Stephan, 
 
The installation notes for compiling kde-3.0.x should mention that kde-3.0.x 
should be compiled with qt-3.0.x, not qt-3.1, if kde-3.0.x will not compile 
using qt-3.1.  Furthermore, will the newer kde-3.1 rc series compile against 
the older qt-3.0.x series?  I don't know!  I was not able to confirm from kde 
or trolltech "that [kde-]3.0.5 doesn't support qt 3.1", someone else may have.  
I only read that on google groups, not in any kde bug reports, kde compilation 
notes, kde installation notes, or anything else from kde, etc.  I provided 
additional google research information only, to support my bug report.  I 
opened this bug report to inform others thru bugs.kde.org of possible problems 
when compiling kde-3.0.x using qt-3.1. 
 
baadziis 
Comment 3 Stephan Binner 2002-12-05 09:59:03 UTC
Changed installation notes on developer.kde.org. KDE 3.1 requires Qt 3.1.