Path: number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.co   
   !nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!newsfe   
   d.freenet.de!news.albasani.net!news.newsland.it!aioe.org!not-for-mail   
   From: noalternative    
   Newsgroups: 24hoursupport.helpdesk,alt.os.linux.ubuntu,comp.os.linux.misc   
   Subject: errors trying to install mplayerplug-in from source   
   Date: Mon, 26 Feb 2007 17:26:31 -0600   
   Organization: Disorganization   
   Lines: 276   
   Message-ID:    
   NNTP-Posting-Host: lK683Ehj0wYI4W+v00uSrA.user.aioe.org   
   Mime-Version: 1.0   
   Content-Type: text/plain; charset=windows-1252   
   Content-Transfer-Encoding: 8bit   
   X-Complaints-To: abuse@aioe.org   
   User-Agent: Pan/0.14.2.91 (As She Crawled Across the Table (Debian GNU/Linux))   
   Xref: number1.nntp.dca.giganews.com 24hoursupport.helpdesk:1493612   
   alt.os.linux.ubuntu:11112 comp.os.linux.misc:663614   
      
   Ok, I am trying to follow the instructions in the mplayerplugin for Opera   
   howto. http://ubuntuforums.org/showthread.php?t=185547&page=2   
      
   Anyway, I didn't seem to get any errors during the actual compiling phase.   
    but when I entered "make" I seemed to run into problems. Here is the   
    output.   
      
      
   root@ubuntu:~/mplayerplug-in# ./configure --enable-x   
   --with-gecko-sdk=/usr/loca l/gecko-sdk1.6 checking for g++... g++   
   checking for C++ compiler default output file name... a.out checking   
   whether the C++ compiler works... yes checking whether we are cross   
   compiling... no checking for suffix of executables... checking for suffix   
   of object files... o checking whether we are using the GNU C++ compiler...   
   yes checking whether g++ accepts -g... yes checking for gcc... gcc   
   checking whether we are using the GNU C compiler... yes checking whether   
   gcc accepts -g... yes checking for gcc option to accept ANSI C... none   
   needed checking for a BSD-compatible install... /usr/bin/install -c   
   checking for gawk... gawk   
   checking whether make sets $(MAKE)... yes checking how to run the C   
   preprocessor... gcc -E checking for X... no   
   checking for egrep... grep -E   
   checking for ANSI C header files... no checking for sys/types.h... yes   
   checking for sys/stat.h... yes   
   checking for stdlib.h... yes   
   checking for string.h... yes   
   checking for memory.h... yes   
   checking for strings.h... yes   
   checking for inttypes.h... yes   
   checking for stdint.h... yes   
   checking for unistd.h... yes   
   checking stddef.h usability... yes   
   checking stddef.h presence... yes   
   checking for stddef.h... yes   
   checking for stdlib.h... (cached) yes checking for unistd.h... (cached)   
   yes checking X11/Xlib.h usability... no   
   checking X11/Xlib.h presence... no   
   checking for X11/Xlib.h... no   
   checking X11/Intrinsic.h usability... no checking X11/Intrinsic.h   
   presence... no checking for X11/Intrinsic.h... no   
   checking X11/StringDefs.h usability... no checking X11/StringDefs.h   
   presence... no checking for X11/StringDefs.h... no   
   checking for sys/stat.h... (cached) yes checking fcntl.h usability... yes   
   checking fcntl.h presence... yes   
   checking for fcntl.h... yes   
   checking for an ANSI C-conforming const... yes checking whether time.h and   
   sys/time.h may both be included... yes checking for pid_t... yes   
   checking for size_t... yes   
   checking for stdlib.h... (cached) yes checking for GNU libc compatible   
   malloc... no checking for unistd.h... (cached) yes checking vfork.h   
   usability... no   
   checking vfork.h presence... no   
   checking for vfork.h... no   
   checking for fork... no   
   checking for vfork... no   
   checking for memset... no   
   checking for strcasecmp... no   
   checking for strchr... no   
   checking for strdup... no   
   checking for strncasecmp... no   
   checking for strstr... no   
   checking for strrchr... no   
   checking for snprintf... no   
   checking for mkfifo... no   
   checking for dup2... no   
   checking for gettimeofday... no   
   checking for strerror... no   
   checking for strtol... no   
   checking for memmem... no   
   checking libintl.h usability... yes   
   checking libintl.h presence... yes   
   checking for libintl.h... yes   
   checking sys/time.h usability... yes   
   checking sys/time.h presence... yes   
   checking for sys/time.h... yes   
   checking sys/param.h usability... yes checking sys/param.h presence... yes   
   checking for sys/param.h... yes   
   checking for stdbool.h that conforms to C99... yes checking for _Bool...   
   yes   
   checking for sys/wait.h that is POSIX.1 compatible... yes checking return   
   type of signal handlers... void checking X11/xpm.h usability... no   
   checking X11/xpm.h presence... no   
   checking for X11/xpm.h... no   
   checking for DPMSQueryExtension in -lXdpms... no checking for   
   X11/extensions/dpms.h... no configure: creating ./config.status   
   config.status: creating Makefile   
   config.status: creating config.h   
   config.status: config.h is unchanged   
   root@ubuntu:~/mplayerplug-in# make   
   g++ -c -Wall -g -O2 -g -O2 -DXP_UNIX -DMOZ_X11 -I/usr/local/gecko-sdk1.6   
   -I/u sr/local/gecko-sdk1.6/xpcom/include   
   -I/usr/local/gecko-sdk1.6/nspr/include -I/u   
   sr/local/gecko-sdk1.6/string/include   
   -I/usr/local/gecko-sdk1.6/plugin/include -   
   I/usr/local/gecko-sdk1.6/java/include -DGECKOSDK_ENABLED -Iinclude -fPIC   
   -DXPCOM _GLUE -DMOZILLA_STRICT_API -DX_ENABLED Source/plugin.cpp In file   
   included from include/npplat.h:41, from include/pluginbase.h:41,   
   from Source/plugin.h:53,   
   from Source/plugin.cpp:37:   
   /usr/local/gecko-sdk1.6/plugin/include/npapi.h:119:24: error: X11/Xlib.h:   
   No suc h file or directory   
   /usr/local/gecko-sdk1.6/plugin/include/npapi.h:120:25: error: X11/Xutil.h:   
   No su ch file or directory In file included from Source/plugin.h:55, from   
   Source/plugin.cpp:37:   
   Source/plugin-setup.h:4:27: error: X11/Intrinsic.h: No such file or   
   directory Source/plugin-setup.h:5:28: error: X11/StringDefs.h: No such   
   file or directory /usr/local/gecko-sdk1.6/plugin/include/npapi.h:315:   
   error: ISO C++ forbids decla ration of ‘Display’ with no type   
   /usr/local/gecko-sdk1.6/plugin/include/npapi.h:315: error: expected   
   ‘;’ befo re ‘*’ token   
   /usr/local/gecko-sdk1.6/plugin/include/npapi.h:316: error: ISO C++ forbids   
   decla ration of ‘Visual’ with no type   
   /usr/local/gecko-sdk1.6/plugin/include/npapi.h:316: error: expected   
   ‘;’ befo re ‘*’ token   
   /usr/local/gecko-sdk1.6/plugin/include/npapi.h:317: error: ‘Colormap’   
   does n ot name a type /usr/local/gecko-sdk1.6/plugin/include/npapi.h:488:   
   error: ‘XEvent’ does not name a type   
   /usr/local/gecko-sdk1.6/plugin/include/npapi.h:498: error: ‘Region’   
   does not name a type /usr/local/gecko-sdk1.6/plugin/include/npapi.h:693:   
   error: ‘NPRegion’ has no t been declared   
   /usr/local/gecko-sdk1.6/plugin/include/npupp.h:1031: error: ‘NPRegion’   
   has n ot been declared include/pluginbase.h:55: warning: ‘class   
   nsPluginInstanceBase’ has virtual f unctions but non-virtual destructor   
   /usr/local/gecko-sdk1.6/xpcom/include/nsISupportsBase.h:80: warning:   
   ‘class ns ISupports’ has virtual functions but non-virtual destructor   
   Source/nsIScriptableMplayerPlugin.h:25: warning: ‘class   
   nsIScriptableWMPPlugin ’ has virtual functions but non-virtual   
   destructor Source/nsIScriptableMplayerPlugin.h:120: warning: ‘class   
   nsIScriptableMplayerP lugin’ has virtual functions but non-virtual   
   destructor   
   /usr/local/gecko-sdk1.6/xpcom/include/nsIProgrammingLanguage.h:32:   
   warning: ‘c lass nsIProgrammingLanguage’ has virtual functions but   
   non-virtual destructor   
   /usr/local/gecko-sdk1.6/xpcom/include/nsIClassInfo.h:33: warning: ‘class   
   nsICl assInfo’ has virtual functions but non-virtual destructor   
   Source/nsScriptablePeer.h:56: warning: ‘class nsClassInfoMixin’ has   
   virtual functions but non-virtual destructor Source/plugin-setup.h:109:   
   error: ‘Widget’ does not name a type Source/plugin-setup.h:169: error:   
   variable or field ‘DrawUI’ declared void Source/plugin-setup.h:169:   
   error: ‘Widget’ was not declared in this scope   
   Source/plugin-setup.h:169: error: expected primary-expression before   
   ‘*’ tok en Source/plugin-setup.h:169: error: ‘instance’ was not   
   declared in this scope Source/plugin-setup.h:169: error: expected   
   primary-expression before ‘char’ Source/plugin-setup.h:170: error:   
   expected primary-expression before ‘int’ Source/plugin-setup.h:170:   
   error: expected primary-expression before ‘int’   
   Source/plugin-setup.h:170: error: initializer expression list treated as   
   compoun d expression Source/plugin-setup.h:171: warning: ‘FreeUI’   
   initialized and declared ‘ext ern’ Source/plugin-setup.h:171: error:   
   variable or field ‘FreeUI’ declared void Source/plugin-setup.h:171:   
   error: ‘Display’ was not declared in this scope   
   Source/plugin-setup.h:171: error: ‘dpy’ was not declared in this scope   
   Source/plugin-setup.h:171: error: expected primary-expression before   
   ‘*’ tok en Source/plugin-setup.h:171: error: ‘instance’ was not   
   declared in this scope Source/plugin-setup.h:171: error: initializer   
   expression list treated as compoun d expression Source/plugin-setup.h:172:   
   warning: ‘RedrawCB’ initialized and declared ‘e xtern’   
   Source/plugin-setup.h:172: error: variable or field ‘RedrawCB’   
   declared void Source/plugin-setup.h:172: error: ‘Widget’ was not   
   declared in this scope Source/plugin-setup.h:172: error: ‘XtPointer’   
   was not declared in this scope Source/plugin-setup.h:173: error:   
   ‘XtPointer’ was not declared in this scope Source/plugin-setup.h:173:   
   error: initializer expression list treated as compoun d expression   
   Source/plugin-setup.h:205: error: ‘XEvent’ has not been declared   
   Source/plugin.h:158: error: ‘Window’ does not name a type   
   Source/plugin.h:159: error: ‘Window’ does not name a type   
   Source/plugin.h:160: error: ISO C++ forbids declaration of ‘Display’   
   with no type Source/plugin.h:160: error: expected ‘;’ before ‘*’   
   token Source/plugin.h:161: error: ‘Widget’ does not name a type   
   Source/plugin.h:268: error: ISO C++ forbids declaration of   
   ‘XFontStruct’ wit h no type Source/plugin.h:268: error: expected   
   ‘;’ before ‘*’ token Source/plugin.h:269: error: ‘Pixmap’ does   
   not name a type Source/plugin.h:270: error: ‘Pixmap’ does not name a   
   type Source/plugin.h:271: error: ‘Pixmap’ does not name a type   
   Source/plugin.h:272: error: ‘Pixmap’ does not name a type   
   Source/plugin.h:273: error: ‘Pixmap’ does not name a type   
   Source/plugin.h:274: error: ‘Pixmap’ does not name a type   
   Source/plugin.h:275: error: ‘Pixmap’ does not name a type   
   Source/plugin.h:276: error: ‘Pixmap’ does not name a type   
   Source/plugin.h:277: error: ‘Pixmap’ does not name a type   
   Source/plugin.h:278: error: ‘Pixmap’ does not name a type   
   /usr/local/gecko-sdk1.6/xpcom/include/nsIServiceManager.h:40: warning:   
   ‘class nsIServiceManager’ has virtual functions but non-virtual   
   destructor /usr/local/gecko-sdk1.6/xpcom/include/nsIMemory.h:54: warning:   
   ‘class nsIMemor y’ has virtual functions but non-virtual destructor   
   Source/plugin.cpp: In constructor   
   ‘nsPluginInstance::nsPluginInstance(NPP_t*) : Source/plugin.cpp:187:   
   error: ‘widget’ was not declared in this scope Source/plugin.cpp:188:   
   error: ‘display’ was not declared in this scope Source/plugin.cpp:189:   
   error: ‘window’ was not declared in this scope Source/plugin.cpp:190:   
   error: ‘player_window’ was not declared in this scope   
   Source/plugin.cpp:226: error: ‘font’ was not declared in this scope   
   Source/plugin.cpp:227: error: ‘logo’ was not declared in this scope   
   Source/plugin.cpp:227: error: ‘Pixmap’ was not declared in this scope   
   Source/plugin.cpp:227: error: expected `;' before ‘__null’   
   Source/plugin.cpp:228: error: ‘logomask’ was not declared in this   
   scope Source/plugin.cpp:228: error: expected `;' before ‘__null’   
   Source/plugin.cpp:229: error: ‘progress_left’ was not declared in this   
   scope Source/plugin.cpp:229: error: expected `;' before ‘__null’   
   Source/plugin.cpp:230: error: ‘progress_leftmask’ was not declared in   
   this s cope Source/plugin.cpp:230: error: expected `;' before ‘__null’   
   Source/plugin.cpp:231: error: ‘progress_middle’ was not declared in   
   this sco pe Source/plugin.cpp:231: error: expected `;' before ‘__null’   
   Source/plugin.cpp:232: error: ‘progress_middlemask’ was not declared   
   in this scope Source/plugin.cpp:232: error: expected `;' before   
   ‘__null’ Source/plugin.cpp:233: error: ‘progress_right’ was not   
   declared in this scop e Source/plugin.cpp:233: error: expected `;' before   
   ‘__null’ Source/plugin.cpp:234: error: ‘progress_rightmask’ was   
   not declared in this scope Source/plugin.cpp:234: error: expected `;'   
   before ‘__null’ Source/plugin.cpp:235: error: ‘progress_fill’ was   
   not declared in this scope Source/plugin.cpp:235: error: expected `;'   
   before ‘__null’ Source/plugin.cpp:236: error: ‘progress_fillmask’   
   was not declared in this s cope Source/plugin.cpp:236: error: expected `;'   
   before ‘__null’ Source/plugin.cpp: In member function ‘virtual void   
   nsPluginInstance::shut() : Source/plugin.cpp:327: error: ‘Display’ was   
   not declared in this scope Source/plugin.cpp:327: error: expected   
   primary-expression before ‘)’ token Source/plugin.cpp:327: error:   
   ‘FreeUI’ cannot be used as a function Source/plugin.cpp: In member   
   function ‘virtual NPError nsPluginInstance::SetWi ndow(NPWindow*)’:   
   Source/plugin.cpp:561: error: ‘GC’ was not declared in this scope   
   Source/plugin.cpp:561: error: expected `;' before ‘black_gc’   
   Source/plugin.cpp:562: error: ‘XGCValues’ was not declared in this   
   scope Source/plugin.cpp:562: error: expected `;' before ‘values’   
   Source/plugin.cpp:582: error: ‘Window’ was not declared in this scope   
   Source/plugin.cpp:582: error: expected `)' before ‘window’   
   Source/plugin.cpp:585: error: ‘window’ was not declared in this scope   
   Source/plugin.cpp:593: error: ‘values’ was not declared in this scope   
   Source/plugin.cpp:594: error: ‘struct NPSetWindowCallbackStruct’ has   
   no memb er named ‘display’ Source/plugin.cpp:594: error: ‘struct   
   NPSetWindowCallbackStruct’ has no memb er named ‘display’   
   Source/plugin.cpp:594: error: ‘DefaultScreen’ was not declared in this   
   scope Source/plugin.cpp:594: error: ‘BlackPixel’ was not declared in   
   this scope Source/plugin.cpp:595: error: ‘black_gc’ was not declared   
   in this scope Source/plugin.cpp:596: error: ‘struct   
   NPSetWindowCallbackStruct’ has no memb er named ‘display’   
   Source/plugin.cpp:596: error: ‘Window’ was not declared in this scope   
   Source/plugin.cpp:596: error: ‘GCForeground’ was not declared in this   
   scope Source/plugin.cpp:597: error: ‘XCreateGC’ was not declared in   
   this scope Source/plugin.cpp:601: error: ‘struct   
   NPSetWindowCallbackStruct’ has no memb er named ‘display’   
   Source/plugin.cpp:601: error: expected `)' before ‘aWindow’   
   Source/plugin.cpp:602: error: ‘XDrawString’ was not declared in this   
   scope Source/plugin.cpp:603: error: ‘struct NPSetWindowCallbackStruct’   
   has no memb er named ‘display’ Source/plugin.cpp:603: error:   
   ‘XFreeGC’ was not declared in this scope Source/plugin.cpp:616: error:   
   ‘widget’ was not declared in this scope Source/plugin.cpp:617: error:   
   ‘Display’ was not declared in this scope Source/plugin.cpp:617: error:   
   expected primary-expression before ‘)’ token Source/plugin.cpp:618:   
   error: ‘Window’ was not declared in this scope Source/plugin.cpp:618:   
   error: ‘XtWindowToWidget’ was not declared in this sc ope   
   Source/plugin.cpp:620: error: ‘ExposureMask’ was not declared in this   
   scope Source/plugin.cpp:621: error: ‘XtEventHandler’ was not declared   
   in this scop e Source/plugin.cpp:621: error: ‘XtAddEventHandler’ was   
   not declared in this s cope Source/plugin.cpp:623: error: ‘display’   
   was not declared in this scope Source/plugin.cpp:623: error: ‘struct   
   NPSetWindowCallbackStruct’ has no memb er named ‘display’   
   Source/plugin.cpp:627: error: ‘window’ was not declared in this scope   
   Source/plugin.cpp:627: error: expected `;' before ‘aWindow’   
   Source/plugin.cpp: In member function ‘virtual NPError   
   nsPluginInstance::DestroyStream(NPStream*, NPError)’:   
   Source/plugin.cpp:1121: error: ‘widget’ was not declared in this scope   
   Source/plugin.cpp:1121: error: ‘DrawUI’ cannot be used as a function   
   Source/plugin.cpp: In member function ‘virtual int32   
   nsPluginInstance::Write(N PStream*, int32, int32, void*)’:   
   Source/plugin.cpp:1498: error: ‘widget’ was not declared in this scope   
   Source/plugin.cpp:1501: error: ‘DrawUI’ cannot be used as a function   
   Source/plugin.cpp:1522: error: ‘widget’ was not declared in this scope   
   Source/plugin.cpp:1525: error: ‘DrawUI’ cannot be used as a function   
   make: *** [plugin.o] Error 1   
   root@ubuntu:~/mplayerplug-in#   
      
      
   Any ideas on what is wrong?   
   --   
   http://www.spampoison.com   
   --- Platinum Xpress/Win/WINServer v3.0pr5   
    * Origin: Omicron Theta BBS (1:261/20)   
|