[MPlayer-users] MPlayer on HP-UX with 64bit GCC

Roy Keene keene at nrlssc.navy.mil
Thu Jun 19 12:16:27 CEST 2003


Okay, I added lots of printf's around the mplayer source and have found
the line causing the `Bus Error':

(mplayer.c:)
   m_config_register_options(mconfig,mplayer_opts);
GCC also reports a warning for this line:
mplayer.c:753: warning: passing arg 2 of `m_config_register_options' from incompatible pointer type

But it eventually calls
(m_option.h:)
      opt->type->set(opt,dst,src);
(from m_config_register_options() where i=0 and args[i].name="include")

and I'm not sure where it goes past there, but it never returns.


I tried to compile with the configure option --disable-new-conf, and end
up with errors:
cfg-common.h:147: error: `CONF_TYPE_PRINT_INDIRECT' undeclared here (not in a function)
cfg-common.h:147: error: initializer element is not constant
cfg-common.h:147: error: (near initialization for `mplayer_opts[158].type')
cfg-common.h:147: error: initializer element is not constant
cfg-common.h:147: error: (near initialization for `mplayer_opts[158]')
cfg-common.h:149: error: initializer element is not constant
But I eventually got it to compile (with an #ifdef CONF_TYPE_PRINT_INDIRECT  around line 147)

And it seems to work:
Using GNU internationalization
Original domain: messages
Original dirname: /usr/local/share/locale
Current domain: mplayer
Current dirname: /usr/local/share/locale


MPlayer 0.90rc5-3.2 (C) 2000-2003 Arpad Gereoffy (see DOCS)
Reading /usr/local/etc/mplayer/codecs.conf: can't open '/usr/local/etc/mplayer/codecs.conf': No such file or directory
Using built-in default codecs.conf
Usage:   mplayer [options] [url|path/]filename

Basic options: (complete list in the man page)


Thanks,
	Roy Keene, 228-688-5585, Jacobs/Sverdrup Contractor for NRL Code 7321
	Roy.Keene at nrlssc.navy.mil
	(Mandatory footer per Instruction 5239.1A, NRL IS Security Plan)

On Tue, 17 Jun 2003 gabucino at mplayerhq.hu wrote:

> [Automatic answer: RTFM (read DOCS, FAQ), also read DOCS/bugreports.html]
>
>
> Roy Keene wrote:
>> Compiling with `--disable-runtime-cpudetection' did not fix the problem.
> I didn't mean that.
> Try adding printf's into MPlayer initialization to see where it fails :)
>
> --
> Gabucino
> MPlayer Core Team




More information about the MPlayer-users mailing list