Bug 5080 - Unable to build cairo 1.1.1 from cvs
Summary: Unable to build cairo 1.1.1 from cvs
Status: RESOLVED INVALID
Alias: None
Product: cairo
Classification: Unclassified
Component: general (show other bugs)
Version: 1.1.1
Hardware: x86 (IA32) Linux (All)
: high normal
Assignee: Carl Worth
QA Contact: cairo-bugs mailing list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-11-18 01:04 UTC by Sergey Safonov
Modified: 2008-01-11 07:00 UTC (History)
2 users (show)

See Also:
i915 platform:
i915 features:


Attachments

Description Sergey Safonov 2005-11-18 01:04:52 UTC
My system is linux (Debian testing/unstable)
gcc version 4.0.3 20051111 (prerelease) (Debian 4.0.2-4)
kernel version : 2.6.14
libc 2.3.5
Processor:
vendor_id       : GenuineIntel
cpu family      : 15
model           : 1
model name      : Intel(R) Celeron(R) CPU 1.70GHz
stepping        : 3
cpu MHz         : 1717.448
cache size      : 128 KB
fdiv_bug        : no
hlt_bug         : no
f00f_bug        : no
coma_bug        : no
fpu             : yes
fpu_exception   : yes
cpuid level     : 2
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov
pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm
bogomips        : 3436.3


When i run make i get the following error messages :

In file included from fbmmx.c:46:
/usr/lib/gcc/i486-linux-gnu/4.0.3/include/mmintrin.h:34:3: error: #error "MMX
instruction set not enabled"
fbmmx.c:127: error: syntax error before 'shift'
fbmmx.c:127: error: syntax error before 'v'
fbmmx.c: In function 'shift':
fbmmx.c:129: error: 's' undeclared (first use in this function)
fbmmx.c:129: error: (Each undeclared identifier is reported only once
fbmmx.c:129: error: for each function it appears in.)
fbmmx.c:130: error: 'v' undeclared (first usemake[3]: Leaving directory
`/home/spoof/src/cairo/cairo-1.1.1/pixman/src'
make[2]: Leaving directory `/home/spoof/src/cairo/cairo-1.1.1/pixman'
make[1]: Leaving directory `/home/spoof/src/cairo/cairo-1.1.1'
(first use in this function)
fbmmx.c:140: error: '__m64' undeclared (first use in this function)
fbmmx.c:140: error: syntax error before 'c'
fbmmx.c: At top level:
fbmmx.c:144: error: syntax error before 'pix_multiply'
fbmmx.c:144: error: syntax error before 'a'
fbmmx.c: In function 'pix_multiply':
fbmmx.c:146: error: '__m64' undeclared (first use in this function)
fbmmx.c:146: error: syntax error before 'res'
fbmmx.c:148: error: 'res' undeclared (first use in this function)
fbmmx.c:148: error: 'a' undeclared (first use in this function)
fbmmx.c:148: error: 'b' undeclared (first use in this function)
fbmmx.c:149: error: syntax error before 'c'
fbmmx.c: At top level:
fbmmx.c:157: error: syntax error before 'pix_add'
fbmmx.c:157: error: syntax error before 'a'
fbmmx.c: In function 'pix_add':
fbmmx.c:159: error: 'a' undeclared (first use in this function)
fbmmx.c:159: error: 'b' undeclared (first use in this function)
fbmmx.c: At top level:
fbmmx.c:185: error: syntax error before 'expand_alpha'
fbmmx.c:185: error: syntax error before 'pixel'
fbmmx.c: In function 'expand_alpha':
fbmmx.c:187: error: '__m64' undeclared (first use in this function)
fbmmx.c:187: error: syntax error before 't1'
fbmmx.c:189: error: 't1' undeclared (first use in this function)
fbmmx.c:189: error: 'pixel' undeclared (first use in this function)
fbmmx.c:190: error: 't2' undeclared (first use in this function)
fbmmx.c: At top level:
fbmmx.c:199: error: syntax error before 'expand_alpha_rev'
fbmmx.c:199: error: syntax error before 'pixel'
fbmmx.c: In function 'expand_alpha_rev':
fbmmx.c:201: error: '__m64' undeclared (first use in this function)
fbmmx.c:201: error: syntax error before 't1'
fbmmx.c:204: error: 't1' undeclared (first use in this function)
fbmmx.c:204: error: 'pixel' undeclared (first use in this function)
fbmmx.c:207: error: 't2' undeclared (first use in this function)
fbmmx.c: At top level:
fbmmx.c:216: error: syntax error before 'invert_colors'
fbmmx.c:216: error: syntax error before 'pixel'
fbmmx.c: In function 'invert_colors':
fbmmx.c:218: error: '__m64' undeclared (first use in this function)
fbmmx.c:218: error: syntax error before 'x'
fbmmx.c:220: error: 'x' undeclared (first use in this function)
fbmmx.c:220: error: 'y' undeclared (first use in this function)
fbmmx.c:220: error: 'z' undeclared (first use in this function)
fbmmx.c:220: error: 'pixel' undeclared (first use in this function)
fbmmx.c:222: error: syntax error before 'c'
fbmmx.c:223: error: syntax error before 'c'
fbmmx.c:224: error: syntax error before 'c'
fbmmx.c: At top level:
fbmmx.c:238: error: syntax error before 'over'
fbmmx.c:238: error: syntax error before 'src'
fbmmx.c: In function 'over':
fbmmx.c:240: error: 'src' undeclared (first use in this function)
fbmmx.c:240: error: 'dest' undeclared (first use in this function)
fbmmx.c:240: error: 'srca' undeclared (first use in this function)
fbmmx.c: At top level:
fbmmx.c:244: error: syntax error before 'over_rev_non_pre'
fbmmx.c:244: error: syntax error before 'src'
fbmmx.c: In function 'over_rev_non_pre':
fbmmx.c:246: error: '__m64' undeclared (first use in this function)
fbmmx.c:246: error: syntax error before 'srca'
fbmmx.c:249: error: 'src' undeclared (first use in this function)
fbmmx.c:249: error: 'srcfaaa' undeclared (first use in this function)
fbmmx.c:249: error: 'srca' undeclared (first use in this function)
fbmmx.c:249: error: 'dest' undeclared (first use in this function)
fbmmx.c: At top level:
fbmmx.c:253: error: syntax error before 'in'
fbmmx.c:253: error: syntax error before 'src'
fbmmx.c: In function 'in':
fbmmx.c:256: error: 'src' undeclared (first use in this function)
fbmmx.c:256: error: 'mask' undeclared (first use in this function)
fbmmx.c: At top level:
fbmmx.c:260: error: syntax error before 'in_over'
fbmmx.c:260: error: syntax error before 'src'
fbmmx.c: In function 'in_over':
fbmmx.c:265: error: 'src' undeclared (first use in this function)
fbmmx.c:265: error: 'mask' undeclared (first use in this function)
fbmmx.c:265: error: 'srca' undeclared (first use in this function)
fbmmx.c:265: error: 'dest' undeclared (first use in this function)
fbmmx.c: At top level:
fbmmx.c:269: error: syntax error before 'load8888'
fbmmx.c:275: error: syntax error before 'pack8888'
fbmmx.c:275: error: syntax error before 'lo'
fbmmx.c: In function 'pack8888':
fbmmx.c:277: error: 'lo' undeclared (first use in this function)
fbmmx.c:277: error: 'hi' undeclared (first use in this function)
fbmmx.c: At top level:
fbmmx.c:281: error: syntax error before 'v'
fbmmx.c: In function 'store8888':
fbmmx.c:283: error: 'v' undeclared (first use in this function)
fbmmx.c: At top level:
fbmmx.c:301: error: syntax error before 'expand565'
fbmmx.c:301: error: syntax error before 'pixel'
fbmmx.c: In function 'expand565':
fbmmx.c:303: error: '__m64' undeclared (first use in this function)
fbmmx.c:303: error: syntax error before 'p'
fbmmx.c:307: error: 'p' undeclared (first use in this function)
fbmmx.c:307: error: 'pos' undeclared (first use in this function)
fbmmx.c:309: error: 't1' undeclared (first use in this function)
fbmmx.c:310: error: 't2' undeclared (first use in this function)
fbmmx.c:314: error: syntax error before 'c'
fbmmx.c:316: error: 'pixel' undeclared (first use in this function)
fbmmx.c:316: error: syntax error before 'c'
fbmmx.c: At top level:
fbmmx.c:321: error: syntax error before 'expand8888'
fbmmx.c:321: error: syntax error before 'in'
fbmmx.c: In function 'expand8888':
fbmmx.c:323: error: 'pos' undeclared (first use in this function)
fbmmx.c: At top level:
fbmmx.c:330: error: syntax error before 'pack565'
fbmmx.c:330: error: syntax error before 'pixel'
fbmmx.c: In function 'pack565':
fbmmx.c:332: error: '__m64' undeclared (first use in this function)
fbmmx.c:332: error: syntax error before 'p'
fbmmx.c:336: error: 'r' undeclared (first use in this function)
fbmmx.c:336: error: 'p' undeclared (first use in this function)
fbmmx.c:336: error: syntax error before 'c'
fbmmx.c:337: error: 'g' undeclared (first use in this function)
fbmmx.c:337: error: syntax error before 'c'
fbmmx.c:338: error: 'b' undeclared (first use in this function)
fbmmx.c:338: error: syntax error before 'c'
fbmmx.c:340: error: 'pos' undeclared (first use in this function)
fbmmx.c:345: error: 't' undeclared (first use in this function)
fbmmx.c:345: error: syntax error before 'c'
fbmmx.c:347: error: syntax error before 'c'
fbmmx.c:349: error: syntax error before 'c'
fbmmx.c:351: error: syntax error before 'c'
fbmmx.c: At top level:
fbmmx.c:360: error: syntax error before 'pix_add_mul'
fbmmx.c:360: error: syntax error before 'x'
fbmmx.c: In function 'pix_add_mul':
fbmmx.c:362: error: 'x' undeclared (first use in this function)
fbmmx.c:362: error: 'a' undeclared (first use in this function)
fbmmx.c:363: error: 'y' undeclared (first use in this function)
fbmmx.c:363: error: 'b' undeclared (first use in this function)
fbmmx.c:364: error: '__m64' undeclared (first use in this function)
fbmmx.c:364: error: syntax error before 'c'
fbmmx.c: In function 'mmxCombineMaskU':
fbmmx.c:384: error: '__m64' undeclared (first use in this function)
fbmmx.c:384: error: syntax error before 'a'
fbmmx.c:386: error: 'a' undeclared (first use in this function)
fbmmx.c:387: error: 's' undeclared (first use in this function)
fbmmx.c: In function 'mmxCombineOverU':
fbmmx.c:408: error: '__m64' undeclared (first use in this function)
fbmmx.c:408: error: syntax error before 's'
fbmmx.c:409: error: 's' undeclared (first use in this function)
fbmmx.c:410: error: 'sa' undeclared (first use in this function)
fbmmx.c: In function 'mmxCombineOverReverseU':
fbmmx.c:425: error: '__m64' undeclared (first use in this function)
fbmmx.c:425: error: syntax error before 'd'
fbmmx.c:426: error: 'd' undeclared (first use in this function)
fbmmx.c:427: error: 'da' undeclared (first use in this function)
fbmmx.c: In function 'mmxCombineInU':
fbmmx.c:441: error: '__m64' undeclared (first use in this function)
fbmmx.c:441: error: syntax error before 'x'
fbmmx.c:442: error: 'x' undeclared (first use in this function)
fbmmx.c:443: error: 'a' undeclared (first use in this function)
fbmmx.c: In function 'mmxCombineInReverseU':
fbmmx.c:459: error: '__m64' undeclared (first use in this function)
fbmmx.c:459: error: syntax error before 'x'
fbmmx.c:460: error: 'x' undeclared (first use in this function)
fbmmx.c:461: error: 'a' undeclared (first use in this function)
fbmmx.c: In function 'mmxCombineOutU':
fbmmx.c:477: error: '__m64' undeclared (first use in this function)
fbmmx.c:477: error: syntax error before 'x'
fbmmx.c:478: error: 'x' undeclared (first use in this function)
fbmmx.c:479: error: 'a' undeclared (first use in this function)
fbmmx.c: In function 'mmxCombineOutReverseU':
fbmmx.c:496: error: '__m64' undeclared (first use in this function)
fbmmx.c:496: error: syntax error before 'x'
fbmmx.c:497: error: 'x' undeclared (first use in this function)
fbmmx.c:498: error: 'a' undeclared (first use in this function)
fbmmx.c: In function 'mmxCombineAtopU':
fbmmx.c:515: error: '__m64' undeclared (first use in this function)
fbmmx.c:515: error: syntax error before 's'
fbmmx.c:516: error: 's' undeclared (first use in this function)
fbmmx.c:517: error: 'd' undeclared (first use in this function)
fbmmx.c:518: error: 'sia' undeclared (first use in this function)
fbmmx.c:520: error: 'da' undeclared (first use in this function)
fbmmx.c: In function 'mmxCombineAtopReverseU':
fbmmx.c:537: error: '__m64' undeclared (first use in this function)
fbmmx.c:537: error: syntax error before 's'
fbmmx.c:538: error: 's' undeclared (first use in this function)
fbmmx.c:539: error: 'd' undeclared (first use in this function)
fbmmx.c:540: error: 'sa' undeclared (first use in this function)
fbmmx.c:541: error: 'dia' undeclared (first use in this function)
fbmmx.c: In function 'mmxCombineXorU':
fbmmx.c:557: error: '__m64' undeclared (first use in this function)
fbmmx.c:557: error: syntax error before 's'
fbmmx.c:558: error: 's' undeclared (first use in this function)
fbmmx.c:559: error: 'd' undeclared (first use in this function)
fbmmx.c:560: error: 'sia' undeclared (first use in this function)
fbmmx.c:561: error: 'dia' undeclared (first use in this function)
fbmmx.c: In function 'mmxCombineAddU':
fbmmx.c:577: error: '__m64' undeclared (first use in this function)
fbmmx.c:577: error: syntax error before 's'
fbmmx.c:578: error: 's' undeclared (first use in this function)
fbmmx.c:579: error: 'd' undeclared (first use in this function)
fbmmx.c: In function 'mmxCombineSaturateU':
fbmmx.c:595: error: '__m64' undeclared (first use in this function)
fbmmx.c:595: error: syntax error before 'ms'
fbmmx.c:601: error: syntax error before 'msa'
fbmmx.c:602: error: 'msa' undeclared (first use in this function)
fbmmx.c:603: error: 'ms' undeclared (first use in this function)
fbmmx.c:605: error: 'md' undeclared (first use in this function)
fbmmx.c: In function 'mmxCombineSrcC':
fbmmx.c:619: error: '__m64' undeclared (first use in this function)
fbmmx.c:619: error: syntax error before 'a'
fbmmx.c:621: error: 's' undeclared (first use in this function)
fbmmx.c:621: error: 'a' undeclared (first use in this function)
fbmmx.c: In function 'mmxCombineOverC':
fbmmx.c:635: error: '__m64' undeclared (first use in this function)
fbmmx.c:635: error: syntax error before 'a'
fbmmx.c:640: error: 's' undeclared (first use in this function)
fbmmx.c:640: error: 'sa' undeclared (first use in this function)
fbmmx.c:640: error: 'a' undeclared (first use in this function)
fbmmx.c:640: error: 'd' undeclared (first use in this function)
fbmmx.c: In function 'mmxCombineOverReverseC':
fbmmx.c:654: error: '__m64' undeclared (first use in this function)
fbmmx.c:654: error: syntax error before 'a'
fbmmx.c:659: error: 'd' undeclared (first use in this function)
fbmmx.c:659: error: 'da' undeclared (first use in this function)
fbmmx.c:659: error: 's' undeclared (first use in this function)
fbmmx.c:659: error: 'a' undeclared (first use in this function)
fbmmx.c: In function 'mmxCombineInC':
fbmmx.c:674: error: '__m64' undeclared (first use in this function)
fbmmx.c:674: error: syntax error before 'a'
fbmmx.c:678: error: 's' undeclared (first use in this function)
fbmmx.c:678: error: 'a' undeclared (first use in this function)
fbmmx.c:679: error: 'da' undeclared (first use in this function)
fbmmx.c: In function 'mmxCombineInReverseC':
fbmmx.c:693: error: '__m64' undeclared (first use in this function)
fbmmx.c:693: error: syntax error before 'a'
fbmmx.c:697: error: 'a' undeclared (first use in this function)
fbmmx.c:697: error: 'sa' undeclared (first use in this function)
fbmmx.c:698: error: 'd' undeclared (first use in this function)
fbmmx.c: In function 'mmxCombineOutC':
fbmmx.c:712: error: '__m64' undeclared (first use in this function)
fbmmx.c:712: error: syntax error before 'a'
fbmmx.c:716: error: 'da' undeclared (first use in this function)
fbmmx.c:717: error: 's' undeclared (first use in this function)
fbmmx.c:717: error: 'a' undeclared (first use in this function)
fbmmx.c: In function 'mmxCombineOutReverseC':
fbmmx.c:732: error: '__m64' undeclared (first use in this function)
fbmmx.c:732: error: syntax error before 'a'
fbmmx.c:736: error: 'a' undeclared (first use in this function)
fbmmx.c:736: error: 'sa' undeclared (first use in this function)
fbmmx.c:738: error: 'd' undeclared (first use in this function)
fbmmx.c: In function 'mmxCombineAtopC':
fbmmx.c:752: error: '__m64' undeclared (first use in this function)
fbmmx.c:752: error: syntax error before 'a'
fbmmx.c:757: error: 's' undeclared (first use in this function)
fbmmx.c:757: error: 'a' undeclared (first use in this function)
fbmmx.c:758: error: 'sa' undeclared (first use in this function)
fbmmx.c:760: error: 'd' undeclared (first use in this function)
fbmmx.c:760: error: 'da' undeclared (first use in this function)
fbmmx.c: In function 'mmxCombineAtopReverseC':
fbmmx.c:774: error: '__m64' undeclared (first use in this function)
fbmmx.c:774: error: syntax error before 'a'
fbmmx.c:779: error: 's' undeclared (first use in this function)
fbmmx.c:779: error: 'a' undeclared (first use in this function)
fbmmx.c:780: error: 'sa' undeclared (first use in this function)
fbmmx.c:781: error: 'da' undeclared (first use in this function)
fbmmx.c:782: error: 'd' undeclared (first use in this function)
fbmmx.c: In function 'mmxCombineXorC':
fbmmx.c:796: error: '__m64' undeclared (first use in this function)
fbmmx.c:796: error: syntax error before 'a'
fbmmx.c:801: error: 's' undeclared (first use in this function)
fbmmx.c:801: error: 'a' undeclared (first use in this function)
fbmmx.c:802: error: 'sa' undeclared (first use in this function)
fbmmx.c:803: error: 'da' undeclared (first use in this function)
fbmmx.c:805: error: 'd' undeclared (first use in this function)
fbmmx.c: In function 'mmxCombineAddC':
fbmmx.c:819: error: '__m64' undeclared (first use in this function)
fbmmx.c:819: error: syntax error before 'a'
fbmmx.c:822: error: 's' undeclared (first use in this function)
fbmmx.c:822: error: 'a' undeclared (first use in this function)
fbmmx.c:823: error: 'd' undeclared (first use in this function)
fbmmx.c: In function '_cairo_pixman_composite_solid_nx8888mmx':
fbmmx.c:887: error: '__m64' undeclared (first use in this function)
fbmmx.c:887: error: syntax error before 'vsrc'
fbmmx.c:898: error: 'vsrc' undeclared (first use in this function)
fbmmx.c:899: error: 'vsrca' undeclared (first use in this function)
fbmmx.c:919: error: syntax error before 'vdest'
fbmmx.c:922: error: 'vdest' undeclared (first use in this function)
fbmmx.c:922: error: syntax error before ')' token
fbmmx.c:924: error: 'dest0' undeclared (first use in this function)
fbmmx.c:925: error: 'dest1' undeclared (first use in this function)
fbmmx.c:927: error: syntax error before ')' token
fbmmx.c: In function '_cairo_pixman_composite_solid_nx0565mmx':
fbmmx.c:965: error: '__m64' undeclared (first use in this function)
fbmmx.c:965: error: syntax error before 'vsrc'
fbmmx.c:976: error: 'vsrc' undeclared (first use in this function)
fbmmx.c:977: error: 'vsrca' undeclared (first use in this function)
fbmmx.c:990: error: syntax error before 'vdest'
fbmmx.c:991: error: 'vdest' undeclared (first use in this function)
fbmmx.c:1000: error: syntax error before 'vdest'
fbmmx.c:1002: error: syntax error before ')' token
fbmmx.c:1009: error: syntax error before ')' token
fbmmx.c:1020: error: syntax error before 'vdest'
fbmmx.c: In function '_cairo_pixman_composite_solid_mask_nx8888x8888Cmmx':
fbmmx.c:1050: error: '__m64' undeclared (first use in this function)
fbmmx.c:1050: error: syntax error before 'vsrc'
fbmmx.c:1063: error: 'vsrc' undeclared (first use in this function)
fbmmx.c:1064: error: 'vsrca' undeclared (first use in this function)
fbmmx.c:1078: error: syntax error before 'vdest'
fbmmx.c:1079: error: 'vdest' undeclared (first use in this function)
fbmmx.c:1096: error: syntax error before 'dest0'
fbmmx.c:1099: error: 'dest0' undeclared (first use in this function)
fbmmx.c:1101: error: 'dest1' undeclared (first use in this function)
fbmmx.c:1104: error: syntax error before ')' token
fbmmx.c:1118: error: syntax error before 'vdest'
fbmmx.c: In function '_cairo_pixman_composite_src_8888x8x8888mmx':
fbmmx.c:1153: error: '__m64' undeclared (first use in this function)
fbmmx.c:1153: error: syntax error before 'vmask'
fbmmx.c:1156: error: syntax error before 'srca'
fbmmx.c:1165: error: 'vmask' undeclared (first use in this function)
fbmmx.c:1166: error: 'srca' undeclared (first use in this function)
fbmmx.c:1166: error: syntax error before 'c'
fbmmx.c:1178: error: syntax error before 's'
fbmmx.c:1181: error: 's' undeclared (first use in this function)
fbmmx.c:1181: error: 'd' undeclared (first use in this function)
fbmmx.c:1190: error: syntax error before 'vs'
fbmmx.c:1195: error: syntax error before ')' token
fbmmx.c:1206: error: syntax error before 's'
fbmmx.c: In function '_cairo_pixman_composite_src_x888x8x8888mmx':
fbmmx.c:1238: error: '__m64' undeclared (first use in this function)
fbmmx.c:1238: error: syntax error before 'vmask'
fbmmx.c:1241: error: syntax error before 'srca'
fbmmx.c:1250: error: 'vmask' undeclared (first use in this function)
fbmmx.c:1251: error: 'srca' undeclared (first use in this function)
fbmmx.c:1251: error: syntax error before 'c'
fbmmx.c:1263: error: syntax error before 's'
fbmmx.c:1266: error: 's' undeclared (first use in this function)
fbmmx.c:1266: error: 'd' undeclared (first use in this function)
fbmmx.c:1275: error: syntax error before 'vd0'
fbmmx.c:1293: error: 'vd0' undeclared (first use in this function)
fbmmx.c:1293: error: syntax error before 'pack8888'
fbmmx.c:1297: error: 'vd1' undeclared (first use in this function)
fbmmx.c:1297: error: syntax error before 'pack8888'
fbmmx.c:1301: error: 'vd2' undeclared (first use in this function)
fbmmx.c:1301: error: syntax error before 'pack8888'
fbmmx.c:1305: error: 'vd3' undeclared (first use in this function)
fbmmx.c:1305: error: syntax error before 'pack8888'
fbmmx.c:1309: error: 'vd4' undeclared (first use in this function)
fbmmx.c:1309: error: syntax error before 'pack8888'
fbmmx.c:1313: error: 'vd5' undeclared (first use in this function)
fbmmx.c:1313: error: syntax error before 'pack8888'
fbmmx.c:1317: error: 'vd6' undeclared (first use in this function)
fbmmx.c:1317: error: syntax error before 'pack8888'
fbmmx.c:1321: error: 'vd7' undeclared (first use in this function)
fbmmx.c:1321: error: syntax error before 'pack8888'
fbmmx.c:1325: error: syntax error before ')' token
fbmmx.c:1326: error: syntax error before ')' token
fbmmx.c:1327: error: syntax error before ')' token
fbmmx.c:1328: error: syntax error before ')' token
fbmmx.c:1329: error: syntax error before ')' token
fbmmx.c:1330: error: syntax error before ')' token
fbmmx.c:1331: error: syntax error before ')' token
fbmmx.c:1332: error: syntax error before ')' token
fbmmx.c:1341: error: syntax error before 's'
fbmmx.c: In function '_cairo_pixman_composite_src_8888x8888mmx':
fbmmx.c:1393: error: '__m64' undeclared (first use in this function)
fbmmx.c:1393: error: syntax error before 'ms'
fbmmx.c:1394: error: 'ms' undeclared (first use in this function)
fbmmx.c:1395: error: 'sa' undeclared (first use in this function)
fbmmx.c: In function '_cairo_pixman_composite_solid_mask_nx8x8888mmx':
fbmmx.c:1424: error: '__m64' undeclared (first use in this function)
fbmmx.c:1424: error: syntax error before 'vsrc'
fbmmx.c:1440: error: 'vsrc' undeclared (first use in this function)
fbmmx.c:1441: error: 'vsrca' undeclared (first use in this function)
fbmmx.c:1459: error: syntax error before 'vdest'
fbmmx.c:1460: error: 'vdest' undeclared (first use in this function)
fbmmx.c:1482: error: syntax error before 'vdest'
fbmmx.c:1485: error: syntax error before ')' token
fbmmx.c:1487: error: 'dest0' undeclared (first use in this function)
fbmmx.c:1487: error: syntax error before 'm0'
fbmmx.c:1488: error: 'dest1' undeclared (first use in this function)
fbmmx.c:1488: error: syntax error before 'm1'
fbmmx.c:1490: error: syntax error before ')' token
fbmmx.c:1506: error: syntax error before 'vdest'
fbmmx.c:1507: error: syntax error before 'm'
fbmmx.c: In function '_cairo_pixman_composite_solid_mask_src_nx8x8888mmx':
fbmmx.c:1539: error: '__m64' undeclared (first use in this function)
fbmmx.c:1539: error: syntax error before 'vsrc'
fbmmx.c:1558: error: 'vsrc' undeclared (first use in this function)
fbmmx.c:1559: error: 'vsrca' undeclared (first use in this function)
fbmmx.c:1577: error: syntax error before 'vdest'
fbmmx.c:1578: error: 'vdest' undeclared (first use in this function)
fbmmx.c:1604: error: syntax error before 'vdest'
fbmmx.c:1607: error: syntax error before ')' token
fbmmx.c:1609: error: 'dest0' undeclared (first use in this function)
fbmmx.c:1609: error: syntax error before 'm0'
fbmmx.c:1610: error: 'dest1' undeclared (first use in this function)
fbmmx.c:1610: error: syntax error before 'm1'
fbmmx.c:1612: error: syntax error before ')' token
fbmmx.c:1632: error: syntax error before 'vdest'
fbmmx.c:1633: error: syntax error before 'm'
fbmmx.c: In function '_cairo_pixman_composite_solid_mask_nx8x0565mmx':
fbmmx.c:1670: error: '__m64' undeclared (first use in this function)
fbmmx.c:1670: error: syntax error before 'vsrc'
fbmmx.c:1684: error: 'vsrc' undeclared (first use in this function)
fbmmx.c:1685: error: 'vsrca' undeclared (first use in this function)
fbmmx.c:1709: error: syntax error before 'vd'
fbmmx.c:1711: error: 'vdest' undeclared (first use in this function)
fbmmx.c:1735: error: syntax error before 'vdest'
fbmmx.c:1738: error: syntax error before ')' token
fbmmx.c:1740: error: 'vm0' undeclared (first use in this function)
fbmmx.c:1740: error: syntax error before 'm0'
fbmmx.c:1742: error: 'vm1' undeclared (first use in this function)
fbmmx.c:1742: error: syntax error before 'm1'
fbmmx.c:1744: error: 'vm2' undeclared (first use in this function)
fbmmx.c:1744: error: syntax error before 'm2'
fbmmx.c:1746: error: 'vm3' undeclared (first use in this function)
fbmmx.c:1746: error: syntax error before 'm3'
fbmmx.c:1749: error: syntax error before ')' token
fbmmx.c:1766: error: syntax error before 'vd'
fbmmx.c: In function '_cairo_pixman_composite_src_8888RevNPx0565mmx':
fbmmx.c:1818: error: '__m64' undeclared (first use in this function)
fbmmx.c:1818: error: syntax error before 'vsrc'
fbmmx.c:1820: error: syntax error before 'vdest'
fbmmx.c:1822: error: 'vdest' undeclared (first use in this function)
fbmmx.c:1822: error: 'vsrc' undeclared (first use in this function)
fbmmx.c:1850: error: syntax error before 'vdest'
fbmmx.c:1856: error: syntax error before ')' token
fbmmx.c:1860: error: syntax error before 'vdest'
fbmmx.c:1867: error: syntax error before ')' token
fbmmx.c:1879: error: syntax error before 'vsrc'
fbmmx.c:1881: error: syntax error before 'vdest'
fbmmx.c: In function '_cairo_pixman_composite_src_8888RevNPx8888_mmx':
fbmmx.c:1934: error: '__m64' undeclared (first use in this function)
fbmmx.c:1934: error: syntax error before 's'
fbmmx.c:1937: error: 's' undeclared (first use in this function)
fbmmx.c:1937: error: 'd' undeclared (first use in this function)
fbmmx.c:1948: error: syntax error before 'd0'
fbmmx.c:1958: error: 'd0' undeclared (first use in this function)
fbmmx.c:1959: error: 'd1' undeclared (first use in this function)
fbmmx.c:1961: error: syntax error before ')' token
fbmmx.c:1965: error: syntax error before 'vdest'
fbmmx.c:1967: error: 'vdest' undeclared (first use in this function)
fbmmx.c:1970: error: syntax error before ')' token
fbmmx.c:1980: error: syntax error before 's'
fbmmx.c: In function '_cairo_pixman_composite_solid_mask_nx8888x0565Cmmx':
fbmmx.c:2012: error: '__m64' undeclared (first use in this function)
fbmmx.c:2012: error: syntax error before 'vsrc'
fbmmx.c:2025: error: 'vsrc' undeclared (first use in this function)
fbmmx.c:2026: error: 'vsrca' undeclared (first use in this function)
fbmmx.c:2041: error: syntax error before 'vdest'
fbmmx.c:2042: error: 'vdest' undeclared (first use in this function)
fbmmx.c:2062: error: syntax error before 'vdest'
fbmmx.c:2069: error: syntax error before ')' token
fbmmx.c:2084: error: syntax error before 'vdest'
fbmmx.c: In function '_cairo_pixman_composite_src_add_8000x8000mmx':
fbmmx.c:2150: error: '__m64' undeclared (first use in this function)
fbmmx.c:2150: error: syntax error before ')' token
fbmmx.c: In function '_cairo_pixman_composite_src_add_8888x8888mmx':
fbmmx.c:2216: error: '__m64' undeclared (first use in this function)
fbmmx.c:2216: error: syntax error before ')' token
fbmmx.c: In function '_cairo_pixman_solid_fill_mmx':
fbmmx.c:2244: error: '__m64' undeclared (first use in this function)
fbmmx.c:2244: error: syntax error before 'vfill'
fbmmx.c:2276: error: 'vfill' undeclared (first use in this function)
fbmmx.c:2276: error: syntax error before 'fill'
fbmmx.c:2302: error: syntax error before ')' token
fbmmx.c:2303: error: syntax error before ')' token
fbmmx.c:2304: error: syntax error before ')' token
fbmmx.c:2305: error: syntax error before ')' token
fbmmx.c:2306: error: syntax error before ')' token
fbmmx.c:2307: error: syntax error before ')' token
fbmmx.c:2308: error: syntax error before ')' token
fbmmx.c:2309: error: syntax error before ')' token
fbmmx.c: In function '_cairo_pixman_copy_area_mmx':
fbmmx.c:2422: error: '__m64' undeclared (first use in this function)
fbmmx.c:2422: error: syntax error before ')' token
fbmmx.c:2422: error: syntax error before ')' token
fbmmx.c:2423: error: syntax error before ')' token
fbmmx.c:2423: error: syntax error before ')' token
fbmmx.c:2424: error: syntax error before ')' token
fbmmx.c:2424: error: syntax error before ')' token
fbmmx.c:2425: error: syntax error before ')' token
fbmmx.c:2425: error: syntax error before ')' token
fbmmx.c:2426: error: syntax error before ')' token
fbmmx.c:2426: error: syntax error before ')' token
fbmmx.c:2427: error: syntax error before ')' token
fbmmx.c:2427: error: syntax error before ')' token
fbmmx.c:2428: error: syntax error before ')' token
fbmmx.c:2428: error: syntax error before ')' token
fbmmx.c:2429: error: syntax error before ')' token
fbmmx.c:2429: error: syntax error before ')' token
make[3]: *** [fbmmx.lo] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive-am] Error 2

Commenting out "#define USE_MMX" in config.h not solved the problem.
Comment 1 Carl Worth 2005-11-18 01:19:17 UTC
Something is not working with the configure-time check for MMX support.

If you look at configure.in, you'll find a block (copied below) which attempts
to compile a small test program that includes mmintrin.h. From your report it
appears that that test is succeeding, but the actual use of mmintrin.h is failing.

So it would be helpful to look at config.log and compare the relevant portion to
the failing part of the build to find out what the difference is.

In the meantime, you should be able to workaround the problem by turning off the
MMX stuff. I mentioned hacking config.h before, but that's not enough. Instead,
you could add:

    have_mmx_intrinsics=no

Just before the "if test $have_mmx_intrinsics = yes" line in configure.in.

Good luck!

-Carl

dnl ===========================================================================
dnl Check for MMX

MMX_CFLAGS="-mmmx -Winline --param inline-unit-growth=10000 --param
large-function\-growth=10000"

have_mmx_intrinsics=no
AC_MSG_CHECKING(For MMX/SSE intrinsics in the compiler)
xserver_save_CFLAGS=$CFLAGS
CFLAGS="$CFLAGS $MMX_CFLAGS"
AC_COMPILE_IFELSE([
#if defined(__GNUC__) && (__GNUC__ < 3 || (__GNUC__ == 3 && __GNUC_MINOR__ < 4))
#error "Need GCC >= 3.4 for MMX intrinsics"
#endif
#include <mmintrin.h>
int main () {
    __m64 v = _mm_cvtsi32_si64 (1);
    __m64 w = _mm_slli_si64 (v, 1);
    v = _mm_or_si64 (v, w);
    return _mm_cvtsi64_si32 (v);
}], have_mmx_intrinsics=yes)
CFLAGS=$xserver_save_CFLAGS
AC_MSG_RESULT($have_mmx_intrinsics)

if test $have_mmx_intrinsics = yes ; then
   AC_DEFINE(USE_MMX, 1, [use MMX compiler intrinsics])
else
   MMX_CFLAGS=
fi
AC_SUBST(MMX_CFLAGS)

AM_CONDITIONAL(USE_MMX, test $have_mmx_intrinsics = yes)

Comment 2 Billy Biggs 2005-11-18 01:50:08 UTC
Can you confirm that when this file is compiled, it is adding -mmmx to the
compile line?
Comment 3 Kalle Vahlman 2007-07-12 05:25:45 UTC
Marking as NEEDINFO, since this is pending input from original reporter.

If possible, please test compiling again with more recent release or with a version from the git repository.

Dowload instructions are available from http://cairographics.org/download/
Comment 4 Benjamin Close 2008-01-11 02:36:12 UTC
Bugzilla Upgrade Mass Bug Change

NEEDSINFO state was removed in Bugzilla 3.x, reopening any bugs previously listed as NEEDSINFO.

  - benjsc
    fd.o Wrangler
Comment 5 Sergey Safonov 2008-01-11 04:02:50 UTC
I think bug can be closed, because it doesn't reproduce anymore.
Comment 6 Chris Wilson 2008-01-11 07:00:37 UTC
Closing at Sergey's request - thanks for the report.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.