[MPlayer-users] Compile Fails under Solaris 10 10/09 (Intel Core 2)

Murray Blakeman mblakeman at netspace.net.au
Sun Mar 21 01:02:30 CET 2010


On 20/03/10 05:55 PM, Reimar Döffinger wrote:
> On Sat, Mar 20, 2010 at 10:20:12AM +1100, Murray Blakeman wrote:
>    
>> error: #error "Compiler or options i
>> nvalid; UNIX 03 and POSIX.1-2001 applications   require the use of c99"
>>      
>    
>> error: #error "Compiler or options i
>> nvalid; UNIX 03 and POSIX.1-2001 applications   require the use of c99"
>>      
> Well, the problem is that your system headers do not support what MPlayer
> currently needs.
> You could try adding -D_ISOC99_SOURCE or report the errors with --std=c99 and
> we try to fix those.
> _______________________________________________
> MPlayer-users mailing list
> MPlayer-users at mplayerhq.hu
> https://lists.mplayerhq.hu/mailman/listinfo/mplayer-users
>
>    
I am able to successful compile the "mplayer-export-2009-09-14" 
snapshot.  I noticed some other CFLAGS so I attempted to compile 
"mplayer-export-2010-03-17" with those as follows.

$ ./configure --prefix=/opt/mbl --confdir=/etc 
--mandir=/opt/mbl/share/man --cc=gcc --extra-cflags="-std=gnu99 
-ffast-math -fomit-frame-pointer"


It gets all the way through but fails at the final command.

.....
gcc -o mplayer command.o m_property.o mixer.o mp_fifo.o mp_msg.o 
mplayer.o parser-mpcmd.o input/input.o libao2/ao_mpegpes.o 
libao2/ao_null.o libao2/ao_pcm.o libao2/audio_out.o libvo/aspect.o 
libvo/geometry.o libvo/spuenc.o libvo/video_out.o libvo/vo_mpegpes.o 
libvo/vo_null.o libao2/ao_esd.o libvo/gl_common.o libvo/vo_gl.o 
libvo/vo_gl2.o libvo/csputils.o libvo/x11_common.o libvo/vo_matrixview.o 
libvo/matrixview.o libvo/vo_.....................
...<snip>...
ca -lxvidcore -lm    -L/usr/lib  -lm  -lXext -lX11 -lvdpau -lXinerama 
-lGL -lesd -laudiofile -lm -lrt -lresolv -lnsl -lsocket -lfaac -lx264 
-lmp3lame
Undefined                       first referenced
  symbol                             in file
ff_dnxhd_init_mmx                   libavcodec/libavcodec.a(dnxhdenc.o)
ff_dwt_init_x86                     libavcodec/libavcodec.a(dwt.o)
ff_fft_init_mmx                     libavcodec/libavcodec.a(fft.o)
ff_mlp_init_x86                     libavcodec/libavcodec.a(mlpdsp.o)
mm_flags                            libavcodec/libavcodec.a(faanidct.o)
ff_h264dsp_init_x86                 libavcodec/libavcodec.a(h264dsp.o)
MPV_common_init_mmx                 libavcodec/libavcodec.a(mpegvideo.o)
dsputil_init_mmx                    libavcodec/libavcodec.a(dsputil.o)
ff_pw_4                             libavcodec/libavcodec.a(imgconvert.o)
ld: fatal: Symbol referencing errors. No output written to mplayer
collect2: ld returned 1 exit status
gmake: *** [mplayer] Error 1





More information about the MPlayer-users mailing list