[MPlayer-users] problems with mplayer 1.0pre4 under Solaris 2.8/gcc

Ziying Sherwin sherwin at nlm.nih.gov
Wed Jun 23 22:13:13 CEST 2004


Dear MPlayer Colleagues,

Enthused by the limited success of a colleague who built mplayer under
Solaris, we tried to build MPlayer 1.0pre4 under our Solaris 2.8
machines using gcc 3.3.

we ran into many problems, summarized below.  If anyone has insights, we'd be
grateful to read them.

1. If we tried to build mplayer without gui interface, the compilation finished
   flawlessly. However, then we tried to install it by using command
      make install
   the script removed all the binaries, started a new build, then installed the
   files. Why does that happen? Also the installed directory does not contain
   any conifguration files, e.g. codecs.conf, input.conf and mplayer.conf. How
   should those files look like?

2. If we tried to build mplayer with gui interface, the compilation failed.
   We have libraries like zlib, libpng, libogg and libvorbis installed under
   directory /depot/package/, symbolic links have been created from each package
   to /depot/lib and /depot/include. Normally, if we need to compile anything
   against those libraries, we set LDFLAGS to include "-L/depot/lib" and CFLAGS
   to include "-I/depot/include". However, if we set those valuables, then
   run the configure command like:

      ./configure \
         --prefix=/depot/package/mplayer_1.0pre3 \
         --enable-gui

   We got  error messages during the compilation: (which I have broken up
   on multiple lines for readability):

      make[1]: Entering directory `/SOURCE/MPlayer-1.0pre4.gui/libavcodec'
      gcc -I../libvo/ -I../../libvo -I/depot/include -D_LARGEFILE_SOURCE
      -D_FILE_OFFSET_BITS=64 -I/depot/package/gtk+_1.2.8/include
      -I/depot/package/glib_1.2.8/lib/glib/include -I/depot/package/glib_1.2.8/include
      -I/usr/openwin/include -DHAVE_AV_CONFIG_H -I.. -D_FILE_OFFSET_BITS=64
      -D_LARGEFILE_SOURCE -D_GNU_SOURCE -c -o jfdctfst.o jfdctfst.c
      jfdctfst.c: In function `row_fdct':
      jfdctfst.c:116: error: `int_fast16_t' undeclared (first use in this function)
      jfdctfst.c:116: error: (Each undeclared identifier is reported only once
      jfdctfst.c:116: error: for each function it appears in.)
      jfdctfst.c:116: error: parse error before "tmp0"
      jfdctfst.c:127: error: `tmp0' undeclared (first use in this function)
      jfdctfst.c:128: error: `tmp7' undeclared (first use in this function)
      jfdctfst.c:129: error: `tmp1' undeclared (first use in this function)
      jfdctfst.c:130: error: `tmp6' undeclared (first use in this function)
      jfdctfst.c:131: error: `tmp2' undeclared (first use in this function)
      jfdctfst.c:132: error: `tmp5' undeclared (first use in this function)
      jfdctfst.c:133: error: `tmp3' undeclared (first use in this function)
      jfdctfst.c:134: error: `tmp4' undeclared (first use in this function)
      jfdctfst.c:138: error: `tmp10' undeclared (first use in this function)
      jfdctfst.c:139: error: `tmp13' undeclared (first use in this function)
      jfdctfst.c:140: error: `tmp11' undeclared (first use in this function)
      jfdctfst.c:141: error: `tmp12' undeclared (first use in this function)
      jfdctfst.c:146: error: `z1' undeclared (first use in this function)
      jfdctfst.c:157: error: `z5' undeclared (first use in this function)
      jfdctfst.c:158: error: `z2' undeclared (first use in this function)
      jfdctfst.c:159: error: `z4' undeclared (first use in this function)
      jfdctfst.c:160: error: `z3' undeclared (first use in this function)
      jfdctfst.c:162: error: `z11' undeclared (first use in this function)
      jfdctfst.c:163: error: `z13' undeclared (first use in this function)
      jfdctfst.c: In function `fdct_ifast':
      jfdctfst.c:181: error: `int_fast16_t' undeclared (first use in this function)
      jfdctfst.c:181: error: parse error before "tmp0"
      jfdctfst.c:194: error: `tmp0' undeclared (first use in this function)
      jfdctfst.c:195: error: `tmp7' undeclared (first use in this function)
      jfdctfst.c:196: error: `tmp1' undeclared (first use in this function)
      jfdctfst.c:197: error: `tmp6' undeclared (first use in this function)
      jfdctfst.c:198: error: `tmp2' undeclared (first use in this function)
      jfdctfst.c:199: error: `tmp5' undeclared (first use in this function)
      jfdctfst.c:200: error: `tmp3' undeclared (first use in this function)
      jfdctfst.c:201: error: `tmp4' undeclared (first use in this function)
      jfdctfst.c:205: error: `tmp10' undeclared (first use in this function)
      jfdctfst.c:206: error: `tmp13' undeclared (first use in this function)
      jfdctfst.c:207: error: `tmp11' undeclared (first use in this function)
      jfdctfst.c:208: error: `tmp12' undeclared (first use in this function)
      jfdctfst.c:213: error: `z1' undeclared (first use in this function)
      jfdctfst.c:224: error: `z5' undeclared (first use in this function)
      jfdctfst.c:225: error: `z2' undeclared (first use in this function)
      jfdctfst.c:226: error: `z4' undeclared (first use in this function)
      jfdctfst.c:227: error: `z3' undeclared (first use in this function)
      jfdctfst.c:229: error: `z11' undeclared (first use in this function)
      jfdctfst.c:230: error: `z13' undeclared (first use in this function)
      jfdctfst.c: In function `fdct_ifast248':
      jfdctfst.c:248: error: `int_fast16_t' undeclared (first use in this function)
      jfdctfst.c:248: error: parse error before "tmp0"
      jfdctfst.c:261: error: `tmp0' undeclared (first use in this function)
      jfdctfst.c:262: error: `tmp1' undeclared (first use in this function)
      jfdctfst.c:263: error: `tmp2' undeclared (first use in this function)
      jfdctfst.c:264: error: `tmp3' undeclared (first use in this function)
      jfdctfst.c:265: error: `tmp4' undeclared (first use in this function)
      jfdctfst.c:266: error: `tmp5' undeclared (first use in this function)
      jfdctfst.c:267: error: `tmp6' undeclared (first use in this function)
      jfdctfst.c:268: error: `tmp7' undeclared (first use in this function)
      jfdctfst.c:272: error: `tmp10' undeclared (first use in this function)
      jfdctfst.c:273: error: `tmp11' undeclared (first use in this function)
      jfdctfst.c:274: error: `tmp12' undeclared (first use in this function)
      jfdctfst.c:275: error: `tmp13' undeclared (first use in this function)
      jfdctfst.c:280: error: `z1' undeclared (first use in this function)
      make[1]: *** [jfdctfst.o] Error 1
      make[1]: Leaving directory `/SOURCE/MPlayer-1.0pre4.gui/libavcodec'
      make: *** [libavcodec/libavcodec.a] Error 2

   We assumed that it might be due to the name collision between header files
   with same name. The ideal solution would be to pass the path to those
   libraries to configure using syntax like
      --with-libpng=<path-to-libpng>
   Since, the configure script does not have this option right now, is there
   any way to set the path? Any which libraries will we need in order to
   compile the GUI interface?

3. When we tried t access the UNIX manual page by type
      man mplayer
   we got the following error message:

      Reformatting page.  Please Wait...nroff: Out of temp file space;
      line 4218, file /depot/man/man1/mplayer.1

    Any ideas what might go wrong?

Mplayer is an impressive piece of work, and it would be lovely to have it
available. Thanks in advance for your time.


Ziying Sherwin
RPC Rodgers





More information about the MPlayer-users mailing list