Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
ive got mplayerplug-in
and ive configure it successed but when i type "make" finally it retune "make: *** [plugin.o] error 1"
ive configure mplayer like this "./configure --enable-gui --enable-network"
what can i do now?
please read (and paste here if you cant solve it) the last screenfull or so. The last error realy doesnt tell anything about the real problem, but the first error does.
after configure(./configure --with-gecko-sdk=/path/to/gecko-sdk)
the last screenful is
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 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... yes
checking X11/xpm.h presence... yes
checking for X11/xpm.h... yes
checking for DPMSQueryExtension in -lXdpms... no
checking for X11/extensions/dpms.h... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h
config.status: config.h is unchanged
[root@localhost mplayerplug-in]#
and then i make it
[root@localhost mplayerplug-in]#make
the last screenfull like this
Source/plugin.cpp:2441: error: `PRBool' was not declared in this scope
Source/plugin.cpp:2441: error: `_retval' was not declared in this scope
Source/plugin.cpp:2442: error: expected `,' or `;' before '{' token
Source/plugin.cpp:2447: error: variable or field `SetShowlogo' declared void
Source/plugin.cpp:2447: error: `int nsPluginInstance::SetShowlogo' is not a static member of `class nsPluginInstance'
Source/plugin.cpp:2447: error: `PRBool' was not declared in this scope
Source/plugin.cpp:2448: error: expected `,' or `;' before '{' token
Source/plugin.cpp:2460: error: variable or field `GetAutoPlay' declared void
Source/plugin.cpp:2460: error: `int nsPluginInstance::GetAutoPlay' is not a static member of `class nsPluginInstance'
Source/plugin.cpp:2460: error: `PRBool' was not declared in this scope
Source/plugin.cpp:2460: error: `_retval' was not declared in this scope
Source/plugin.cpp:2461: error: expected `,' or `;' before '{' token
Source/plugin.cpp:2466: error: variable or field `SetAutoPlay' declared void
Source/plugin.cpp:2466: error: `int nsPluginInstance::SetAutoPlay' is not a static member of `class nsPluginInstance'
Source/plugin.cpp:2466: error: `PRBool' was not declared in this scope
Source/plugin.cpp:2467: error: expected `,' or `;' before '{' token
Source/plugin.cpp:2471: error: variable or field `GetLoop' declared void
Source/plugin.cpp:2471: error: `int nsPluginInstance::GetLoop' is not a static member of `class nsPluginInstance'
Source/plugin.cpp:2471: error: `PRBool' was not declared in this scope
Source/plugin.cpp:2471: error: `_retval' was not declared in this scope
Source/plugin.cpp:2472: error: expected `,' or `;' before '{' token
Source/plugin.cpp:2477: error: variable or field `SetLoop' declared void
Source/plugin.cpp:2477: error: `int nsPluginInstance::SetLoop' is not a static member of `class nsPluginInstance'
Source/plugin.cpp:2477: error: `PRBool' was not declared in this scope
Source/plugin.cpp:2478: error: expected `,' or `;' before '{' token
Source/plugin.cpp:2497: error: `NPError' does not name a type
Source/plugin.cpp: In member function `nsScriptablePeer* nsPluginInstance::getScriptablePeer()':
Source/plugin.cpp:2543: error: `NS_ADDREF' undeclared (first use this function)
Source/plugin.cpp: In member function `nsControlsScriptablePeer* nsPluginInstance::getControlsScriptablePeer()':
Source/plugin.cpp:2557: error: `NS_ADDREF' undeclared (first use this function)
make: *** [plugin.o] 错误 1
[root@localhost mplayerplug-in]#
still need to go up farther, but from what you posted it looks like the mozilla inlcude files were not installed. if you want a text file of the make process, do:
thanks __J
and i have another question that when i install opera with opera-8.0-20050415.6.i386
then it appears
[root@localhost firefox]# rpm -Uvh opera-8.0-20050415.6-shared-qt.i386-en.rpm error: Failed dependencies:
libstdc++.so.5(CXXABI_1.2) is needed by opera-8.0-20050415.6.i386
libstdc++.so.5(GLIBCPP_3.2) is needed by opera-8.0-20050415.6.i386
and ive find that in the /usr/lib there have libstdc++.so.6 and libstdc++.so.6.0.3 but no libstdc++.so.5
what can i do now?
look for the libstdc++-compat package ( remember to remove that symlink). libstdc++ comes with g++ ( unless you are running an rpm or debian distro), g++-3.3.x comes with the lib you need, g++-3.4.x comes with the lib you have. just guessing, you probably have Mandrake 10.1 or Fedora with gcc-3.4.x, so about your only option is to look for a package from a previous version ( like Mandrake 10.0, IIRC it came with gcc-3.3.x) and get the libstdc++ package from it.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.