[MPlayer-users] CVS version fails to compile on Solaris 10/Opteron
mslama at email.cz
mslama at email.cz
Tue Jan 17 20:16:51 CET 2006
I tried to compile latest CVS checkout on Solaris 10/Opteron machine. (Minimum version with freetype, lame.) I compiled gcc 3.4.5 with gas:
Reading specs from /export/gcc-3.4.5/lib/gcc/i386-pc-solaris2.10/3.4.5/specs
Configured with: ../configure --prefix=/export/gcc-3.4.5 -with-gnu-as --with-as=/usr/sfw/bin/gas --without-gnu-ld --with-ld=/usr/ccs/bin/ld
Thread model: posix
gcc version 3.4.5
First I run mplayer configure:
./configure --enable-largefiles
Then mplayer make:
make
libvo compilation fails:
Here is end of make output, I did not change anything in mplayer Makefile:
....
make -C libvo
make[1]: Entering directory `/export/home/ms124458/mplayer-cvs-1/main/libvo'
gcc -c -I../libvo -I../../libvo -fno-PIC -O4 -march=k8 -mtune=k8 -pipe -ffast-math -fomit-frame-pointer -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I. -I.. -I../osdep -I../libavutil -I/usr/local/include/freetype2 -I/usr/local/include -DMPG12PLAY -o aclib.o aclib.c
gcc -c -I../libvo -I../../libvo -fno-PIC -O4 -march=k8 -mtune=k8 -pipe -ffast-math -fomit-frame-pointer -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I. -I.. -I../osdep -I../libavutil -I/usr/local/include/freetype2 -I/usr/local/include -DMPG12PLAY -o aspect.o aspect.c
gcc -c -I../libvo -I../../libvo -fno-PIC -O4 -march=k8 -mtune=k8 -pipe -ffast-math -fomit-frame-pointer -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I. -I.. -I../osdep -I../libavutil -I/usr/local/include/freetype2 -I/usr/local/include -DMPG12PLAY -o font_load.o font_load.c
gcc -c -I../libvo -I../../libvo -fno-PIC -O4 -march=k8 -mtune=k8 -pipe -ffast-math -fomit-frame-pointer -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I. -I.. -I../osdep -I../libavutil -I/usr/local/include/freetype2 -I/usr/local/include -DMPG12PLAY -o font_load_ft.o font_load_ft.c
font_load_ft.c: In function `decode_char':
font_load_ft.c:743: warning: passing arg 2 of `iconv' from incompatible pointer type
gcc -c -I../libvo -I../../libvo -fno-PIC -O4 -march=k8 -mtune=k8 -pipe -ffast-math -fomit-frame-pointer -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I. -I.. -I../osdep -I../libavutil -I/usr/local/include/freetype2 -I/usr/local/include -DMPG12PLAY -o geometry.o geometry.c
gcc -c -I../libvo -I../../libvo -fno-PIC -O4 -march=k8 -mtune=k8 -pipe -ffast-math -fomit-frame-pointer -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I. -I.. -I../osdep -I../libavutil -I/usr/local/include/freetype2 -I/usr/local/include -DMPG12PLAY -o osd.o osd.c
gcc -c -I../libvo -I../../libvo -fno-PIC -O4 -march=k8 -mtune=k8 -pipe -ffast-math -fomit-frame-pointer -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I. -I.. -I../osdep -I../libavutil -I/usr/local/include/freetype2 -I/usr/local/include -DMPG12PLAY -o spuenc.o spuenc.c
gcc -c -I../libvo -I../../libvo -fno-PIC -O4 -march=k8 -mtune=k8 -pipe -ffast-math -fomit-frame-pointer -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I. -I.. -I../osdep -I../libavutil -I/usr/local/include/freetype2 -I/usr/local/include -DMPG12PLAY -o sub.o sub.c
gcc -c -I../libvo -I../../libvo -fno-PIC -O4 -march=k8 -mtune=k8 -pipe -ffast-math -fomit-frame-pointer -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I. -I.. -I../osdep -I../libavutil -I/usr/local/include/freetype2 -I/usr/local/include -DMPG12PLAY -o video_out.o video_out.c
gcc -c -I../libvo -I../../libvo -fno-PIC -O4 -march=k8 -mtune=k8 -pipe -ffast-math -fomit-frame-pointer -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I. -I.. -I../osdep -I../libavutil -I/usr/local/include/freetype2 -I/usr/local/include -DMPG12PLAY -o vo_mpegpes.o vo_mpegpes.c
gcc -c -I../libvo -I../../libvo -fno-PIC -O4 -march=k8 -mtune=k8 -pipe -ffast-math -fomit-frame-pointer -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I. -I.. -I../osdep -I../libavutil -I/usr/local/include/freetype2 -I/usr/local/include -DMPG12PLAY -o vo_null.o vo_null.c
gcc -c -I../libvo -I../../libvo -fno-PIC -O4 -march=k8 -mtune=k8 -pipe -ffast-math -fomit-frame-pointer -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I. -I.. -I../osdep -I../libavutil -I/usr/local/include/freetype2 -I/usr/local/include -DMPG12PLAY -o vo_yuv4mpeg.o vo_yuv4mpeg.c
gcc -c -I../libvo -I../../libvo -fno-PIC -O4 -march=k8 -mtune=k8 -pipe -ffast-math -fomit-frame-pointer -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I. -I.. -I../osdep -I../libavutil -I/usr/local/include/freetype2 -I/usr/local/include -DMPG12PLAY -o vo_tga.o vo_tga.c
gcc -c -I../libvo -I../../libvo -fno-PIC -O4 -march=k8 -mtune=k8 -pipe -ffast-math -fomit-frame-pointer -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I. -I.. -I../osdep -I../libavutil -I/usr/local/include/freetype2 -I/usr/local/include -DMPG12PLAY -o x11_common.o x11_common.c
gcc -c -I../libvo -I../../libvo -fno-PIC -O4 -march=k8 -mtune=k8 -pipe -ffast-math -fomit-frame-pointer -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I. -I.. -I../osdep -I../libavutil -I/usr/local/include/freetype2 -I/usr/local/include -DMPG12PLAY -o vo_x11.o vo_x11.c
gcc -c -I../libvo -I../../libvo -fno-PIC -O4 -march=k8 -mtune=k8 -pipe -ffast-math -fomit-frame-pointer -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I. -I.. -I../osdep -I../libavutil -I/usr/local/include/freetype2 -I/usr/local/include -DMPG12PLAY -o vo_xover.o vo_xover.c
gcc -c -I../libvo -I../../libvo -fno-PIC -O4 -march=k8 -mtune=k8 -pipe -ffast-math -fomit-frame-pointer -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I. -I.. -I../osdep -I../libavutil -I/usr/local/include/freetype2 -I/usr/local/include -DMPG12PLAY -o vo_gl.o vo_gl.c
gcc -c -I../libvo -I../../libvo -fno-PIC -O4 -march=k8 -mtune=k8 -pipe -ffast-math -fomit-frame-pointer -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I. -I.. -I../osdep -I../libavutil -I/usr/local/include/freetype2 -I/usr/local/include -DMPG12PLAY -o vo_gl2.o vo_gl2.c
gcc -c -I../libvo -I../../libvo -fno-PIC -O4 -march=k8 -mtune=k8 -pipe -ffast-math -fomit-frame-pointer -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I. -I.. -I../osdep -I../libavutil -I/usr/local/include/freetype2 -I/usr/local/include -DMPG12PLAY -o gl_common.o gl_common.c
gl_common.c: In function `getdladdr':
gl_common.c:1021: error: initializer element is not constant
make[1]: *** [gl_common.o] Error 1
make[1]: Leaving directory `/export/home/ms124458/mplayer-cvs-1/main/libvo'
make: *** [libvo/libvo.a] Error 2
Let me know if you need more info.
Thanks
Marek
More information about the MPlayer-users
mailing list