Murray, Are you use the SFE[1] ffmpeg sepc? If not, I'd suggest you have a try.
[1] http://pkgbuild.sourceforge.net/spec-files-extra/ Thanks, Halton. On Tue, 2008-12-02 at 15:54 +1100, Murray Blakeman wrote: > I have managed to get FFMPEG compiled on OpenSolaris but I needed to > disable protocol support for UDP to do it. I get the following error > during compile. > > ----snip---- > gcc -DHAVE_AV_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -I. > -I"/net/warehouse/storage/downloads/solaris/source/gst-ffmpeg-0.10.6/gst-libs/ext/ffmpeg" > > > -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112 -std=c99 -fomit-frame-pointer > -g -Wdeclaration-after-statement -Wall -Wno-switch > -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wcast-qual > -Wwrite-strings -O3 -fno-math-errno -c -o libavformat/tcp.o > libavformat/tcp.c > gcc -DHAVE_AV_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -I. > -I"/net/warehouse/storage/downloads/solaris/source/gst-ffmpeg-0.10.6/gst-libs/ext/ffmpeg" > > > -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112 -std=c99 -fomit-frame-pointer > -g -Wdeclaration-after-statement -Wall -Wno-switch > -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wcast-qual > -Wwrite-strings -O3 -fno-math-errno -c -o libavformat/udp.o > libavformat/udp.c > libavformat/udp.c: In function `udp_join_multicast_group': > libavformat/udp.c:84: error: storage size of 'mreq' isn't known > libavformat/udp.c:84: warning: unused variable `mreq' > libavformat/udp.c: In function `udp_leave_multicast_group': > libavformat/udp.c:112: error: storage size of 'mreq' isn't known > libavformat/udp.c:112: warning: unused variable `mreq' > gmake: *** [libavformat/udp.o] Error 1 > _______________________________________________ > > Is there a way to resolve this issue? > > If I pass "--disable-protocol=udp" to configure it compiles fine. > > I've tried some of the suggestions in the following thread with no luck. > > http://thread.gmane.org/gmane.comp.video.ffmpeg.user/17874 > > On a similar note, If I compile with "--enable-pthreads" and pass > "-threads 2" to the ffmpeg command line I get a Segmentation Fault. > What might be causing this? > > Do I need to compile my external libs with similar support, eg XVID, FAAC? > > > _______________________________________________ > desktop-discuss mailing list > desktop-discuss at opensolaris.org
