[Ffmpeg-devel] latest svn compilation on solaris 9

Baptiste Coudurier baptiste.coudurier
Thu Jan 18 02:08:26 CET 2007


Here is some report about my attempt to compile latest svn on solaris 9:

uname -a:
SunOS maya 5.9 Generic_118558-17 sun4u sparc SUNW,Ultra-Enterprise

gcc -v
Reading specs from /opt/sfw/bin/../lib/gcc/sparc-sun-solaris2.9/3.4.1/specs
Configured with: ../configure --with-as=/usr/ccs/bin/as
--with-ld=/usr/ccs/bin/ld --disable-nls
Thread model: posix
gcc version 3.4.1

./configure --enable-gpl --enable-pthreads:
Broken shell detected.  Trying alternatives.
Trying shell bash
... success.

no llrint, no lrint, only rint is available. changed llrint to rint in
mpegaudiodec.c, to make it compile.
gcc gave no warning at all.

no u/int_fast* available.

BE_16 clashes with /usr/include/sys/byteorder.h in rtp.c/rtp_h264.c
included by socket.h

/usr/include/sys/byteorder.h:#define    BE_16(x)        BMASK_16(x)
/usr/include/sys/byteorder.h:#define    BE_16(x)        BSWAP_16(x)

#define BMASK_16(x)     ((x) & 0xffff)
#define BSWAP_16(x)     ((BSWAP_8(x) << 8) | BSWAP_8((x) >> 8))

gcc -L"/usr/local/tmp/svn"/libavformat -L"/usr/local/tmp/svn"/libavcodec
-L"/usr/local/tmp/svn"/libavutil -rdynamic -g -o ffmpeg_g ffmpeg.o
cmdutils.o -lavformat -lavcodec -lavutil -lm -lsocket -lnsl -lz -ldl
gcc: unrecognized option `-rdynamic'
cp -p ffmpeg_g ffmpeg
strip ffmpeg
BFD: stABaaXp: warning: allocated section `.interp' not in segment

`echo | md5sum` seems to clash:

gmake[1]: Entering directory `/usr/local/tmp/svn/tests'
/usr/local/tmp/svn/tests/regression.sh: md5sum: not found

instead of printing "No md5sum program found"

sh clashes on do_libav=y and do_libav() having same name, renamed
do_libav=y to do_libavf=y.

finally dv does not seem to pass regression tests.
libav regression tests pass.

--- ./data/ffmpeg.regression    Thu Jan 18 00:54:20 2007
+++ /usr/local/tmp/svn/tests/rotozoom.regression.ref      Tue Jan 16
13:38:15 2007
@@ -153,7 +153,7 @@
  7200000 ./data/a-dv.dv
 bb69dda7a84a5b166434e28e1243d3d1 *./data/out.yuv
 stddev:  2.99 PSNR:38.59 bytes:7602176
-9766b7d02a5a9768de7a17ba4ee152b8 *./data/a-dv.dv
+91dc1c1dc4a8cca72f27d85db6d7636f *./data/a-dv.dv
  14400000 ./data/a-dv.dv
 74b01209bb5e096d570dd4df112bb82d *./data/out.yuv
 stddev:  2.98 PSNR:38.61 bytes:7602176

Please ask if you want more informations.

Baptiste COUDURIER                              GnuPG Key Id: 0x5C1ABAAA
SMARTJOG S.A.                                    http://www.smartjog.com
Key fingerprint                 8D77134D20CC9220201FC5DB0AC9325C5C1ABAAA
Phone: +33 1 49966312

More information about the ffmpeg-devel mailing list