make error: For Fedora 12 Desktop PC
Rachit shah <[email protected]> Thu, 4 Feb 2010 16:20:13 +0530
| Newsgroups | gmane.comp.mozilla.mplayerplug-in |
|---|---|
| Message-ID | <[email protected]> |
--===============1288879365145715781==
Content-Type: multipart/alternative; boundary=001636b2bb0085c5c6047ec41981
--001636b2bb0085c5c6047ec41981
Content-Type: text/plain; charset=ISO-8859-1
Hi,
I have downloaded mplayerplug-in source code mplayerplug-in-3.50.tar.gz and
mplayerplug-in-3.55.tar.gz
I am trying to configure for Fedora 12 Desktop PC.It has
mplayer(mplayer-1.0-0.111.20091029svn.fc12.i686) and Firefox 3.5.6
installed.
I have tried to configure with following command as per ./whatoptions.sh
mentioned in both source code.
./configure --prefix=/usr --enable-x --with-mozila-home=/usr/lib
It has successfully done configuration.
Configuration log
/*********************************************/
[Rachit@RachitLinuxPC mplayerplug-in]$ ./configure --prefix=/usr --enable-x
--with-mozila-home=/usr/lib
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... -DXP_UNIX -DOJI
-I/usr/include/xulrunner-sdk-1.9.1/stable
-I/usr/include/xulrunner-sdk-1.9.1/java
-I/usr/include/xulrunner-sdk-1.9.1/plugin -I/usr/include/nspr4
checking MOZPLUG_LIBS... -lplds4 -lplc4 -lnspr4 -lpthread -ldl
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
**************************************************************
ARE YOU SURE YOU WANT TO BUILD WITHOUT GTK?
BECAUSE mplayerplug-in WITHOUT GTK TAKES AWAY FUNCITIONALITY
**************************************************************
/**********************************************/
When I try to do make then got following error.
/*****************************************************/
[Rachit@RachitLinuxPC mplayerplug-in]$ make
g++ -c -o plugin.o -Wall -DXP_UNIX -DMOZ_X11 -DXP_UNIX -DOJI
-I/usr/include/xulrunner-sdk-1.9.1/stable
-I/usr/include/xulrunner-sdk-1.9.1/java
-I/usr/include/xulrunner-sdk-1.9.1/plugin -I/usr/include/nspr4
-I/usr/include/xulrunner-sdk-1.9.1 -g -O2 -g -O2 -Iinclude -fPIC
-DX_ENABLED Source/plugin.cpp
In file included from include/pluginbase.h:41,
from Source/plugin.h:53,
from Source/plugin.cpp:37:
include/npplat.h:42:19: error: npupp.h: No such file or directory
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*'
make: *** [plugin.o] Error 1
[Rachit@RachitLinuxPC mplayerplug-in]$
/*******************************************************/
How to resolve this error ?
Thanks,
Rachit Shah
+91 99250 28064
--001636b2bb0085c5c6047ec41981
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Hi,<br><br>I have downloaded mplayerplug-in source code mplayerplug-in-3.50=
.tar.gz and mplayerplug-in-3.55.tar.gz<br>I am trying to configure for Fedo=
ra 12 Desktop PC.It has mplayer(mplayer-1.0-0.111.20091029svn.fc12.i686)=A0=
and Firefox 3.5.6 installed.<br>
<br>I have tried to configure with following command as per ./whatoptions.s=
h mentioned in both source code.<br><br>./configure --prefix=3D/usr --enabl=
e-x --with-mozila-home=3D/usr/lib<br><br>It has successfully done configura=
tion.<br>
Configuration log<br><span style=3D"color: rgb(255, 0, 0);">/**************=
*******************************/</span><br>[Rachit@RachitLinuxPC mplayerplu=
g-in]$ ./configure --prefix=3D/usr --enable-x --with-mozila-home=3D/usr/lib=
<br>
checking for g++... g++<br>checking for C++ compiler default output file na=
me... a.out<br>checking whether the C++ compiler works... yes<br>checking w=
hether we are cross compiling... no<br>checking for suffix of executables..=
. <br>
checking for suffix of object files... o<br>checking whether we are using t=
he GNU C++ compiler... yes<br>checking whether g++ accepts -g... yes<br>che=
cking for gcc... gcc<br>checking whether we are using the GNU C compiler...=
yes<br>
checking whether gcc accepts -g... yes<br>checking for gcc option to accept=
ISO C89... none needed<br>checking for a BSD-compatible install... /usr/bi=
n/install -c<br>checking for gawk... gawk<br>checking whether make sets $(M=
AKE)... yes<br>
configure: Determining mozilla/firefox packages to build against<br>checkin=
g for pkg-config... /usr/bin/pkg-config<br>checking for mozilla-plugin... y=
es<br>checking MOZPLUG_CFLAGS... -DXP_UNIX -DOJI -I/usr/include/xulrunner-s=
dk-1.9.1/stable -I/usr/include/xulrunner-sdk-1.9.1/java -I/usr/include/xulr=
unner-sdk-1.9.1/plugin -I/usr/include/nspr4=A0 <br>
checking MOZPLUG_LIBS... -lplds4 -lplc4 -lnspr4 -lpthread -ldl=A0 <br>check=
ing how to run the C preprocessor... gcc -E<br>checking for x11... yes<br>c=
hecking X_CFLAGS...=A0 <br>checking X_LIBS... -lX11=A0 <br>checking for xt.=
.. yes<br>
checking XT_CFLAGS...=A0 <br>checking XT_LIBS... -lXt -lX11=A0 <br>checking=
for grep that handles long lines and -e... /bin/grep<br>checking for egrep=
... /bin/grep -E<br>checking for ANSI C header files... yes<br>checking for=
sys/types.h... yes<br>
checking for sys/stat.h... yes<br>checking for stdlib.h... yes<br>checking =
for string.h... yes<br>checking for memory.h... yes<br>checking for strings=
.h... yes<br>checking for inttypes.h... yes<br>checking for stdint.h... yes=
<br>
checking for unistd.h... yes<br>checking for xpm... yes<br>checking XPM_CFL=
AGS...=A0 <br>checking XPM_LIBS... -lXpm -lX11=A0 <br>checking for ANSI C h=
eader files... (cached) yes<br>checking stddef.h usability... yes<br>checki=
ng stddef.h presence... yes<br>
checking for stddef.h... yes<br>checking for stdlib.h... (cached) yes<br>ch=
ecking for unistd.h... (cached) yes<br>checking for sys/stat.h... (cached) =
yes<br>checking fcntl.h usability... yes<br>checking fcntl.h presence... ye=
s<br>
checking for fcntl.h... yes<br>checking for an ANSI C-conforming const... y=
es<br>checking whether time.h and sys/time.h may both be included... yes<br=
>checking for pid_t... yes<br>checking for size_t... yes<br>checking for st=
dlib.h... (cached) yes<br>
checking for GNU libc compatible malloc... yes<br>checking vfork.h usabilit=
y... no<br>checking vfork.h presence... no<br>checking for vfork.h... no<br=
>checking for fork... yes<br>checking for vfork... yes<br>checking for work=
ing fork... yes<br>
checking for working vfork... (cached) yes<br>checking for memset... yes<br=
>checking for strcasecmp... yes<br>checking for strchr... yes<br>checking f=
or strdup... yes<br>checking for strncasecmp... yes<br>checking for strstr.=
.. yes<br>
checking for strrchr... yes<br>checking for snprintf... yes<br>checking for=
mkfifo... yes<br>checking for dup2... yes<br>checking for gettimeofday... =
yes<br>checking for strerror... yes<br>checking for strtol... yes<br>checki=
ng for mkdir... yes<br>
checking for setlocale... yes<br>checking for memmem... yes<br>checking lib=
intl.h usability... yes<br>checking libintl.h presence... yes<br>checking f=
or libintl.h... yes<br>checking sys/time.h usability... yes<br>checking sys=
/time.h presence... yes<br>
checking for sys/time.h... yes<br>checking sys/param.h usability... yes<br>=
checking sys/param.h presence... yes<br>checking for sys/param.h... yes<br>=
checking locale.h usability... yes<br>checking locale.h presence... yes<br>
checking for locale.h... yes<br>checking for stdbool.h that conforms to C99=
... yes<br>checking for _Bool... yes<br>checking for sys/wait.h that is POS=
IX.1 compatible... yes<br>checking return type of signal handlers... void<b=
r>
checking for DPMSQueryExtension in -lXdpms... no<br>checking for X11/extens=
ions/dpms.h... yes<br>configure: creating ./config.status<br>config.status:=
creating Makefile<br>config.status: WARNING:=A0 Makefile.in seems to ignor=
e the --datarootdir setting<br>
config.status: creating po/Makefile<br>config.status: WARNING:=A0 po/Makefi=
le.in seems to ignore the --datarootdir setting<br>config.status: creating =
install.sh<br>config.status: WARNING:=A0 <a href=3D"http://install.sh.in">i=
nstall.sh.in</a> seems to ignore the --datarootdir setting<br>
config.status: creating uninstall.sh<br>config.status: creating config.h<br=
>**************************************************************<br>=A0=A0=
=A0=A0=A0=A0=A0=A0 ARE YOU SURE YOU WANT TO BUILD WITHOUT GTK?<br>=A0BECAUS=
E mplayerplug-in WITHOUT GTK TAKES AWAY FUNCITIONALITY=A0=A0=A0 <br>
**************************************************************<br><span sty=
le=3D"background-color: rgb(255, 255, 255); color: rgb(255, 0, 0);">/******=
****************************************/</span><br><br>When I try to do ma=
ke then got following error.<br>
<br>
<span style=3D"background-color: rgb(255, 255, 255); color: rgb(255, 0, 0);=
">/*****************************************************/</span><br>[Rachit=
@RachitLinuxPC mplayerplug-in]$ make<br>g++ -c -o plugin.o -Wall -DXP_UNIX =
-DMOZ_X11 -DXP_UNIX -DOJI -I/usr/include/xulrunner-sdk-1.9.1/stable -I/usr/=
include/xulrunner-sdk-1.9.1/java -I/usr/include/xulrunner-sdk-1.9.1/plugin =
-I/usr/include/nspr4=A0=A0 -I/usr/include/xulrunner-sdk-1.9.1 -g -O2=A0=A0=
=A0=A0=A0 -g -O2=A0 -Iinclude -fPIC=A0=A0=A0=A0 -DX_ENABLED=A0=A0 Source/pl=
ugin.cpp<br>
In file included from include/pluginbase.h:41,<br>=A0=A0=A0=A0=A0=A0=A0=A0=
=A0=A0=A0=A0=A0=A0=A0=A0 from Source/plugin.h:53,<br>=A0=A0=A0=A0=A0=A0=A0=
=A0=A0=A0=A0=A0=A0=A0=A0=A0 from Source/plugin.cpp:37:<br>include/npplat.h:=
42:19: error: npupp.h: No such file or directory<br>In file included from S=
ource/nsScriptablePeer.h:48,<br>
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 from Source/plugin.h:54,<b=
r>=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 from Source/plugin.cpp:3=
7:<br>Source/nsIScriptableMplayerPlugin.h:28:60: error: macro "NS_DEFI=
NE_STATIC_IID_ACCESSOR" requires 2 arguments, but only 1 given<br>
Source/nsIScriptableMplayerPlugin.h:123:64: error: macro "NS_DEFINE_ST=
ATIC_IID_ACCESSOR" requires 2 arguments, but only 1 given<br>In file i=
ncluded from Source/nsScriptablePeer.h:48,<br>=A0=A0=A0=A0=A0=A0=A0=A0=A0=
=A0=A0=A0=A0=A0=A0=A0 from Source/plugin.h:54,<br>
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 from Source/plugin.cpp:37:=
<br>Source/nsIScriptableMplayerPlugin.h:28: error: ISO C++ forbids declarat=
ion of 'NS_DEFINE_STATIC_IID_ACCESSOR' with no type<br>Source/nsISc=
riptableMplayerPlugin.h:31: error: expected ';' before 'virtual=
'<br>
Source/nsIScriptableMplayerPlugin.h:123: error: ISO C++ forbids declaration=
of 'NS_DEFINE_STATIC_IID_ACCESSOR' with no type<br>Source/nsIScrip=
tableMplayerPlugin.h:126: error: expected ';' before 'virtual&#=
39;<br>
In file included from Source/plugin.h:54,<br>=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=
=A0=A0=A0=A0=A0=A0 from Source/plugin.cpp:37:<br>Source/nsScriptablePeer.h:=
In member function 'virtual nsresult nsClassInfoMixin::GetImplementati=
onLanguage(PRUint32*)':<br>
Source/nsScriptablePeer.h:64: error: 'nsIProgrammingLanguage' has n=
ot been declared<br>Source/plugin.cpp: In member function 'void nsPlugi=
nInstance::shutdown()':<br>Source/plugin.cpp:437: warning: deprecated c=
onversion from string constant to 'char*'<br>
Source/plugin.cpp:440: warning: deprecated conversion from string constant =
to 'char*'<br>Source/plugin.cpp: In member function 'void nsPlu=
ginInstance::Play()':<br>Source/plugin.cpp:2241: warning: deprecated co=
nversion from string constant to 'char*'<br>
Source/plugin.cpp: In member function 'void nsPluginInstance::Pause()&#=
39;:<br>Source/plugin.cpp:2271: warning: deprecated conversion from string =
constant to 'char*'<br>Source/plugin.cpp: In member function 'v=
oid nsPluginInstance::Stop()':<br>
Source/plugin.cpp:2291: warning: deprecated conversion from string constant=
to 'char*'<br>Source/plugin.cpp:2293: warning: deprecated conversi=
on from string constant to 'char*'<br>Source/plugin.cpp:2303: warni=
ng: deprecated conversion from string constant to 'char*'<br>
Source/plugin.cpp: In member function 'void nsPluginInstance::Quit()=
9;:<br>Source/plugin.cpp:2321: warning: deprecated conversion from string c=
onstant to 'char*'<br>Source/plugin.cpp:2322: warning: deprecated c=
onversion from string constant to 'char*'<br>
Source/plugin.cpp: In member function 'void nsPluginInstance::FastForwa=
rd()':<br>Source/plugin.cpp:2348: warning: deprecated conversion from s=
tring constant to 'char*'<br>Source/plugin.cpp:2349: warning: depre=
cated conversion from string constant to 'char*'<br>
Source/plugin.cpp:2351: warning: deprecated conversion from string constant=
to 'char*'<br>Source/plugin.cpp: In member function 'void nsPl=
uginInstance::FastReverse()':<br>Source/plugin.cpp:2375: warning: depre=
cated conversion from string constant to 'char*'<br>
Source/plugin.cpp:2376: warning: deprecated conversion from string constant=
to 'char*'<br>Source/plugin.cpp:2378: warning: deprecated conversi=
on from string constant to 'char*'<br>Source/plugin.cpp: In member =
function 'void nsPluginInstance::Seek(double)':<br>
Source/plugin.cpp:2391: warning: deprecated conversion from string constant=
to 'char*'<br>Source/plugin.cpp:2395: warning: deprecated conversi=
on from string constant to 'char*'<br>Source/plugin.cpp: In member =
function 'void nsPluginInstance::VolumeUp()':<br>
Source/plugin.cpp:2409: warning: deprecated conversion from string constant=
to 'char*'<br>Source/plugin.cpp: In member function 'void nsPl=
uginInstance::VolumeDown()':<br>Source/plugin.cpp:2423: warning: deprec=
ated conversion from string constant to 'char*'<br>
make: *** [plugin.o] Error 1<br>[Rachit@RachitLinuxPC mplayerplug-in]$<br><=
br><span style=3D"color: rgb(255, 0, 0);">/********************************=
***********************/</span><br><br>How to resolve this error ?<br clear=
=3D"all">
<br>Thanks,<br>Rachit Shah<br>+91 99250 28064<br>
--001636b2bb0085c5c6047ec41981--
--===============1288879365145715781==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
--===============1288879365145715781==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
_______________________________________________
Mplayerplug-in-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mplayerplug-in-devel
--===============1288879365145715781==--