[MPlayer-dev-eng] Unresolved symbol: finite

Martin Gansser mgansser at ngi.de
Sun Sep 8 13:00:54 CEST 2002


Hi,

I`'am tried to play a mpeg file with opengl, but this fails.
My system is hpux 11.00; gcc-3.2
Sorry if i am not in the correct maillinglist.

prounix_root:/opt/MPlayer/bin # ./mplayer -vo gl /tmp/titanic.mpeg

MPlayer 0.90pre7-3.2 (C) 2000-2002 Arpad Gereoffy (see DOCS!)

Reading //.mplayer/codecs.conf: can't open '//.mplayer/codecs.conf': No such
file or directory
Reading /opt/MPlayer/etc/mplayer/codecs.conf: 38 audio & 107 video codecs
font: can't open file: //.mplayer/font/font.desc
font: can't open file: /opt/MPlayer/share/mplayer/font/font.desc
Using usleep() timing
Can't open input config file //.mplayer/input.conf : No such file or
directory
Can't open input config file /opt/MPlayer/etc/mplayer/input.conf : No such
file or directory
Falling back on default (hardcoded) input config

Playing /tmp/titanic.mpeg
Detected MPEG-PS file format!
VIDEO:  MPEG1  320x176  (aspect 1)  24.00 fps  1250.0 kbps (156.2 kbyte/s)
==========================================================================
Detected audio codec: [mp3] afm:mp3lib (mp3lib MPEG layer-2, layer-3)
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
AUDIO: 44100 Hz, 2 ch, sfmt: 0x20 (2 bps), ratio: 24000->176400 (192.0 kbit)
==========================================================================
Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
VDec: vo config request - 320 x 176 (preferred csp: Mpeg PES)
Couldn't find matching colorspace - retrying with -vop scale...
Opening video filter: [scale]
Sorry, selected video_out device is incompatible with this codec.
VDecoder init failed :(
Opening video decoder: [libmpeg2] MPEG 1/2 Video decoder v2.0
libmpeg2: No accelerated IDCT transform found
libmpeg2: No accelerated motion compensation found
VDec: vo config request - 320 x 176 (preferred csp: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is undefined - no prescaling applied.
VO: [gl] 320x176 => 320x176 Planar YV12
vo: X11 running at 1280x1024 with depth 24 and 32 bpp (":0" => local
display)
No accelerated colorspace conversion found
[gl] YUV init OK!
[gl] Creating 512x512 texture...
[gl] Resize: 320x188
Detected video codec: [mpeg12] vfm:libmpeg2 (MPEG 1 or 2)
==========================================================================
AO: [null] 44100Hz 2ch Signed 16-bit (Big-Endian)
Start playing...
A:   0.3 V:   0.4 A-V: -0.092 ct:  0.000    1/  1   0%  0%  0.0% 0 0 0%
/usr/lib/dld.sl: Unresolved symbol: finite (code)  from
/usr/local/lib/gcc-lib/hppa2.0n-hp-hpux11.00/3.2/../../../libGL.sl

MPlayer interrupted by signal 6 in module: flip_page
- MPlayer crashed. This shouldn't happen. It can be a bug in the MPlayer
code _or_ in your drivers _or_ in your gcc version. If you think it's
MPlayer's fault, please read DOCS/bugreports.html and follow instructions
there. We can't and won't help unless you provide these informations when
reporting a possible bug.

this is the man page of finite, I don't know if it has something to do with
this problem:
# man finite

isfinite(3M) isfinite(3M)

NAME
    isfinite() - floating-point finiteness macro

SYNOPSIS
    #include <math.h>

    int isfinite(floating-type x);

DESCRIPTION
The isfinite() macro determines whether its argument has a finite
value (zero, denormalized, or normalized, and not infinite or NaN).
The macro can be used with either double or float arguments.

The ISO/ANSI C committee has approved the isfinite() macro for
inclusion in the C9X draft standard. The isfinite() macro implements
the finite() function recommended by the IEEE-754 standard for
floating-point arithmetic.

To use the isfinite() macro, compile either with the default -Ae
option or with the -Aa and -D_HPUX_SOURCE options. Make sure your
program includes <math.h>. Link in the math library by specifying -lm
on the compiler or linker command line.

RETURN VALUE
The isfinite() macro returns a nonzero value if and only if its
argument has a finite value.

ERRORS
No errors are defined.

EXAMPLE
                Make sure a value is finite before continuing operations on
it:

                #include <math.h>
                /*...*/
                    float x;
                    /*...*/
                    if (isfinite(x))
                        /*...*/

SEE ALSO
    fpclassify(3M), isinf(3M), isnan(3M), isnormal(3M), signbit(3M),
    math(5).

Hewlett-Packard Company - 1 - HP-UX Release 11.00: October 1997

I hope someone can help me.

thanks Martin





More information about the MPlayer-dev-eng mailing list