LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This 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


Reply
  Search this Thread
Old 04-23-2005, 10:58 AM   #1
wezhousheng
LQ Newbie
 
Registered: Apr 2005
Location: china
Posts: 21

Rep: Reputation: 15
mplayerplug-in make error


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?
 
Old 04-23-2005, 11:19 AM   #2
Artanicus
Member
 
Registered: Jan 2005
Location: Finland
Distribution: Ubuntu, Debian, Gentoo, Slackware
Posts: 827

Rep: Reputation: 31
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.
 
Old 04-23-2005, 09:57 PM   #3
wezhousheng
LQ Newbie
 
Registered: Apr 2005
Location: china
Posts: 21

Original Poster
Rep: Reputation: 15
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]#

the word "错误" means error
 
Old 04-24-2005, 01:40 AM   #4
__J
Senior Member
 
Registered: Dec 2004
Distribution: Slackware, ROCK
Posts: 1,973

Rep: Reputation: 46
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:

Code:
make &> make.txt
 
Old 04-24-2005, 09:21 PM   #5
wezhousheng
LQ Newbie
 
Registered: Apr 2005
Location: china
Posts: 21

Original Poster
Rep: Reputation: 15
i only install firefox-1.0.2 and i have removed mozilla*
could mplayerplug-in works with it?
 
Old 04-24-2005, 10:55 PM   #6
__J
Senior Member
 
Registered: Dec 2004
Distribution: Slackware, ROCK
Posts: 1,973

Rep: Reputation: 46
you'll probably have to find a package somewhere, you cannot compile it if you removed the mozilla libs and headers.
 
Old 04-25-2005, 12:15 AM   #7
wezhousheng
LQ Newbie
 
Registered: Apr 2005
Location: china
Posts: 21

Original Poster
Rep: Reputation: 15
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?
 
Old 04-25-2005, 12:57 AM   #8
__J
Senior Member
 
Registered: Dec 2004
Distribution: Slackware, ROCK
Posts: 1,973

Rep: Reputation: 46
try to look for a c++libs package for your distro ( maybe something like libstdc++-compat). or you could try to symlink it and see if that works:

Code:
ln -s /usr/lib/libstdc++.so.6 /usr/lib/libstdc++.so.5
 
Old 04-25-2005, 01:36 AM   #9
wezhousheng
LQ Newbie
 
Registered: Apr 2005
Location: china
Posts: 21

Original Poster
Rep: Reputation: 15
ive tried it
but it didn't work ?
 
Old 04-25-2005, 01:45 AM   #10
__J
Senior Member
 
Registered: Dec 2004
Distribution: Slackware, ROCK
Posts: 1,973

Rep: Reputation: 46
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.
 
Old 04-25-2005, 02:14 AM   #11
wezhousheng
LQ Newbie
 
Registered: Apr 2005
Location: china
Posts: 21

Original Poster
Rep: Reputation: 15
thanks! ive solve this problem.
ive fc3 with gcc-3.4.2-6.fc3 and libstdc++-3.4.2-6.fc3
and then ive installed libstdc++-3.3.3-7.i386.rpm to instead.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Really, really Weird trouble with make (make error 2) flyeater SUSE / openSUSE 5 06-20-2005 12:05 PM
mplayerplug-in 2.8 fails to make install awing_pilot Linux - Software 2 03-12-2005 05:30 PM
lopster v1.2.2 make error: No rule to make target `m4/glibc21.m4' Kropotkin Fedora 0 10-31-2004 11:19 AM
make failing to make with this error. Help needed? vdemuth Linux - Software 4 06-20-2004 03:08 PM
make: cc: command not found make: *** [gzip.o]error 127 zyjk Linux - Newbie 5 02-08-2002 09:58 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:00 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration