LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (http://www.linuxquestions.org/questions/linux-software-2/)
-   -   trying to compile mplayerplug-in with gecko-sdk (http://www.linuxquestions.org/questions/linux-software-2/trying-to-compile-mplayerplug-in-with-gecko-sdk-261057/)

Paxmaster 11-30-2004 04:41 PM

trying to compile mplayerplug-in with gecko-sdk
 
i have install mplayer with all of the codecs (win32, qt) i am trying to make mozilla play video with mplayer
so i have find out using mplayerplug-in with geckco-sdk i could play movies on line wow i thought finally
when i try to compile mplayerplugin with gecko-sdk i got so many error

home/paxmaster/program/mplayer/gecko-sdk/gecko-sdk/nspr/include/pratom.h:57: error: ISO
C++ forbids declaration of `__declspec' with no type
/home/paxmaster/program/mplayer/gecko-sdk/gecko-sdk/nspr/include/pratom.h:57: error: redefinition
of `int __declspec'
/home/paxmaster/program/mplayer/gecko-sdk/gecko-sdk/nspr/include/prlock.h:114: error: `
int __declspec' previously defined here
/home/paxmaster/program/mplayer/gecko-sdk/gecko-sdk/nspr/include/pratom.h:57: error: syntax
error before `PR_AtomicIncrement'
/home/paxmaster/program/mplayer/gecko-sdk/gecko-sdk/nspr/include/pratom.h:68: error: `
dllimport' was not declared in this scope
/home/paxmaster/program/mplayer/gecko-sdk/gecko-sdk/nspr/include/pratom.h:68: error: ISO
C++ forbids declaration of `__declspec' with no type
/home/paxmaster/program/mplayer/gecko-sdk/gecko-sdk/nspr/include/pratom.h:68: error: redefinition
of `int __declspec'
/home/paxmaster/program/mplayer/gecko-sdk/gecko-sdk/nspr/include/pratom.h:57: error: `
int __declspec' previously defined here
/home/paxmaster/program/mplayer/gecko-sdk/gecko-sdk/nspr/include/pratom.h:68: error: syntax
error before `PR_AtomicDecrement'
/home/paxmaster/program/mplayer/gecko-sdk/gecko-sdk/nspr/include/pratom.h:80: error: `
dllimport' was not declared in this scope
/home/paxmaster/program/mplayer/gecko-sdk/gecko-sdk/nspr/include/pratom.h:80: error: ISO
C++ forbids declaration of `__declspec' with no type
/home/paxmaster/program/mplayer/gecko-sdk/gecko-sdk/nspr/include/pratom.h:80: error: redefinition
of `int __declspec'
/home/paxmaster/program/mplayer/gecko-sdk/gecko-sdk/nspr/include/pratom.h:68: error: `
int __declspec' previously defined here
/home/paxmaster/program/mplayer/gecko-sdk/gecko-sdk/nspr/include/pratom.h:80: error: syntax
error before `PR_AtomicSet'
/home/paxmaster/program/mplayer/gecko-sdk/gecko-sdk/nspr/include/pratom.h:92: error: `
dllimport' was not declared in this scope
/home/paxmaster/program/mplayer/gecko-sdk/gecko-sdk/nspr/include/pratom.h:92: error: ISO
C++ forbids declaration of `__declspec' with no type
/home/paxmaster/program/mplayer/gecko-sdk/gecko-sdk/nspr/include/pratom.h:92: error: redefinition
of `int __declspec'
/home/paxmaster/program/mplayer/gecko-sdk/gecko-sdk/nspr/include/pratom.h:80: error: `
int __declspec' previously defined here
/home/paxmaster/program/mplayer/gecko-sdk/gecko-sdk/nspr/include/pratom.h:92: error: syntax
error before `PR_AtomicAdd'
/home/paxmaster/program/mplayer/gecko-sdk/gecko-sdk/nspr/include/pratom.h:115: error: `
dllimport' was not declared in this scope
/home/paxmaster/program/mplayer/gecko-sdk/gecko-sdk/nspr/include/pratom.h:115: error: ISO
C++ forbids declaration of `__declspec' with no type
/home/paxmaster/program/mplayer/gecko-sdk/gecko-sdk/nspr/include/pratom.h:115: error: redefinition
of `int __declspec'
/home/paxmaster/program/mplayer/gecko-sdk/gecko-sdk/nspr/include/pratom.h:92: error: `
int __declspec' previously defined here
/home/paxmaster/program/mplayer/gecko-sdk/gecko-sdk/nspr/include/pratom.h:115: error: syntax
error before `*' token
/home/paxmaster/program/mplayer/gecko-sdk/gecko-sdk/nspr/include/pratom.h:127: error: `
dllimport' was not declared in this scope
/home/paxmaster/program/mplayer/gecko-sdk/gecko-sdk/nspr/include/pratom.h:127: error: ISO

and much much more error. could anybody point me what the hell am i doing wrong

Andrew Benton 11-30-2004 06:07 PM

I don't know, try mozplugger

Paxmaster 11-30-2004 06:29 PM

does any body know how to play xine or mplayer online with mozilla who done it

i don't know wat to do with mozplugger

does anybody know how to install gxine with win32 codec, i could play gxine on line but the problem it require win32 codecs.

slyman 11-30-2004 06:56 PM

What comamnd line for the configure step did you use?

kdekorte 12-04-2004 09:48 AM

First make sure you have gecko-sdk version 1.6 or higher

Then from your example I believe you need to do the following

./configure --with-gecko-sdk=/home/paxmaster/program/mplayer/gecko-sdk/gecko-sdk

You also might want to read this page.

http://mplayerplug-in.sourceforge.net/install.php

Kevin

Paxmaster 12-06-2004 10:54 AM

i believe that the same command i use with ./configure ........


All times are GMT -5. The time now is 08:35 AM.