Trouble compiling 2.66 on Red Hat 7.3

Help
2004-07-30
2004-07-30
  • Marc P. Davignon

    Have been using since 1.0 and my last working version is 2.60.

    Compile fails with:

    g++ -c -Wall -g -O2  -I/usr/X11R6/include  -DXP_UNIX -DMOZ_X11  -I/usr/include/mozilla-1.3/java -I/usr/include/mozilla-1.3/plugin -I/usr/include/mozilla-1.3/xpcom -I/usr/include/mozilla-1.3/string -I/usr/include/mozilla-1.3/nspr   -Iinclude -fPIC  -I/usr/X11R6/include   -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include   -D_REENTRANT -I/usr/include/glib-1.2 -I/usr/lib/glib/include   -DGTK1_ENABLED -DGTK_ENABLED Source/plugin.cpp
    g++ -c -Wall -g -O2  -I/usr/X11R6/include  -DXP_UNIX -DMOZ_X11  -I/usr/include/mozilla-1.3/java -I/usr/include/mozilla-1.3/plugin -I/usr/include/mozilla-1.3/xpcom -I/usr/include/mozilla-1.3/string -I/usr/include/mozilla-1.3/nspr   -Iinclude -fPIC  -I/usr/X11R6/include   -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include   -D_REENTRANT -I/usr/include/glib-1.2 -I/usr/lib/glib/include   -DGTK1_ENABLED -DGTK_ENABLED Source/nsScriptablePeer.cpp
    g++ -c -Wall -g -O2  -I/usr/X11R6/include  -DXP_UNIX -DMOZ_X11  -I/usr/include/mozilla-1.3/java -I/usr/include/mozilla-1.3/plugin -I/usr/include/mozilla-1.3/xpcom -I/usr/include/mozilla-1.3/string -I/usr/include/mozilla-1.3/nspr   -Iinclude -fPIC  -I/usr/X11R6/include   -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include   -D_REENTRANT -I/usr/include/glib-1.2 -I/usr/lib/glib/include   -DGTK1_ENABLED -DGTK_ENABLED plugingate/npp_gate.cpp
    g++ -c -Wall -g -O2  -I/usr/X11R6/include  -DXP_UNIX -DMOZ_X11  -I/usr/include/mozilla-1.3/java -I/usr/include/mozilla-1.3/plugin -I/usr/include/mozilla-1.3/xpcom -I/usr/include/mozilla-1.3/string -I/usr/include/mozilla-1.3/nspr   -Iinclude -fPIC  -I/usr/X11R6/include   -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include   -D_REENTRANT -I/usr/include/glib-1.2 -I/usr/lib/glib/include   -DGTK1_ENABLED -DGTK_ENABLED plugingate/np_entry.cpp
    g++ -c -Wall -g -O2  -I/usr/X11R6/include  -DXP_UNIX -DMOZ_X11  -I/usr/include/mozilla-1.3/java -I/usr/include/mozilla-1.3/plugin -I/usr/include/mozilla-1.3/xpcom -I/usr/include/mozilla-1.3/string -I/usr/include/mozilla-1.3/nspr   -Iinclude -fPIC  -I/usr/X11R6/include   -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include   -D_REENTRANT -I/usr/include/glib-1.2 -I/usr/lib/glib/include   -DGTK1_ENABLED -DGTK_ENABLED plugingate/npn_gate.cpp
    g++ -c -Wall -g -O2  -I/usr/X11R6/include  -DXP_UNIX -DMOZ_X11  -I/usr/include/mozilla-1.3/java -I/usr/include/mozilla-1.3/plugin -I/usr/include/mozilla-1.3/xpcom -I/usr/include/mozilla-1.3/string -I/usr/include/mozilla-1.3/nspr   -Iinclude -fPIC  -I/usr/X11R6/include   -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include   -D_REENTRANT -I/usr/include/glib-1.2 -I/usr/lib/glib/include   -DGTK1_ENABLED -DGTK_ENABLED Source/plugin-support.cpp
    Source/plugin-support.cpp: In function `int toolkitOk (NPP_t *, int *,
    int *)':
    Source/plugin-support.cpp:508: `NPNVToolkit' undeclared (first use this
    function)
    Source/plugin-support.cpp:508: (Each undeclared identifier is reported
    only once for each function it appears in.)
    make: *** [plugin-support.o] Error 1

    Red Hat 7.3
    Kernel 2.4.25
    mozilla 1.3
    gtk 1.2.10
    mplayer 1.0pre5

    Does not look like a big deal, but I'm not all that familiar with C++.

     
    • Kevin DeKorte

      Kevin DeKorte - 2004-07-30

      Your mozilla devel package is too old. Try to compile using gecko-sdk 1.6 or higher. There are instructions on the website on how to do this.

       

Log in to post a comment.