#60 debian compile problem

closed-duplicate
nobody
Plugin (92)
5
2004-11-28
2004-11-06
Scott Craig
No

Again, probably a header file problem.

Unresolved symbol in plugin-support.cpp "NPNVToolkit".

Since I wasn't using the "debug" directive I just
commented out the line. But this should be fixed by
someone who knows how.

This was after adding "-I/usr/include/mozilla" to
CFLAGS as suggested by the other bug reports. (Thanks.)

Discussion

  • Kevin DeKorte

    Kevin DeKorte - 2004-11-17

    Logged In: YES
    user_id=685413

    Can you please try the current CVS code and don't make any
    modifications to the makefiles and see if it works.

     
  • Scott Craig

    Scott Craig - 2004-11-17

    Logged In: YES
    user_id=746975

    OK, I tried with today's cvs, but still not working.

    Here is the bad output from make:

    g++ -c -Wall -g -O2 -I/usr/X11R6/include -g -O2 -DXP_UNIX
    -DMOZ_X11 -I/usr/include/mozilla/java
    -I/usr/include/mozilla/plugin -I/usr/include/mozilla/xpcom
    -I/usr/include/mozilla/string -I/usr/include/mozilla/nspr
    -I/usr/include/mozilla -Iinclude -fPIC -I/usr/X11R6/include
    -pthread -I/usr/include/glib-2.0
    -I/usr/lib/glib-2.0/include -DX_ENABLED
    Source/plugin-support.cpp
    Source/plugin-support.cpp: In function `int
    toolkitOk(NPP_t*, int*, int*)':
    Source/plugin-support.cpp:565: `NPNVToolkit' undeclared
    (first use this
    function)
    Source/plugin-support.cpp:565: (Each undeclared identifier
    is reported only
    once for each function it appears in.)
    make: *** [plugin-support.o] Error 1

     
  • Kevin DeKorte

    Kevin DeKorte - 2004-11-17

    Logged In: YES
    user_id=685413

    What version of mozilla are you compiling against? Have you tried
    using the gecko-sdk method?

     
  • Scott Craig

    Scott Craig - 2004-11-24

    Logged In: YES
    user_id=746975

    Sorry for not getting back earlier.

    You were right. The mozilla version is too old. The latest
    stable version for debian is 1.5-3. This problem should go
    away as debian develops.

    The gecko-sdk method worked.

     
  • Kevin DeKorte

    Kevin DeKorte - 2004-11-28
    • status: open --> closed-duplicate
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks