I'm trying to compile mplayerplug-in on a sparc solaris 9 box.
Output of config
hilde> ./configure --with-gecko-sdk=/home/hilde/contrib/gecko-sdk --enable-gtk2
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... /usr/local/gcc-3.2.1/bin/gcc
checking whether we are using the GNU C compiler... yes
checking whether /usr/local/gcc-3.2.1/bin/gcc accepts -g... yes
checking for /usr/local/gcc-3.2.1/bin/gcc option to accept ANSI C... none needed
checking for a BSD-compatible install... ./install.sh -c
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for pkg-config... /usr/5bin/pkg-config
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/pango-1.0 -I/usr/openwin/include -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 -lm -lpangox-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0
checking for gtk+-2.0 >= 2.4.0... Requested 'gtk+-2.0 >= 2.4.0' but version of GTK+ is 2.1.0
configure: WARNING: *** Running in X mode - Limited Features ***
checking for gthread-2.0... yes
checking GTHREAD_CFLAGS... -D_REENTRANT -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
checking GTHREAD_LIBS... -lgthread-2.0 -lthread -lglib-2.0
checking how to run the C preprocessor... /usr/local/gcc-3.2.1/bin/gcc -E
checking for X... libraries /usr/openwin/lib, headers /usr/openwin/include
checking whether -R must be followed by a space... no
checking for gethostbyname... no
checking for gethostbyname in -lnsl... yes
checking for connect... no
checking for connect in -lsocket... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking for egrep... egrep
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... no
checking for unistd.h... 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 X11/Xlib.h usability... yes
checking X11/Xlib.h presence... yes
checking for X11/Xlib.h... yes
checking X11/Intrinsic.h usability... yes
checking X11/Intrinsic.h presence... yes
checking for X11/Intrinsic.h... yes
checking X11/StringDefs.h usability... yes
checking X11/StringDefs.h presence... yes
checking for X11/StringDefs.h... 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 for unistd.h... (cached) 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 memmem... no
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... no
configure: creating ./config.status
config.status: creating Makefile
config.status: creating po/Makefile
config.status: creating install.sh
config.status: creating config.h
config.status: config.h is unchanged
Output of make
g++ -c -o plugin.o -Wall -g -O2 -I/usr/openwin/include -g -O2 -DXP_UNIX -DMOZ
_X11 -I/home/hilde/contrib/gecko-sdk -I/home/hilde/contrib/gecko-sdk/xpcom/inclu
de -I/home/hilde/contrib/gecko-sdk/nspr/include -I/home/hilde/contrib/gecko-sdk
/string/include -I/home/hilde/contrib/gecko-sdk/plugin/include -I/home/hilde/co
ntrib/gecko-sdk/java/include -DGECKOSDK_ENABLED -Iinclude -fPIC -DXPCOM_GLUE -DM
OZILLA_STRICT_API -D_REENTRANT -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/incl
ude -DGTK_ENABLED Source/plugin.cpp
In file included from /home/hilde/contrib/gecko-sdk/plugin/include/npapi.h:119,
from include/npplat.h:41,
from include/pluginbase.h:41,
from Source/plugin.h:53,
from Source/plugin.cpp:37:
/usr/openwin/include/X11/Xlib.h:32: warning: ignoring #pragma ident
In file included from /home/hilde/contrib/gecko-sdk/plugin/include/npapi.h:120,
from include/npplat.h:41,
from include/pluginbase.h:41,
from Source/plugin.h:53,
from Source/plugin.cpp:37:
/usr/openwin/include/X11/Xutil.h:56: warning: ignoring #pragma ident
In file included from /usr/openwin/include/X11/Intrinsic.h:58,
from Source/plugin-setup.h:4,
from Source/plugin.h:55,
from Source/plugin.cpp:37:
/usr/openwin/include/X11/Xresource.h:56: warning: ignoring #pragma ident
In file included from Source/plugin.cpp:37:
Source/plugin.h:283: syntax error before `*' token
Source/plugin.h:285: syntax error before `*' token
Source/plugin.h:286: syntax error before `*' token
Source/plugin.h:287: syntax error before `*' token
Source/plugin.h:288: syntax error before `*' token
Source/plugin.h:289: syntax error before `*' token
Source/plugin.h:290: syntax error before `*' token
Source/plugin.h:291: syntax error before `*' token
Source/plugin.h:292: syntax error before `*' token
Source/plugin.h:293: syntax error before `*' token
Source/plugin.h:294: syntax error before `*' token
Source/plugin.h:295: syntax error before `*' token
Source/plugin.h:296: syntax error before `*' token
Source/plugin.h:297: syntax error before `*' token
Source/plugin.cpp: In constructor `nsPluginInstance::nsPluginInstance(NPP_t*)':
Source/plugin.cpp:326: `bind_textdomain_codeset' undeclared (first use this
function)
Source/plugin.cpp:326: (Each undeclared identifier is reported only once for
each function it appears in.)
Source/plugin.cpp: In member function `void nsPluginInstance::shutdown()':
Source/plugin.cpp:458: `g_signal_handler_disconnect' undeclared (first use this
function)
Source/plugin.cpp: In member function `virtual NPError
nsPluginInstance::SetWindow(NPWindow*)':
Source/plugin.cpp:735: `gtk_plug_new' undeclared (first use this function)
Source/plugin.cpp:744: `G_CALLBACK' undeclared (first use this function)
Source/plugin.cpp:744: `g_signal_connect' undeclared (first use this function)
Source/plugin.cpp:760: `gtk_widget_add_events' undeclared (first use this
function)
Source/plugin.cpp:776: `gtk_widget_set_size_request' undeclared (first use this
function)
Source/plugin.cpp:777: `logo' undeclared (first use this function)
Source/plugin.cpp:777: `gdk_pixbuf_new_from_inline' undeclared (first use this
function)
Source/plugin.cpp:778: `gtk_image_new_from_pixbuf' undeclared (first use this
function)
Source/plugin.cpp:798: `gtk_separator_menu_item_new' undeclared (first use this
function)
Source/plugin.cpp:812: `gtk_check_menu_item_set_active' undeclared (first use
this function)
Source/plugin.cpp:847: `G_OBJECT' undeclared (first use this function)
Source/plugin.cpp:850: `g_signal_connect_swapped' undeclared (first use this
function)
Source/plugin.cpp:1010: `gtk_label_set_line_wrap' undeclared (first use this
function)
Source/plugin.cpp:1011: `gtk_socket_new' undeclared (first use this function)
Source/plugin.cpp:1035: `gdk_colormap_alloc_color' undeclared (first use this
function)
Source/plugin.cpp:1041: `gtk_widget_modify_bg' undeclared (first use this
function)
Source/plugin.cpp:1045: `gtk_widget_modify_fg' undeclared (first use this
function)
Source/plugin.cpp: In member function `virtual NPError
nsPluginInstance::DestroyStream(NPStream*, short int)':
Source/plugin.cpp:1383: `gtk_label_set_text' undeclared (first use this
function)
Source/plugin.cpp: In member function `void
nsPluginInstance::SetFullscreen(int)':
Source/plugin.cpp:2440: `GdkScreen' undeclared (first use this function)
Source/plugin.cpp:2440: `screen' undeclared (first use this function)
Source/plugin.cpp:2495: `gtk_window_get_screen' undeclared (first use this
function)
Source/plugin.cpp:2498: `gdk_screen_get_monitor_at_window' undeclared (first
use this function)
Source/plugin.cpp:2499: `gdk_screen_get_monitor_geometry' undeclared (first use
this function)
Source/plugin.cpp:2501: `gtk_window_get_size' undeclared (first use this
function)
Source/plugin.cpp:2512: `gtk_window_resize' undeclared (first use this
function)
Source/plugin.cpp:2559: `gtk_window_unfullscreen' undeclared (first use this
function)
Source/plugin.cpp:2572: `gtk_window_move' undeclared (first use this function)
Source/plugin.cpp:2725: `gtk_window_set_screen' undeclared (first use this
function)
Source/plugin.cpp:2738: `gdk_window_get_root_origin' undeclared (first use this
function)
Source/plugin.cpp:2742: `gtk_window_fullscreen' undeclared (first use this
function)
*** Error code 1
make: Fatal error: Command failed for target `plugin.o'
Help would be greatly appreciated
Jeff
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
PKG_CHECK_MODULES(GTK,[gtk+-2.0 >= 2.4.0],[GTK_DEFINES="-DGTK_ENABLED" AC_DEFINE([GTK24_ENABLED],[1],[Define to 1 if you have GTK2])],[AC_MSG_WARN([*** Running in X mode - Limited Features ***])])
I believe it is at line 87. Then run aclocal and then autoconf and then rerun configure and then make and see if that helps.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
hilde> ./configure --with-gecko-sdk=/home/hilde/contrib/gecko-sdk --enable-gtk2
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... /usr/local/gcc-3.2.1/bin/gcc
checking whether we are using the GNU C compiler... yes
checking whether /usr/local/gcc-3.2.1/bin/gcc accepts -g... yes
checking for /usr/local/gcc-3.2.1/bin/gcc option to accept ANSI C... none needed
checking for a BSD-compatible install... ./install.sh -c
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for pkg-config... /usr/5bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for GTK... yes
checking for GTK24... Requested 'gtk+-2.0 >= 2.4.0' but version of GTK+ is 2.1.0
configure: WARNING: Some GUI Features are disabled
checking for GTHREAD... yes
checking how to run the C preprocessor... /usr/local/gcc-3.2.1/bin/gcc -E
checking for X... libraries /usr/openwin/lib, headers /usr/openwin/include
checking whether -R must be followed by a space... no
checking for gethostbyname... no
checking for gethostbyname in -lnsl... yes
checking for connect... no
checking for connect in -lsocket... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking for egrep... egrep
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... no
checking for unistd.h... 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 X11/Xlib.h usability... yes
checking X11/Xlib.h presence... yes
checking for X11/Xlib.h... yes
checking X11/Intrinsic.h usability... yes
checking X11/Intrinsic.h presence... yes
checking for X11/Intrinsic.h... yes
checking X11/StringDefs.h usability... yes
checking X11/StringDefs.h presence... yes
checking for X11/StringDefs.h... 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 for unistd.h... (cached) 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... no
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 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... no
configure: creating ./config.status
config.status: creating Makefile
config.status: creating po/Makefile
config.status: creating install.sh
config.status: creating config.h
config.status: config.h is unchanged
hilde>
hilde>
hilde> make
g++ -c -o plugin.o -Wall -g -O2 -I/usr/openwin/include -g -O2 -DXP_UNIX -DMOZ_X11 -I/home/hilde/contrib/gecko-sdk -I/home/hilde/contrib/gecko-sdk/xpcom/include -I/home/hilde/contrib/gecko-sdk/nspr/include -I/home/hilde/contrib/gecko-sdk/string/include -I/home/hilde/contrib/gecko-sdk/plugin/include -I/home/hilde/contrib/gecko-sdk/java/include -DGECKOSDK_ENABLED -Iinclude -fPIC -DXPCOM_GLUE -DMOZILLA_STRICT_API -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/openwin/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -D_REENTRANT -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DGTK_ENABLED Source/plugin.cpp
In file included from /home/hilde/contrib/gecko-sdk/plugin/include/npapi.h:119,
from include/npplat.h:41,
from include/pluginbase.h:41,
from Source/plugin.h:53,
from Source/plugin.cpp:37:
/usr/openwin/include/X11/Xlib.h:32: warning: ignoring #pragma ident
In file included from /home/hilde/contrib/gecko-sdk/plugin/include/npapi.h:120,
from include/npplat.h:41,
from include/pluginbase.h:41,
from Source/plugin.h:53,
from Source/plugin.cpp:37:
/usr/openwin/include/X11/Xutil.h:56: warning: ignoring #pragma ident
In file included from /usr/openwin/include/X11/Intrinsic.h:58,
from Source/plugin-setup.h:4,
from Source/plugin.h:55,
from Source/plugin.cpp:37:
/usr/openwin/include/X11/Xresource.h:56: warning: ignoring #pragma ident
Source/plugin.cpp: In constructor `nsPluginInstance::nsPluginInstance(NPP_t*)':
Source/plugin.cpp:328: `bind_textdomain_codeset' undeclared (first use this
function)
Source/plugin.cpp:328: (Each undeclared identifier is reported only once for
each function it appears in.)
*** Error code 1
make: Fatal error: Command failed for target `plugin.o'
hilde>
The path to the gecko-sdk is an auto mount path.
Jeff
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Finally getting back to this. Got it compiled and installed in firefox 1.5.0.4. Had to recompile with gtk1. But, when I open an avi file thru the file pulldown it is not played. I get the Mplayer "logo" stuff and a line line "play /home/hilde/....avi.
Any ideas..
Jeff
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Still no luck. That did seen to get rid of a mozilla toolkit warning message. Also, the nosound option just seens to be a huge delay (3,4 minutes) but not a stoppped. Any more suggestions will be greatly appreciated.
Jeff
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
After I hit ok on the Open file dialog box I get the following message in the window I started firefox from.
Unknown Mozilla toolkit (29816840), assuming toolkit is GTK1
This may cause Mozilla to crash. If it crashes recompile mplayerplug-in with a different toolkit
Also,
I get the following messages under the mplayerplugin-in logo.
Download complete.
Playing /home/hilde/fmsample.avi.
Jeff
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
hilde> firefox
Unknown Mozilla toolkit (23981080), assuming toolkit is GTK1
This may cause Mozilla to crash. If it crashes recompile mplayerplug-in with a different toolkit.
mimetype: video/x-msvideo
New, full mode 2
New window! old: 0x0 new 0x104857601
Size: 0 0 6400001
Size: 994x824
resizing widgets to 994 x 824
back in SetWindow
New Size: 994x824
resizing widgets to 994 x 824
resizing widgets to 994 x 824
exiting URL base with file:///home/hilde/
using url for url
url file:///home/hilde/fmsample.avi
buffer /home/hilde/fmsample.avi
ready to setup threads
creating thread - NP_EMBED
creating player thread
In launchPlayerThread, state = 110
launchPlayerThread - creating new thread
MAIN THREAD DONE
----player thread: in playPlaylist
----player thread: about to go to sleep, js_state = 6, state = 110
WR tempname: /tmp/mplayAAAcqaWlC
exiting URL base with /home/hilde/
signalling player from write
Signalling Player thread, state = 112, js_state = 6
Destroy stream found a URL match
/home/hilde/fmsample.avi
file:///home/hilde/fmsample.avi
checking to see if we need to make a button
n->url=/home/hilde/fmsample.avi
url=file:///home/hilde/fmsample.avi
href=(NULL)
calling buildPlaylist with filename /tmp/mplayAAAcqaWlC
Scanning for speed
low = 0, med = 0, high = 0
playlist adjustment complete
---player thread: got wakeup signal, js_state = 6, state = 115
----player thread: playPlayList - waiting complete
----player thread: building command string
PLAY 0:mplayer
PLAY 0:-wid
PLAY 0:0x4c00488
PLAY 0:-vo
PLAY 0:x11
PLAY 0:-zoom
PLAY 0:-ao
PLAY 0:null
PLAY 0:-osdlevel
PLAY 0:0
PLAY 0:-nojoystick
PLAY 0:-noconsolecontrols
PLAY 0:-cookies
PLAY 0:-slave
----player thread:
local_list = 1c7cfd0
PL URL: /home/hilde/fmsample.avi
play = 1, cancelled= 0
next= 0
----player thread: entering loop
----player thread: looking for node to play
----player thread: chose url /home/hilde/fmsample.avi
----player thread: playing url: /home/hilde/fmsample.avi
----player thread: URL: /home/hilde/fmsample.avi
Starting: mplayer -wid 0x4c00488 -vo x11 -zoom -ao null -osdlevel 0 -nojoystick -noconsolecontrols -cookies -slave -user-agent NSPlayer -nomouseinput -nocache
/tmp/mplayAAAcqaWlC
Getting file mode flags
READ:
ddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd
It sat about 5 minutes with no more output. When I did a File -> Exit I got the following output.
shut called
shutdown called
*****sendCommand Truncated*****
READ: ddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd
Trying to kill mplayer process(14432), if it still exists
waiting for player to go NULL
waiting for player to go NULL
waiting for player to go NULL
waiting for player to go NULL
waiting for player to go NULL
waiting for player to go NULL
waiting for player to go NULL
waiting for player to go NULL
waiting for player to go NULL
waiting for player to go NULL
kill(15) status = -1
mplayer dead
Window Cleaned up
Entering deleteList
DELETE /home/hilde/fmsample.avi
File to delete /tmp/mplayAAAcqaWlC
size: 1360180
remove: 1
play: 1
playlist: 0
speed: -1
cancelled: 0
retrieved: 1
mms stream: 0
cache bytes: 524288
Actual Size: 0x0
Play Size: 0x0
fname: /tmp/mplayAAAcqaWlC deleted
memory free
~nsPluginInstance called
Jeff
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Well that is totally wrong for the output... the d's obviously should not be there... So I am not sure what is going on there. I know it does work on my Solaris box.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I'm trying to compile mplayerplug-in on a sparc solaris 9 box.
Output of config
hilde> ./configure --with-gecko-sdk=/home/hilde/contrib/gecko-sdk --enable-gtk2
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... /usr/local/gcc-3.2.1/bin/gcc
checking whether we are using the GNU C compiler... yes
checking whether /usr/local/gcc-3.2.1/bin/gcc accepts -g... yes
checking for /usr/local/gcc-3.2.1/bin/gcc option to accept ANSI C... none needed
checking for a BSD-compatible install... ./install.sh -c
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for pkg-config... /usr/5bin/pkg-config
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/pango-1.0 -I/usr/openwin/include -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 -lm -lpangox-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0
checking for gtk+-2.0 >= 2.4.0... Requested 'gtk+-2.0 >= 2.4.0' but version of GTK+ is 2.1.0
configure: WARNING: *** Running in X mode - Limited Features ***
checking for gthread-2.0... yes
checking GTHREAD_CFLAGS... -D_REENTRANT -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
checking GTHREAD_LIBS... -lgthread-2.0 -lthread -lglib-2.0
checking how to run the C preprocessor... /usr/local/gcc-3.2.1/bin/gcc -E
checking for X... libraries /usr/openwin/lib, headers /usr/openwin/include
checking whether -R must be followed by a space... no
checking for gethostbyname... no
checking for gethostbyname in -lnsl... yes
checking for connect... no
checking for connect in -lsocket... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking for egrep... egrep
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... no
checking for unistd.h... 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 X11/Xlib.h usability... yes
checking X11/Xlib.h presence... yes
checking for X11/Xlib.h... yes
checking X11/Intrinsic.h usability... yes
checking X11/Intrinsic.h presence... yes
checking for X11/Intrinsic.h... yes
checking X11/StringDefs.h usability... yes
checking X11/StringDefs.h presence... yes
checking for X11/StringDefs.h... 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 for unistd.h... (cached) 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 memmem... no
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... no
configure: creating ./config.status
config.status: creating Makefile
config.status: creating po/Makefile
config.status: creating install.sh
config.status: creating config.h
config.status: config.h is unchanged
Output of make
g++ -c -o plugin.o -Wall -g -O2 -I/usr/openwin/include -g -O2 -DXP_UNIX -DMOZ
_X11 -I/home/hilde/contrib/gecko-sdk -I/home/hilde/contrib/gecko-sdk/xpcom/inclu
de -I/home/hilde/contrib/gecko-sdk/nspr/include -I/home/hilde/contrib/gecko-sdk
/string/include -I/home/hilde/contrib/gecko-sdk/plugin/include -I/home/hilde/co
ntrib/gecko-sdk/java/include -DGECKOSDK_ENABLED -Iinclude -fPIC -DXPCOM_GLUE -DM
OZILLA_STRICT_API -D_REENTRANT -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/incl
ude -DGTK_ENABLED Source/plugin.cpp
In file included from /home/hilde/contrib/gecko-sdk/plugin/include/npapi.h:119,
from include/npplat.h:41,
from include/pluginbase.h:41,
from Source/plugin.h:53,
from Source/plugin.cpp:37:
/usr/openwin/include/X11/Xlib.h:32: warning: ignoring #pragma ident
In file included from /home/hilde/contrib/gecko-sdk/plugin/include/npapi.h:120,
from include/npplat.h:41,
from include/pluginbase.h:41,
from Source/plugin.h:53,
from Source/plugin.cpp:37:
/usr/openwin/include/X11/Xutil.h:56: warning: ignoring #pragma ident
In file included from /usr/openwin/include/X11/Intrinsic.h:58,
from Source/plugin-setup.h:4,
from Source/plugin.h:55,
from Source/plugin.cpp:37:
/usr/openwin/include/X11/Xresource.h:56: warning: ignoring #pragma ident
In file included from Source/plugin.cpp:37:
Source/plugin.h:283: syntax error before `*' token
Source/plugin.h:285: syntax error before `*' token
Source/plugin.h:286: syntax error before `*' token
Source/plugin.h:287: syntax error before `*' token
Source/plugin.h:288: syntax error before `*' token
Source/plugin.h:289: syntax error before `*' token
Source/plugin.h:290: syntax error before `*' token
Source/plugin.h:291: syntax error before `*' token
Source/plugin.h:292: syntax error before `*' token
Source/plugin.h:293: syntax error before `*' token
Source/plugin.h:294: syntax error before `*' token
Source/plugin.h:295: syntax error before `*' token
Source/plugin.h:296: syntax error before `*' token
Source/plugin.h:297: syntax error before `*' token
Source/plugin.cpp: In constructor `nsPluginInstance::nsPluginInstance(NPP_t*)':
Source/plugin.cpp:326: `bind_textdomain_codeset' undeclared (first use this
function)
Source/plugin.cpp:326: (Each undeclared identifier is reported only once for
each function it appears in.)
Source/plugin.cpp: In member function `void nsPluginInstance::shutdown()':
Source/plugin.cpp:458: `g_signal_handler_disconnect' undeclared (first use this
function)
Source/plugin.cpp: In member function `virtual NPError
nsPluginInstance::SetWindow(NPWindow*)':
Source/plugin.cpp:735: `gtk_plug_new' undeclared (first use this function)
Source/plugin.cpp:744: `G_CALLBACK' undeclared (first use this function)
Source/plugin.cpp:744: `g_signal_connect' undeclared (first use this function)
Source/plugin.cpp:760: `gtk_widget_add_events' undeclared (first use this
function)
Source/plugin.cpp:776: `gtk_widget_set_size_request' undeclared (first use this
function)
Source/plugin.cpp:777: `logo' undeclared (first use this function)
Source/plugin.cpp:777: `gdk_pixbuf_new_from_inline' undeclared (first use this
function)
Source/plugin.cpp:778: `gtk_image_new_from_pixbuf' undeclared (first use this
function)
Source/plugin.cpp:798: `gtk_separator_menu_item_new' undeclared (first use this
function)
Source/plugin.cpp:812: `gtk_check_menu_item_set_active' undeclared (first use
this function)
Source/plugin.cpp:847: `G_OBJECT' undeclared (first use this function)
Source/plugin.cpp:850: `g_signal_connect_swapped' undeclared (first use this
function)
Source/plugin.cpp:1010: `gtk_label_set_line_wrap' undeclared (first use this
function)
Source/plugin.cpp:1011: `gtk_socket_new' undeclared (first use this function)
Source/plugin.cpp:1035: `gdk_colormap_alloc_color' undeclared (first use this
function)
Source/plugin.cpp:1041: `gtk_widget_modify_bg' undeclared (first use this
function)
Source/plugin.cpp:1045: `gtk_widget_modify_fg' undeclared (first use this
function)
Source/plugin.cpp: In member function `virtual NPError
nsPluginInstance::DestroyStream(NPStream*, short int)':
Source/plugin.cpp:1383: `gtk_label_set_text' undeclared (first use this
function)
Source/plugin.cpp: In member function `void
nsPluginInstance::SetFullscreen(int)':
Source/plugin.cpp:2440: `GdkScreen' undeclared (first use this function)
Source/plugin.cpp:2440: `screen' undeclared (first use this function)
Source/plugin.cpp:2495: `gtk_window_get_screen' undeclared (first use this
function)
Source/plugin.cpp:2498: `gdk_screen_get_monitor_at_window' undeclared (first
use this function)
Source/plugin.cpp:2499: `gdk_screen_get_monitor_geometry' undeclared (first use
this function)
Source/plugin.cpp:2501: `gtk_window_get_size' undeclared (first use this
function)
Source/plugin.cpp:2512: `gtk_window_resize' undeclared (first use this
function)
Source/plugin.cpp:2559: `gtk_window_unfullscreen' undeclared (first use this
function)
Source/plugin.cpp:2572: `gtk_window_move' undeclared (first use this function)
Source/plugin.cpp:2725: `gtk_window_set_screen' undeclared (first use this
function)
Source/plugin.cpp:2738: `gdk_window_get_root_origin' undeclared (first use this
function)
Source/plugin.cpp:2742: `gtk_window_fullscreen' undeclared (first use this
function)
*** Error code 1
make: Fatal error: Command failed for target `plugin.o'
Help would be greatly appreciated
Jeff
In configure.in try removing this line
PKG_CHECK_MODULES(GTK,[gtk+-2.0 >= 2.4.0],[GTK_DEFINES="-DGTK_ENABLED" AC_DEFINE([GTK24_ENABLED],[1],[Define to 1 if you have GTK2])],[AC_MSG_WARN([*** Running in X mode - Limited Features ***])])
I believe it is at line 87. Then run aclocal and then autoconf and then rerun configure and then make and see if that helps.
I guess you could try downloading a binary from here as well..
http://www.solaris4you.dk/pluginsSS.html
I would prefer to download a binary but don't see any at that site, only source and linux binarys. Actually thats where I got the source.
Removing that line line from the configure.in file made no difference (line 88 close). I did not run aclocal or autoconfig. I don't have a "aclocal".
Any more help would be great.
Thanks,
Jeff
Ok, I did some testing on my Solaris 9 box (I have a screaming Ultra 1).
I am in the process of debugging and fixing some of the errors in the code. The errors mostly seem to be related to config options and include files.
Ok, I have it working on my Solaris box, so download the daily source code and give it a try.
If it fails make sure you use the full path to the gecko-sdk (which it looks like you did) and post the output of configure.
hilde> ./configure --with-gecko-sdk=/home/hilde/contrib/gecko-sdk --enable-gtk2
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... /usr/local/gcc-3.2.1/bin/gcc
checking whether we are using the GNU C compiler... yes
checking whether /usr/local/gcc-3.2.1/bin/gcc accepts -g... yes
checking for /usr/local/gcc-3.2.1/bin/gcc option to accept ANSI C... none needed
checking for a BSD-compatible install... ./install.sh -c
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for pkg-config... /usr/5bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for GTK... yes
checking for GTK24... Requested 'gtk+-2.0 >= 2.4.0' but version of GTK+ is 2.1.0
configure: WARNING: Some GUI Features are disabled
checking for GTHREAD... yes
checking how to run the C preprocessor... /usr/local/gcc-3.2.1/bin/gcc -E
checking for X... libraries /usr/openwin/lib, headers /usr/openwin/include
checking whether -R must be followed by a space... no
checking for gethostbyname... no
checking for gethostbyname in -lnsl... yes
checking for connect... no
checking for connect in -lsocket... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking for egrep... egrep
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... no
checking for unistd.h... 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 X11/Xlib.h usability... yes
checking X11/Xlib.h presence... yes
checking for X11/Xlib.h... yes
checking X11/Intrinsic.h usability... yes
checking X11/Intrinsic.h presence... yes
checking for X11/Intrinsic.h... yes
checking X11/StringDefs.h usability... yes
checking X11/StringDefs.h presence... yes
checking for X11/StringDefs.h... 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 for unistd.h... (cached) 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... no
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 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... no
configure: creating ./config.status
config.status: creating Makefile
config.status: creating po/Makefile
config.status: creating install.sh
config.status: creating config.h
config.status: config.h is unchanged
hilde>
hilde>
hilde> make
g++ -c -o plugin.o -Wall -g -O2 -I/usr/openwin/include -g -O2 -DXP_UNIX -DMOZ_X11 -I/home/hilde/contrib/gecko-sdk -I/home/hilde/contrib/gecko-sdk/xpcom/include -I/home/hilde/contrib/gecko-sdk/nspr/include -I/home/hilde/contrib/gecko-sdk/string/include -I/home/hilde/contrib/gecko-sdk/plugin/include -I/home/hilde/contrib/gecko-sdk/java/include -DGECKOSDK_ENABLED -Iinclude -fPIC -DXPCOM_GLUE -DMOZILLA_STRICT_API -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/openwin/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -D_REENTRANT -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DGTK_ENABLED Source/plugin.cpp
In file included from /home/hilde/contrib/gecko-sdk/plugin/include/npapi.h:119,
from include/npplat.h:41,
from include/pluginbase.h:41,
from Source/plugin.h:53,
from Source/plugin.cpp:37:
/usr/openwin/include/X11/Xlib.h:32: warning: ignoring #pragma ident
In file included from /home/hilde/contrib/gecko-sdk/plugin/include/npapi.h:120,
from include/npplat.h:41,
from include/pluginbase.h:41,
from Source/plugin.h:53,
from Source/plugin.cpp:37:
/usr/openwin/include/X11/Xutil.h:56: warning: ignoring #pragma ident
In file included from /usr/openwin/include/X11/Intrinsic.h:58,
from Source/plugin-setup.h:4,
from Source/plugin.h:55,
from Source/plugin.cpp:37:
/usr/openwin/include/X11/Xresource.h:56: warning: ignoring #pragma ident
Source/plugin.cpp: In constructor `nsPluginInstance::nsPluginInstance(NPP_t*)':
Source/plugin.cpp:328: `bind_textdomain_codeset' undeclared (first use this
function)
Source/plugin.cpp:328: (Each undeclared identifier is reported only once for
each function it appears in.)
*** Error code 1
make: Fatal error: Command failed for target `plugin.o'
hilde>
The path to the gecko-sdk is an auto mount path.
Jeff
Just comment out that line, it appears something is wrong with your gettext support. This works fine on my Solaris box
Kevin,
Here's the latest... Just the last few lines of the make...
/usr/openwin/include/X11/Xresource.h:56: warning: ignoring #pragma ident
g++ -shared -o mplayerplug-in-dvx.so plugin.o nsScriptablePeer.o npp_gate.o np_entry.o npn_gate.o plugin-support.o plugin-setup-dvx.o plugin-list.o plugin-ui.o plugin-threads.o strlcpy.o strlcat.o memmem.o -Wall -g -O2 -I/usr/openwin/include -g -O2 -DXP_UNIX -DMOZ_X11 -I/home/hilde/contrib/gecko-sdk -I/home/hilde/contrib/gecko-sdk/xpcom/include -I/home/hilde/contrib/gecko-sdk/nspr/include -I/home/hilde/contrib/gecko-sdk/string/include -I/home/hilde/contrib/gecko-sdk/plugin/include -I/home/hilde/contrib/gecko-sdk/java/include -DGECKOSDK_ENABLED -Iinclude -fPIC -DXPCOM_GLUE -DMOZILLA_STRICT_API -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/openwin/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -D_REENTRANT -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DGTK_ENABLED -L/usr/openwin/lib -R/usr/openwin/lib -lX11 -lsocket -lnsl -lSM -lICE -lXpm -lXt -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangox-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 -lgthread-2.0 -lthread -lglib-2.0
cp Source/nsIScriptableMplayerPlugin.xpt mplayerplug-in-dvx.xpt
make -C po
Usage : make [ -f makefile ][ -K statefile ]... [ -d ][ -dd ][ -D ][ -DD ]
[ -e ][ -i ][ -k ][ -n ][ -p ][ -P ][ -q ][ -r ][ -s ][ -S ][ -t ]
[ -u ][ -w ][ -V ][ target... ][ macro=value... ][ "macro +=value"... ]
make: Fatal error: Unknown option `-C'
*** Error code 1
make: Fatal error: Command failed for target `languages'
hilde> which make
/usr/ccs/bin/make
hilde> make
make: Fatal error in reader: Makefile, line 143: Unexpected end of line seen
Looks like the /usr/ccs/bin/make doesn't support the -C option.
I just removed the -C from the line. And cd into the po directory and did a make. All seems fine.
Thanks again.
I figured you would hit that... not critical at this point as that is for building the languages...
I don't think I'll fix that problem as it is not a critical issue.
Kevin,
Finally getting back to this. Got it compiled and installed in firefox 1.5.0.4. Had to recompile with gtk1. But, when I open an avi file thru the file pulldown it is not played. I get the Mplayer "logo" stuff and a line line "play /home/hilde/....avi.
Any ideas..
Jeff
Is mplayer in your path and have you selected the mplayer vo of x11?
Mplayer is in my path. I don't understand vo of X11??
Jeff
To set the vo to x11 try this...
echo "vo=x11" >> ~/.mplayer/mplayerplug-in.conf
Kevin,
More info. I can run the avi file using the the mplayer in my path "BUT" need to us the -nosound option. Could this be screwing me up somehow.
Jeff
I missed that you needed to use the nosound option so you need to set that in mplayer
echo "nosound=yes" >> ~/.mplayer/config
Still no luck. That did seen to get rid of a mozilla toolkit warning message. Also, the nosound option just seens to be a huge delay (3,4 minutes) but not a stoppped. Any more suggestions will be greatly appreciated.
Jeff
Nosound worked for mplayer but not for the plugin??
Maybe try this
echo "ao=null" >> ~/.mplayer/mplayerplug-in.conf
I think it is rather odd that you need to use nosound
or you can edit the ~/.mplayer/mplayerplug-in.conf file and delete the line that starts with ao
Kevin,
After I hit ok on the Open file dialog box I get the following message in the window I started firefox from.
Unknown Mozilla toolkit (29816840), assuming toolkit is GTK1
This may cause Mozilla to crash. If it crashes recompile mplayerplug-in with a different toolkit
Also,
I get the following messages under the mplayerplugin-in logo.
Download complete.
Playing /home/hilde/fmsample.avi.
Jeff
Please provide the complete output of the terminal window after setting debug in the config file
echo "debug=1" >> ~/.mplayer/mplayerplug-in.conf
hilde> firefox
Unknown Mozilla toolkit (23981080), assuming toolkit is GTK1
This may cause Mozilla to crash. If it crashes recompile mplayerplug-in with a different toolkit.
mimetype: video/x-msvideo
New, full mode 2
New window! old: 0x0 new 0x104857601
Size: 0 0 6400001
Size: 994x824
resizing widgets to 994 x 824
back in SetWindow
New Size: 994x824
resizing widgets to 994 x 824
resizing widgets to 994 x 824
exiting URL base with file:///home/hilde/
using url for url
url file:///home/hilde/fmsample.avi
buffer /home/hilde/fmsample.avi
ready to setup threads
creating thread - NP_EMBED
creating player thread
In launchPlayerThread, state = 110
launchPlayerThread - creating new thread
MAIN THREAD DONE
----player thread: in playPlaylist
----player thread: about to go to sleep, js_state = 6, state = 110
WR tempname: /tmp/mplayAAAcqaWlC
exiting URL base with /home/hilde/
signalling player from write
Signalling Player thread, state = 112, js_state = 6
Destroy stream found a URL match
/home/hilde/fmsample.avi
file:///home/hilde/fmsample.avi
checking to see if we need to make a button
n->url=/home/hilde/fmsample.avi
url=file:///home/hilde/fmsample.avi
href=(NULL)
calling buildPlaylist with filename /tmp/mplayAAAcqaWlC
Scanning for speed
low = 0, med = 0, high = 0
playlist adjustment complete
---player thread: got wakeup signal, js_state = 6, state = 115
----player thread: playPlayList - waiting complete
----player thread: building command string
PLAY 0:mplayer
PLAY 0:-wid
PLAY 0:0x4c00488
PLAY 0:-vo
PLAY 0:x11
PLAY 0:-zoom
PLAY 0:-ao
PLAY 0:null
PLAY 0:-osdlevel
PLAY 0:0
PLAY 0:-nojoystick
PLAY 0:-noconsolecontrols
PLAY 0:-cookies
PLAY 0:-slave
----player thread:
local_list = 1c7cfd0
PL URL: /home/hilde/fmsample.avi
play = 1, cancelled= 0
next= 0
----player thread: entering loop
----player thread: looking for node to play
----player thread: chose url /home/hilde/fmsample.avi
----player thread: playing url: /home/hilde/fmsample.avi
----player thread: URL: /home/hilde/fmsample.avi
Starting: mplayer -wid 0x4c00488 -vo x11 -zoom -ao null -osdlevel 0 -nojoystick -noconsolecontrols -cookies -slave -user-agent NSPlayer -nomouseinput -nocache
/tmp/mplayAAAcqaWlC
Getting file mode flags
READ:
ddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd
It sat about 5 minutes with no more output. When I did a File -> Exit I got the following output.
shut called
shutdown called
*****sendCommand Truncated*****
READ: ddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd
Trying to kill mplayer process(14432), if it still exists
waiting for player to go NULL
waiting for player to go NULL
waiting for player to go NULL
waiting for player to go NULL
waiting for player to go NULL
waiting for player to go NULL
waiting for player to go NULL
waiting for player to go NULL
waiting for player to go NULL
waiting for player to go NULL
kill(15) status = -1
mplayer dead
Window Cleaned up
Entering deleteList
DELETE /home/hilde/fmsample.avi
File to delete /tmp/mplayAAAcqaWlC
size: 1360180
remove: 1
play: 1
playlist: 0
speed: -1
cancelled: 0
retrieved: 1
mms stream: 0
cache bytes: 524288
Actual Size: 0x0
Play Size: 0x0
fname: /tmp/mplayAAAcqaWlC deleted
memory free
~nsPluginInstance called
Jeff
Well that is totally wrong for the output... the d's obviously should not be there... So I am not sure what is going on there. I know it does work on my Solaris box.
Any suggestions at all... New gcc, any more debug??
Any channce of getting your compiled version???
Jeff