[prev in list] [next in list] [prev in thread] [next in thread] 

List:       konq-bugs
Subject:    [Bug 51343] New: kdebase-3.0.5 compile stops at nspluginviewer make error
From:       baadziis <baadziis () yahoo ! com>
Date:       2002-11-29 20:44:47
[Download RAW message or body]

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
     
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

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
_______________________________________________
Konq-bugs mailing list
Konq-bugs@mail.kde.org
http://mail.kde.org/mailman/listinfo/konq-bugs


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic