<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:x="urn:schemas-microsoft-com:office:excel" xmlns:p="urn:schemas-microsoft-com:office:powerpoint" xmlns:a="urn:schemas-microsoft-com:office:access" xmlns:dt="uuid:C2F41010-65B3-11d1-A29F-00AA00C14882" xmlns:s="uuid:BDC6E3F0-6DA3-11d1-A2A3-00AA00C14882" xmlns:rs="urn:schemas-microsoft-com:rowset" xmlns:z="#RowsetSchema" xmlns:b="urn:schemas-microsoft-com:office:publisher" xmlns:ss="urn:schemas-microsoft-com:office:spreadsheet" xmlns:c="urn:schemas-microsoft-com:office:component:spreadsheet" xmlns:odc="urn:schemas-microsoft-com:office:odc" xmlns:oa="urn:schemas-microsoft-com:office:activation" xmlns:html="http://www.w3.org/TR/REC-html40" xmlns:q="http://schemas.xmlsoap.org/soap/envelope/" xmlns:rtc="http://microsoft.com/officenet/conferencing" xmlns:D="DAV:" xmlns:Repl="http://schemas.microsoft.com/repl/" xmlns:mt="http://schemas.microsoft.com/sharepoint/soap/meetings/" xmlns:x2="http://schemas.microsoft.com/office/excel/2003/xml" xmlns:ppda="http://www.passport.com/NameSpace.xsd" xmlns:ois="http://schemas.microsoft.com/sharepoint/soap/ois/" xmlns:dir="http://schemas.microsoft.com/sharepoint/soap/directory/" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:dsp="http://schemas.microsoft.com/sharepoint/dsp" xmlns:udc="http://schemas.microsoft.com/data/udc" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:sub="http://schemas.microsoft.com/sharepoint/soap/2002/1/alerts/" xmlns:ec="http://www.w3.org/2001/04/xmlenc#" xmlns:sp="http://schemas.microsoft.com/sharepoint/" xmlns:sps="http://schemas.microsoft.com/sharepoint/soap/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:udcs="http://schemas.microsoft.com/data/udc/soap" xmlns:udcxf="http://schemas.microsoft.com/data/udc/xmlfile" xmlns:udcp2p="http://schemas.microsoft.com/data/udc/parttopart" xmlns:wf="http://schemas.microsoft.com/sharepoint/soap/workflow/" xmlns:dsss="http://schemas.microsoft.com/office/2006/digsig-setup" xmlns:dssi="http://schemas.microsoft.com/office/2006/digsig" xmlns:mdssi="http://schemas.openxmlformats.org/package/2006/digital-signature" xmlns:mver="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns:mrels="http://schemas.openxmlformats.org/package/2006/relationships" xmlns:spwp="http://microsoft.com/sharepoint/webpartpages" xmlns:ex12t="http://schemas.microsoft.com/exchange/services/2006/types" xmlns:ex12m="http://schemas.microsoft.com/exchange/services/2006/messages" xmlns:pptsl="http://schemas.microsoft.com/sharepoint/soap/SlideLibrary/" xmlns:spsl="http://microsoft.com/webservices/SharePointPortalServer/PublishedLinksService" xmlns:Z="urn:schemas-microsoft-com:" xmlns:st="" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 12 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Cambria;
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
{mso-style-priority:99;
mso-style-link:"Balloon Text Char";
margin:0in;
margin-bottom:.0001pt;
font-size:8.0pt;
font-family:"Tahoma","sans-serif";}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri","sans-serif";
color:windowtext;}
span.BalloonTextChar
{mso-style-name:"Balloon Text Char";
mso-style-priority:99;
mso-style-link:"Balloon Text";
font-family:"Tahoma","sans-serif";}
.MsoChpDefault
{mso-style-type:export-only;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-US link=blue vlink=purple><div class=WordSection1><p class=MsoNormal>Hello,<o:p></o:p></p><div style='mso-element:para-border-div;border:none;border-bottom:double windowtext 2.25pt;padding:0in 0in 1.0pt 0in'><p class=MsoNormal style='border:none;padding:0in'><o:p> </o:p></p><p class=MsoNormal style='border:none;padding:0in'>I’m trying to compile x264 on Solaris SPARC (SunOS 5.10), but it consistently fails. Here is the output from the box:<o:p></o:p></p></div><p class=MsoNormal>root@qa-appgen01# export PATH=/usr/xpg6/bin:/usr/xpg4/bin:/usr/ccs/bin:/usr/ucb:/usr/bin:/usr/sbin:/sbin:/usr/sfw/bin:/usr/local/bin<o:p></o:p></p><p class=MsoNormal>root@qa-appgen01# export LDFLAGS="-R/usr/local/lib"<o:p></o:p></p><p class=MsoNormal>root@qa-appgen01# ./configure<o:p></o:p></p><p class=MsoNormal>Platform: UltraSPARC<o:p></o:p></p><p class=MsoNormal>System: SunOS<o:p></o:p></p><p class=MsoNormal>cli: yes<o:p></o:p></p><p class=MsoNormal>libx264: internal<o:p></o:p></p><p class=MsoNormal>shared: no<o:p></o:p></p><p class=MsoNormal>static: no<o:p></o:p></p><p class=MsoNormal>asm: yes<o:p></o:p></p><p class=MsoNormal>interlaced: yes<o:p></o:p></p><p class=MsoNormal>avs: no<o:p></o:p></p><p class=MsoNormal>lavf: no<o:p></o:p></p><p class=MsoNormal>ffms: no<o:p></o:p></p><p class=MsoNormal>gpac: no<o:p></o:p></p><p class=MsoNormal>gpl: yes<o:p></o:p></p><p class=MsoNormal>thread: posix<o:p></o:p></p><p class=MsoNormal>filters: resize crop select_every <o:p></o:p></p><p class=MsoNormal>debug: no<o:p></o:p></p><p class=MsoNormal>gprof: no<o:p></o:p></p><p class=MsoNormal>strip: no<o:p></o:p></p><p class=MsoNormal>PIC: no<o:p></o:p></p><p class=MsoNormal>visualize: no<o:p></o:p></p><p class=MsoNormal>bit depth: 8<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>You can run 'make' or 'make fprofiled' now.<o:p></o:p></p><p class=MsoNormal>root@qa-appgen01# make<o:p></o:p></p><p class=MsoNormal>root@qa-appgen01# export PATH=/usr/local/bin:/usr/xpg6/bin:/usr/xpg4/bin:/usr/ccs/bin:/usr/ucb:/usr/bin:/usr/sbin:/sbin:/usr/sfw/bin<o:p></o:p></p><p class=MsoNormal>root@qa-appgen01# make<o:p></o:p></p><p class=MsoNormal>gcc -Wshadow -O3 -ffast-math -Wall -I. -mcpu=ultrasparc -std=gnu99 -fomit-frame-pointer -c -o x264.o x264.c<o:p></o:p></p><p class=MsoNormal>In file included from common/common.h:90,<o:p></o:p></p><p class=MsoNormal> from x264.c:33:<o:p></o:p></p><p class=MsoNormal>common/osdep.h:31:1: warning: "_FILE_OFFSET_BITS" redefined<o:p></o:p></p><p class=MsoNormal>In file included from /usr/include/signal.h:18,<o:p></o:p></p><p class=MsoNormal> from x264.c:30:<o:p></o:p></p><p class=MsoNormal>/usr/include/sys/feature_tests.h:188:1: warning: this is the location of the previous definition<o:p></o:p></p><p class=MsoNormal>gcc -Wshadow -O3 -ffast-math -Wall -I. -mcpu=ultrasparc -std=gnu99 -fomit-frame-pointer -c -o input/input.o input/input.c<o:p></o:p></p><p class=MsoNormal>gcc -Wshadow -O3 -ffast-math -Wall -I. -mcpu=ultrasparc -std=gnu99 -fomit-frame-pointer -c -o input/timecode.o input/timecode.c<o:p></o:p></p><p class=MsoNormal>gcc -Wshadow -O3 -ffast-math -Wall -I. -mcpu=ultrasparc -std=gnu99 -fomit-frame-pointer -c -o input/raw.o input/raw.c<o:p></o:p></p><p class=MsoNormal>gcc -Wshadow -O3 -ffast-math -Wall -I. -mcpu=ultrasparc -std=gnu99 -fomit-frame-pointer -c -o input/y4m.o input/y4m.c<o:p></o:p></p><p class=MsoNormal>gcc -Wshadow -O3 -ffast-math -Wall -I. -mcpu=ultrasparc -std=gnu99 -fomit-frame-pointer -c -o output/raw.o output/raw.c<o:p></o:p></p><p class=MsoNormal>gcc -Wshadow -O3 -ffast-math -Wall -I. -mcpu=ultrasparc -std=gnu99 -fomit-frame-pointer -c -o output/matroska.o output/matroska.c<o:p></o:p></p><p class=MsoNormal>gcc -Wshadow -O3 -ffast-math -Wall -I. -mcpu=ultrasparc -std=gnu99 -fomit-frame-pointer -c -o output/matroska_ebml.o output/matroska_ebml.c<o:p></o:p></p><p class=MsoNormal>gcc -Wshadow -O3 -ffast-math -Wall -I. -mcpu=ultrasparc -std=gnu99 -fomit-frame-pointer -c -o output/flv.o output/flv.c<o:p></o:p></p><p class=MsoNormal>gcc -Wshadow -O3 -ffast-math -Wall -I. -mcpu=ultrasparc -std=gnu99 -fomit-frame-pointer -c -o output/flv_bytestream.o output/flv_bytestream.c<o:p></o:p></p><p class=MsoNormal>gcc -Wshadow -O3 -ffast-math -Wall -I. -mcpu=ultrasparc -std=gnu99 -fomit-frame-pointer -c -o filters/filters.o filters/filters.c<o:p></o:p></p><p class=MsoNormal>gcc -Wshadow -O3 -ffast-math -Wall -I. -mcpu=ultrasparc -std=gnu99 -fomit-frame-pointer -c -o filters/video/video.o filters/video/video.c<o:p></o:p></p><p class=MsoNormal>gcc -Wshadow -O3 -ffast-math -Wall -I. -mcpu=ultrasparc -std=gnu99 -fomit-frame-pointer -c -o filters/video/source.o filters/video/source.c<o:p></o:p></p><p class=MsoNormal>gcc -Wshadow -O3 -ffast-math -Wall -I. -mcpu=ultrasparc -std=gnu99 -fomit-frame-pointer -c -o filters/video/internal.o filters/video/internal.c<o:p></o:p></p><p class=MsoNormal>gcc -Wshadow -O3 -ffast-math -Wall -I. -mcpu=ultrasparc -std=gnu99 -fomit-frame-pointer -c -o filters/video/resize.o filters/video/resize.c<o:p></o:p></p><p class=MsoNormal>gcc -Wshadow -O3 -ffast-math -Wall -I. -mcpu=ultrasparc -std=gnu99 -fomit-frame-pointer -c -o filters/video/cache.o filters/video/cache.c<o:p></o:p></p><p class=MsoNormal>gcc -Wshadow -O3 -ffast-math -Wall -I. -mcpu=ultrasparc -std=gnu99 -fomit-frame-pointer -c -o filters/video/fix_vfr_pts.o filters/video/fix_vfr_pts.c<o:p></o:p></p><p class=MsoNormal>gcc -Wshadow -O3 -ffast-math -Wall -I. -mcpu=ultrasparc -std=gnu99 -fomit-frame-pointer -c -o filters/video/select_every.o filters/video/select_every.c<o:p></o:p></p><p class=MsoNormal>gcc -Wshadow -O3 -ffast-math -Wall -I. -mcpu=ultrasparc -std=gnu99 -fomit-frame-pointer -c -o filters/video/crop.o filters/video/crop.c<o:p></o:p></p><p class=MsoNormal>gcc -Wshadow -O3 -ffast-math -Wall -I. -mcpu=ultrasparc -std=gnu99 -fomit-frame-pointer -c -o filters/video/depth.o filters/video/depth.c<o:p></o:p></p><p class=MsoNormal>gcc -Wshadow -O3 -ffast-math -Wall -I. -mcpu=ultrasparc -std=gnu99 -fomit-frame-pointer -c -o input/thread.o input/thread.c<o:p></o:p></p><p class=MsoNormal>gcc -Wshadow -O3 -ffast-math -Wall -I. -mcpu=ultrasparc -std=gnu99 -fomit-frame-pointer -c -o extras/getopt.o extras/getopt.c<o:p></o:p></p><p class=MsoNormal>gcc -Wshadow -O3 -ffast-math -Wall -I. -mcpu=ultrasparc -std=gnu99 -fomit-frame-pointer -c -o common/mc.o common/mc.c<o:p></o:p></p><p class=MsoNormal>gcc -Wshadow -O3 -ffast-math -Wall -I. -mcpu=ultrasparc -std=gnu99 -fomit-frame-pointer -c -o common/predict.o common/predict.c<o:p></o:p></p><p class=MsoNormal>gcc -Wshadow -O3 -ffast-math -Wall -I. -mcpu=ultrasparc -std=gnu99 -fomit-frame-pointer -c -o common/pixel.o common/pixel.c<o:p></o:p></p><p class=MsoNormal>gcc -Wshadow -O3 -ffast-math -Wall -I. -mcpu=ultrasparc -std=gnu99 -fomit-frame-pointer -c -o common/macroblock.o common/macroblock.c<o:p></o:p></p><p class=MsoNormal>gcc -Wshadow -O3 -ffast-math -Wall -I. -mcpu=ultrasparc -std=gnu99 -fomit-frame-pointer -c -o common/frame.o common/frame.c<o:p></o:p></p><p class=MsoNormal>gcc -Wshadow -O3 -ffast-math -Wall -I. -mcpu=ultrasparc -std=gnu99 -fomit-frame-pointer -c -o common/dct.o common/dct.c<o:p></o:p></p><p class=MsoNormal>gcc -Wshadow -O3 -ffast-math -Wall -I. -mcpu=ultrasparc -std=gnu99 -fomit-frame-pointer -c -o common/cpu.o common/cpu.c<o:p></o:p></p><p class=MsoNormal>gcc -Wshadow -O3 -ffast-math -Wall -I. -mcpu=ultrasparc -std=gnu99 -fomit-frame-pointer -c -o common/cabac.o common/cabac.c<o:p></o:p></p><p class=MsoNormal>gcc -Wshadow -O3 -ffast-math -Wall -I. -mcpu=ultrasparc -std=gnu99 -fomit-frame-pointer -c -o common/common.o common/common.c<o:p></o:p></p><p class=MsoNormal>gcc -Wshadow -O3 -ffast-math -Wall -I. -mcpu=ultrasparc -std=gnu99 -fomit-frame-pointer -c -o common/osdep.o common/osdep.c<o:p></o:p></p><p class=MsoNormal>gcc -Wshadow -O3 -ffast-math -Wall -I. -mcpu=ultrasparc -std=gnu99 -fomit-frame-pointer -c -o common/rectangle.o common/rectangle.c<o:p></o:p></p><p class=MsoNormal>gcc -Wshadow -O3 -ffast-math -Wall -I. -mcpu=ultrasparc -std=gnu99 -fomit-frame-pointer -c -o common/set.o common/set.c<o:p></o:p></p><p class=MsoNormal>gcc -Wshadow -O3 -ffast-math -Wall -I. -mcpu=ultrasparc -std=gnu99 -fomit-frame-pointer -c -o common/quant.o common/quant.c<o:p></o:p></p><p class=MsoNormal>gcc -Wshadow -O3 -ffast-math -Wall -I. -mcpu=ultrasparc -std=gnu99 -fomit-frame-pointer -c -o common/deblock.o common/deblock.c<o:p></o:p></p><p class=MsoNormal>gcc -Wshadow -O3 -ffast-math -Wall -I. -mcpu=ultrasparc -std=gnu99 -fomit-frame-pointer -c -o common/vlc.o common/vlc.c<o:p></o:p></p><p class=MsoNormal>gcc -Wshadow -O3 -ffast-math -Wall -I. -mcpu=ultrasparc -std=gnu99 -fomit-frame-pointer -c -o common/mvpred.o common/mvpred.c<o:p></o:p></p><p class=MsoNormal>gcc -Wshadow -O3 -ffast-math -Wall -I. -mcpu=ultrasparc -std=gnu99 -fomit-frame-pointer -c -o common/bitstream.o common/bitstream.c<o:p></o:p></p><p class=MsoNormal>gcc -Wshadow -O3 -ffast-math -Wall -I. -mcpu=ultrasparc -std=gnu99 -fomit-frame-pointer -c -o encoder/analyse.o encoder/analyse.c<o:p></o:p></p><p class=MsoNormal>gcc -Wshadow -O3 -ffast-math -Wall -I. -mcpu=ultrasparc -std=gnu99 -fomit-frame-pointer -c -o encoder/me.o encoder/me.c<o:p></o:p></p><p class=MsoNormal>gcc -Wshadow -O3 -ffast-math -Wall -I. -mcpu=ultrasparc -std=gnu99 -fomit-frame-pointer -c -o encoder/ratecontrol.o encoder/ratecontrol.c<o:p></o:p></p><p class=MsoNormal>gcc -Wshadow -O3 -ffast-math -Wall -I. -mcpu=ultrasparc -std=gnu99 -fomit-frame-pointer -c -o encoder/set.o encoder/set.c<o:p></o:p></p><p class=MsoNormal>gcc -Wshadow -O3 -ffast-math -Wall -I. -mcpu=ultrasparc -std=gnu99 -fomit-frame-pointer -c -o encoder/macroblock.o encoder/macroblock.c<o:p></o:p></p><p class=MsoNormal>gcc -Wshadow -O3 -ffast-math -Wall -I. -mcpu=ultrasparc -std=gnu99 -fomit-frame-pointer -c -o encoder/cabac.o encoder/cabac.c<o:p></o:p></p><p class=MsoNormal>gcc -Wshadow -O3 -ffast-math -Wall -I. -mcpu=ultrasparc -std=gnu99 -fomit-frame-pointer -c -o encoder/cavlc.o encoder/cavlc.c<o:p></o:p></p><p class=MsoNormal>gcc -Wshadow -O3 -ffast-math -Wall -I. -mcpu=ultrasparc -std=gnu99 -fomit-frame-pointer -c -o encoder/encoder.o encoder/encoder.c<o:p></o:p></p><p class=MsoNormal>encoder/encoder.c: In function `x264_slice_write':<o:p></o:p></p><p class=MsoNormal>encoder/encoder.c:2319: warning: array subscript has type `char'<o:p></o:p></p><p class=MsoNormal>encoder/encoder.c:2322: warning: array subscript has type `char'<o:p></o:p></p><p class=MsoNormal>encoder/encoder.c: In function `x264_encoder_close':<o:p></o:p></p><p class=MsoNormal>encoder/encoder.c:3511: warning: array subscript has type `char'<o:p></o:p></p><p class=MsoNormal>gcc -Wshadow -O3 -ffast-math -Wall -I. -mcpu=ultrasparc -std=gnu99 -fomit-frame-pointer -c -o encoder/lookahead.o encoder/lookahead.c<o:p></o:p></p><p class=MsoNormal>gcc -Wshadow -O3 -ffast-math -Wall -I. -mcpu=ultrasparc -std=gnu99 -fomit-frame-pointer -c -o common/threadpool.o common/threadpool.c<o:p></o:p></p><p class=MsoNormal>as -xarch=v8plusa -DBIT_DEPTH=8 -o common/sparc/pixel.o common/sparc/pixel.asm<o:p></o:p></p><p class=MsoNormal><span style='background:yellow;mso-highlight:yellow'>as: illegal option -- BIT_DEPTH=8</span><o:p></o:p></p><div style='mso-element:para-border-div;border:none;border-bottom:double windowtext 2.25pt;padding:0in 0in 1.0pt 0in'><p class=MsoNormal style='border:none;padding:0in'>make: *** [common/sparc/pixel.o] Error 1<o:p></o:p></p></div><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>I’m using <span style='background:yellow;mso-highlight:yellow'>gcc (GCC) 3.4.6</span> and <span style='background:yellow;mso-highlight:yellow'>GNU Make 3.82</span>. Any advice on how to fix this problem to build x264 would be greatly appreciated.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Thanks,<o:p></o:p></p><p class=MsoNormal><b><span style='font-family:"Cambria","serif";color:black'>Alexander</span></b><o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p></div></body></html>