[FFmpeg-user] Răspuns: Cannot install ffmpeg Solaris

Dustinta Cristian dst_cristi_16 at yahoo.ro
Thu Feb 5 08:38:53 CET 2015


Thanks for your response. 
I used "--disable-pthreads"  because I'm getting warnings like: gcc: unrecognized option `-pthread' (see attached file).
--disable-protocol=udp - if I not use this parameter I'm getting a compilation error: 

libavformat/udp.c: In function `udp_join_multicast_group':libavformat/udp.c:174: error: storage size of 'mreq' isn't knownlibavformat/udp.c:174: warning: unused variable `mreq'libavformat/udp.c: In function `udp_leave_multicast_group':libavformat/udp.c:206: error: storage size of 'mreq' isn't knownlibavformat/udp.c:206: warning: unused variable `mreq'gmake: *** [libavformat/udp.o] Error 1
So i recompiled ffmpeg using the following configuration:
 ./configure --disable-mmx --disable-protocol=udp
The result is the same. I attached full config and compilation console. Also I attached "config.log" file, maybe helps you finding the issue.
I tryed removing  --disable-mmx but same error.
Additional info: gcc version 3.4.3 (csl-sol210-3_4-branch+sol_rpath)
gmake version is  3.82
EDIT: I forgot to add the output what you requested:
bash-3.2# gmake V=1 ffmpeggcc -Llibavcodec -Llibavdevice -Llibavfilter -Llibavformat -Llibavresample -Llibavutil -Llibpostproc -Llibswscale -Llibswresample -Wl,-rpath-link=libpostproc:libswresample:libswscale:libavfilter:libavdevice:libavformat:libavcodec:libavutil:libavresample   -o ffmpeg_g cmdutils.o ffmpeg_opt.o ffmpeg_filter.o ffmpeg.o   -lavdevice -lavfilter -lavformat -lavcodec -lswresample -lswscale -lavutil -lsocket -lnsl -liconv -lX11 -lm -lbz2 -lz -pthread -lrtgcc: unrecognized option `-pthread'Undefined                       first referenced symbol                             in fileff_udplite_protocol                 libavformat/libavformat.a(allformats.o)ld: fatal: symbol referencing errors. No output written to ffmpeg_gcollect2: ld returned 1 exit statusgmake: *** [ffmpeg_g] Error 1
bash-3.2# gmake V=1 ffmpeggcc -Llibavcodec -Llibavdevice -Llibavfilter -Llibavformat -Llibavresample -Llibavutil -Llibpostproc -Llibswscale -Llibswresample -Wl,-rpath-link=libpostproc:libswresample:libswscale:libavfilter:libavdevice:libavformat:libavcodec:libavutil:libavresample   -o ffmpeg_g cmdutils.o ffmpeg_opt.o ffmpeg_filter.o ffmpeg.o   -lavdevice -lavfilter -lavformat -lavcodec -lswresample -lswscale -lavutil -lsocket -lnsl -liconv -lX11 -lm -lbz2 -lz -pthread -lrtgcc: unrecognized option `-pthread'Undefined                       first referenced symbol                             in fileff_udplite_protocol                 libavformat/libavformat.a(allformats.o)ld: fatal: symbol referencing errors. No output written to ffmpeg_gcollect2: ld returned 1 exit statusgmake: *** [ffmpeg_g] Error 1

Regards Cristian 

     În Marţi, 3 Februarie 2015 18:30:29, Dustinta Cristian <dst_cristi_16 at yahoo.ro> a scris:
   

 Thanks for your response. 
I used "--disable-pthreads"  because I'm getting warnings like: gcc: unrecognized option `-pthread' (see attached file).
--disable-protocol=udp - if I not use this parameter I'm getting a compilation error: 

libavformat/udp.c: In function `udp_join_multicast_group':libavformat/udp.c:174: error: storage size of 'mreq' isn't knownlibavformat/udp.c:174: warning: unused variable `mreq'libavformat/udp.c: In function `udp_leave_multicast_group':libavformat/udp.c:206: error: storage size of 'mreq' isn't knownlibavformat/udp.c:206: warning: unused variable `mreq'gmake: *** [libavformat/udp.o] Error 1
So i recompiled ffmpeg using the following configuration:
 ./configure --disable-mmx --disable-protocol=udp
The result is the same. I attached full config and compilation console. Also I attached "config.log" file, maybe helps you finding the issue.
Additional info: gcc version 3.4.3 (csl-sol210-3_4-branch+sol_rpath)
gmake version is  3.82
Regards Cristian

 

     În Marţi, 3 Februarie 2015 15:35:55, Carl Eugen Hoyos <cehoyos at ag.or.at> a scris:
   

 Dustinta Cristian <dst_cristi_16-at-yahoo.ro <at> ffmpeg.org> writes:

> ./configure --disable-mmx --disable-yasm 

Why are you using --disable-asm --disable-yasm?
Please remove them, if there is a problem, it 
would indicate a bug (that I would like to fix).

> --disable-pthreads

Why are you using --disable-pthreads?

> --disable-protocol=udp

Why are you disabling udp?
Is there a bug that we should fix?

> --extra-libs="-liconv" 

This should not make a difference, does it?

> Compilation fails with the following error 
> "ld: fatal: symbol referencing errors.

Please run "make V=1 ffmpeg" twice and post the 
complete, uncut console output of the second run.

Carl Eugen
_______________________________________________
ffmpeg-user mailing list
ffmpeg-user at ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user


    

   


More information about the ffmpeg-user mailing list