mplayerplugin fails to compile with gcc4.3

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Dear all,

I apologize in advance if this question is out of
scope with regards to the list.  Recently, I have
recompiled mplayer against gcc4.3 and it worked well
:).  However, mplayerplugin failed to compile :(  I
will attach the log of what happened.

TIA,




      ____________________________________________________________________________________
Be a better friend, newshound, and 
know-it-all with Yahoo! Mobile.  Try it now.  http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ 
[olivares@localhost Downloads]$ cd mplayerplug-in
[olivares@localhost mplayerplug-in]$ ls
aclocal.m4      Makefile.in             plugin-list.o
autom4te.cache  mplayerplug-in.conf     plugin.o
biarch.patch    mplayerplug-in-dvx.so   plugin-setup-dvx.o
ChangeLog       mplayerplug-in-dvx.xpt  plugin-setup.o
common          mplayerplug-in-qt.so    plugin-setup-qt.o
config.h        mplayerplug-in-qt.xpt   plugin-setup-rm.o
config.h.in     mplayerplug-in-rm.so    plugin-setup-wmp.o
config.log      mplayerplug-in-rm.xpt   plugin-support.o
config.status   mplayerplug-in.so       plugin-threads.o
configure       mplayerplug-in.spec     plugin-ui.o
configure.in    mplayerplug-in.types    po
CVS             mplayerplug-in-wmp.so   README
DOCS            mplayerplug-in-wmp.xpt  Source
extras          mplayerplug-in.xpt      strlcat.o
include         np_entry.o              strlcpy.o
INSTALL         npn_gate.o              TODO
install.sh      npp_gate.o              uninstall.sh
install.sh.in   nsScriptablePeer.o      uninstall.sh.in
LICENSE         pixmaps                 whatoptions.sh
Makefile        plugingate
[olivares@localhost mplayerplug-in]$ ./configure
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 ISO C89... none needed
checking for a BSD-compatible install... /usr/bin/install -c
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
configure: Determining mozilla/firefox packages to build against
checking for pkg-config... /usr/bin/pkg-config
checking for mozilla-plugin... yes
checking MOZPLUG_CFLAGS... -I/usr/include/xulrunner-sdk-1.9pre/stable -I/usr/include/xulrunner-sdk-1.9pre/java -I/usr/include/xulrunner-sdk-1.9pre/plugin -I/usr/include/nspr4  
checking MOZPLUG_LIBS... -L/lib -lplds4 -lplc4 -lnspr4 -lpthread -ldl  
checking for gtk+-2.0... yes
checking GTK_CFLAGS... -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include  
checking GTK_LIBS... -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0  
checking for gtk+-2.0 >= 2.4.0... yes
checking GTK24_CFLAGS... -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include  
checking GTK24_LIBS... -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0  
checking for gthread-2.0... yes
checking GTHREAD_CFLAGS... -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include  
checking GTHREAD_LIBS... -pthread -lgthread-2.0 -lrt -lglib-2.0  
checking how to run the C preprocessor... gcc -E
checking for x11... yes
checking X_CFLAGS...  
checking X_LIBS... -lX11  
checking for xt... yes
checking XT_CFLAGS...  
checking XT_LIBS... -lXt -lX11  
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
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 for xpm... yes
checking XPM_CFLAGS...  
checking XPM_LIBS... -lXpm -lX11  
checking for ANSI C header files... (cached) 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 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... yes
checking vfork.h usability... no
checking vfork.h presence... no
checking for vfork.h... no
checking for fork... yes
checking for vfork... yes
checking for working fork... yes
checking for working vfork... (cached) yes
checking for memset... yes
checking for strcasecmp... yes
checking for strchr... yes
checking for strdup... yes
checking for strncasecmp... yes
checking for strstr... yes
checking for strrchr... yes
checking for snprintf... yes
checking for mkfifo... yes
checking for dup2... yes
checking for gettimeofday... yes
checking for strerror... yes
checking for strtol... yes
checking for mkdir... yes
checking for setlocale... yes
checking for memmem... yes
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 locale.h usability... yes
checking locale.h presence... yes
checking for locale.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 for DPMSQueryExtension in -lXdpms... no
checking for X11/extensions/dpms.h... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: WARNING:  Makefile.in seems to ignore the --datarootdir setting
config.status: creating po/Makefile
config.status: WARNING:  po/Makefile.in seems to ignore the --datarootdir setting
config.status: creating install.sh
config.status: WARNING:  install.sh.in seems to ignore the --datarootdir setting
config.status: creating uninstall.sh
config.status: creating config.h
config.status: config.h is unchanged
[olivares@localhost mplayerplug-in]$ make
g++ -c -o plugin.o -Wall -DXP_UNIX -DMOZ_X11 -I/usr/include/xulrunner-sdk-1.9pre/stable -I/usr/include/xulrunner-sdk-1.9pre/java -I/usr/include/xulrunner-sdk-1.9pre/plugin -I/usr/include/nspr4   -I/usr/include/xulrunner-sdk-1.9pre -g -O2      -g -O2  -Iinclude -fPIC  -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -DGTK_ENABLED   Source/plugin.cpp
In file included from Source/nsScriptablePeer.h:48,
                 from Source/plugin.h:54,
                 from Source/plugin.cpp:37:
Source/nsIScriptableMplayerPlugin.h:28:60: error: macro "NS_DEFINE_STATIC_IID_ACCESSOR" requires 2 arguments, but only 1 given
Source/nsIScriptableMplayerPlugin.h:123:64: error: macro "NS_DEFINE_STATIC_IID_ACCESSOR" requires 2 arguments, but only 1 given
In file included from Source/nsScriptablePeer.h:48,
                 from Source/plugin.h:54,
                 from Source/plugin.cpp:37:
Source/nsIScriptableMplayerPlugin.h:28: error: ISO C++ forbids declaration of â??NS_DEFINE_STATIC_IID_ACCESSORâ?? with no type
Source/nsIScriptableMplayerPlugin.h:31: error: expected â??;â?? before â??virtualâ??
Source/nsIScriptableMplayerPlugin.h:123: error: ISO C++ forbids declaration of â??NS_DEFINE_STATIC_IID_ACCESSORâ?? with no type
Source/nsIScriptableMplayerPlugin.h:126: error: expected â??;â?? before â??virtualâ??
In file included from Source/plugin.h:54,
                 from Source/plugin.cpp:37:
Source/nsScriptablePeer.h: In member function â??virtual nsresult nsClassInfoMixin::GetImplementationLanguage(PRUint32*)â??:
Source/nsScriptablePeer.h:64: error: â??nsIProgrammingLanguageâ?? has not been declared
Source/plugin.cpp: In member function â??void nsPluginInstance::shutdown()â??:
Source/plugin.cpp:437: warning: deprecated conversion from string constant to â??char*â??
Source/plugin.cpp:440: warning: deprecated conversion from string constant to â??char*â??
Source/plugin.cpp: In member function â??void nsPluginInstance::Play()â??:
Source/plugin.cpp:2241: warning: deprecated conversion from string constant to â??char*â??
Source/plugin.cpp: In member function â??void nsPluginInstance::Pause()â??:
Source/plugin.cpp:2271: warning: deprecated conversion from string constant to â??char*â??
Source/plugin.cpp: In member function â??void nsPluginInstance::Stop()â??:
Source/plugin.cpp:2291: warning: deprecated conversion from string constant to â??char*â??
Source/plugin.cpp:2293: warning: deprecated conversion from string constant to â??char*â??
Source/plugin.cpp:2303: warning: deprecated conversion from string constant to â??char*â??
Source/plugin.cpp: In member function â??void nsPluginInstance::Quit()â??:
Source/plugin.cpp:2321: warning: deprecated conversion from string constant to â??char*â??
Source/plugin.cpp:2322: warning: deprecated conversion from string constant to â??char*â??
Source/plugin.cpp: In member function â??void nsPluginInstance::FastForward()â??:
Source/plugin.cpp:2348: warning: deprecated conversion from string constant to â??char*â??
Source/plugin.cpp:2349: warning: deprecated conversion from string constant to â??char*â??
Source/plugin.cpp:2351: warning: deprecated conversion from string constant to â??char*â??
Source/plugin.cpp: In member function â??void nsPluginInstance::FastReverse()â??:
Source/plugin.cpp:2375: warning: deprecated conversion from string constant to â??char*â??
Source/plugin.cpp:2376: warning: deprecated conversion from string constant to â??char*â??
Source/plugin.cpp:2378: warning: deprecated conversion from string constant to â??char*â??
Source/plugin.cpp: In member function â??void nsPluginInstance::Seek(double)â??:
Source/plugin.cpp:2391: warning: deprecated conversion from string constant to â??char*â??
Source/plugin.cpp:2395: warning: deprecated conversion from string constant to â??char*â??
Source/plugin.cpp: In member function â??void nsPluginInstance::VolumeUp()â??:
Source/plugin.cpp:2409: warning: deprecated conversion from string constant to â??char*â??
Source/plugin.cpp: In member function â??void nsPluginInstance::VolumeDown()â??:
Source/plugin.cpp:2423: warning: deprecated conversion from string constant to â??char*â??
Source/plugin.cpp: In member function â??void nsPluginInstance::SetShowlogo(PRBool)â??:
Source/plugin.cpp:3151: warning: suggest explicit braces to avoid ambiguous â??elseâ??
make: *** [plugin.o] Error 1

-- 
fedora-test-list mailing list
fedora-test-list@xxxxxxxxxx
To unsubscribe: 
https://www.redhat.com/mailman/listinfo/fedora-test-list

[Index of Archives]     [Fedora Desktop]     [Fedora SELinux]     [Photo Sharing]     [Yosemite Forum]     [KDE Users]

  Powered by Linux