Week 2... rations, oxygen and patience are running out, Solaris wont' budge...<br>We've been trying to build x264 shared library (latest CVS) for ffmpeg, so we can run it on an old 16 CPU Sun box with Solaris 9.<br>Made some minor fixes on the way.
<br>1) configure line1: /bin/bash.<br>2) dos2unix all .c and .h files. <br>3) commented out bit of code that was calling MS Visual C variable.(ratecontrol.c file, "definite" section).<br><br>I've had a few conversations on #x264dev @freenode, thanks for all the help guys (caro!), but it still won't work.
<br><br><br><br>:::::::::::::::::::::::::::::::::::::::The error:::::::::::::::::::::::::::::::::::::<br><br><font size="2">TO-PTE-APP: gcc -v -shared -o libx264.so.45 common/mc.o
common/predict.o<br>common/pixel.o common/macroblock.o common/frame.o
common/dct.o<br>common/cpu.o common/cabac.o common/common.o common/mdate.o
common/csp.o<br>common/set.o common/quant.o encoder/analyse.o
encoder/me.o<br>encoder/ratecontrol.o encoder/set.o encoder/macroblock.o
encoder/cabac.o<br>encoder/cavlc.o encoder/encoder.o encoder/eval.o
extras/getopt.o<br>common/sparc/pixel.o
-Wl,-soname,libx264.so.45<br><br><br><br>Reading specs from
/usr/local/lib/gcc/sparc-sun-solaris2.9/3.4.2/specs<br>Configured with:
../configure --with-as=/usr/ccs/bin/as<br>--with-ld=/usr/ccs/bin/ld
--disable-nls<br>Thread model: posix<br>gcc version
3.4.2<br> /usr/local/libexec/gcc/sparc-sun-solaris2.9/3.4.2/collect2 -V -G -dy
-z<br>text -Y P,/usr/ccs/lib:/usr/lib -Qy -o
libx264.so.45<br>/usr/local/lib/gcc/sparc-sun-solaris2.9/3.4.2/crti.o<br>/usr/ccs/lib/values-Xa.o<br>/usr/local/lib/gcc/sparc-sun-solaris2.9/3.4.2/crtbegin.o<br>-L/usr/local/lib/gcc/sparc-sun-solaris2.9/3.4.2<br>-L/usr/local/lib/gcc/sparc-
sun-solaris2.9/3.4.2/../../../../sparc-sun-so<br>laris2.9/lib<br>-L/usr/ccs/bin
-L/usr/ccs/lib<br>-L/usr/local/lib/gcc/sparc-sun-solaris2.9/3.4.2/../../..
common/mc.o<br>common/predict.o common/pixel.o common/macroblock.o
common/frame.o<br>common/dct.o common/cpu.o common/cabac.o common/common.o
common/mdate.o<br>common/csp.o common/set.o common/quant.o encoder/analyse.o
encoder/me.o<br>encoder/ratecontrol.o encoder/set.o encoder/macroblock.o
encoder/cabac.o<br>encoder/cavlc.o encoder/encoder.o encoder/eval.o
extras/getopt.o<br>common/sparc/pixel.o -soname libx264.so.45 -lgcc_s
-lgcc_s<br>/usr/local/lib/gcc/sparc-sun-solaris2.9/3.4.2/crtend.o<br>/usr/local/lib/gcc/sparc-sun-solaris2.9/3.4.2/crtn.o<br>ld:
Software Generation Utilities - Solaris Link Editors: 5.9-1.391<br>ld: warning:
option -o appears more than once, first setting taken<br>ld: fatal: file
libx264.so.45: unknown file type<br>ld: fatal: File processing errors. No output
written to libx264.so.45<br>collect2: ld returned 1 exit status<br><br>::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::<br><br><br>Please Advise.<br><br><br>Dennis and Vanessa.
<br><br></font><code></code><br>