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

rcooley rcooley at spamcop.net
Thu Jun 24 07:22:58 CEST 2004


On Wed, 23 Jun 2004 16:13:13 -0400 (EDT)
Ziying Sherwin <sherwin at nlm.nih.gov> wrote:

>    We have libraries like zlib, libpng, libogg and libvorbis installed
>    under directory /depot/package/,

[ . . . ]

>    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

Okay, this problem has nothing to do with your includes or libs.  It
looked similar to problems I had getting MPlayer working on ALPHA
hardware.

If you edit the file "libavcodec/jfdctfst.c", you'll see on line 116 and
elsewhere, it initalizes variables with "int_fast16_t".  Since your
processor doesn't have any such function, the variables aren't
initalized, and can't be used.

I don't know what would be the equivalent initilization function on
SPARC, but if you just change all "int_fast16_t" references to "int", it
should compile and run, although it might be slower than it needs to be.

If anyone here codes on SPARC, feel free to chime in.




More information about the MPlayer-users mailing list