<div dir="ltr">Hi , I am trying to build latest cairo from git in archlinux but i get the following error.....<div><br></div><div><div>make[5]: Leaving directory '/home/pranav/jhbuild/checkout/cairo/boilerplate'</div>
<div> CC any2ppm-any2ppm.o</div><div> CCLD any2ppm</div><div> CCLD cairo-test-suite</div><div>cairo_test_suite-cairo-test-runner.o: In function `_parse_cmdline':</div><div>/home/pranav/jhbuild/checkout/cairo/test/cairo-test-runner.c:355: undefined reference to `_cairo_getopt'</div>
<div>../test/pdiff/.libs/libpdiff.a(pdiff.o): In function `pdiff_compare':</div><div>/home/pranav/jhbuild/checkout/cairo/test/pdiff/pdiff.c:321: undefined reference to `lpyramid_create'</div><div>/home/pranav/jhbuild/checkout/cairo/test/pdiff/pdiff.c:322: undefined reference to `lpyramid_create'</div>
<div>/home/pranav/jhbuild/checkout/cairo/test/pdiff/pdiff.c:353: undefined reference to `lpyramid_get_value'</div><div>/home/pranav/jhbuild/checkout/cairo/test/pdiff/pdiff.c:353: undefined reference to `lpyramid_get_value'</div>
<div>/home/pranav/jhbuild/checkout/cairo/test/pdiff/pdiff.c:354: undefined reference to `lpyramid_get_value'</div><div>/home/pranav/jhbuild/checkout/cairo/test/pdiff/pdiff.c:354: undefined reference to `lpyramid_get_value'</div>
<div>/home/pranav/jhbuild/checkout/cairo/test/pdiff/pdiff.c:356: undefined reference to `lpyramid_get_value'</div><div>../test/pdiff/.libs/libpdiff.a(pdiff.o):/home/pranav/jhbuild/checkout/cairo/test/pdiff/pdiff.c:357: more undefined references to `lpyramid_get_value' follow</div>
<div>../test/pdiff/.libs/libpdiff.a(pdiff.o): In function `pdiff_compare':</div><div>/home/pranav/jhbuild/checkout/cairo/test/pdiff/pdiff.c:412: undefined reference to `lpyramid_destroy'</div><div>/home/pranav/jhbuild/checkout/cairo/test/pdiff/pdiff.c:413: undefined reference to `lpyramid_destroy'</div>
<div>collect2: error: ld returned 1 exit status</div><div>Makefile:1750: recipe for target 'cairo-test-suite' failed</div><div>make[4]: *** [cairo-test-suite] Error 1</div><div>make[4]: Leaving directory '/home/pranav/jhbuild/checkout/cairo/test'</div>
<div>Makefile:8121: recipe for target 'all-recursive' failed</div><div>make[3]: *** [all-recursive] Error 1</div><div>make[3]: Leaving directory '/home/pranav/jhbuild/checkout/cairo/test'</div><div>Makefile:1691: recipe for target 'all' failed</div>
<div>make[2]: *** [all] Error 2</div><div>make[2]: Leaving directory '/home/pranav/jhbuild/checkout/cairo/test'</div><div>Makefile:897: recipe for target 'all-recursive' failed</div><div>make[1]: *** [all-recursive] Error 1</div>
<div>make[1]: Leaving directory '/home/pranav/jhbuild/checkout/cairo'</div><div>Makefile:747: recipe for target 'all' failed</div><div>make: *** [all] Error 2</div></div><div><br></div><div>i have added the following the flags to configure ....</div>
<div>--disable-static --disable-lto --disable-cairo-spinx --disable-trace --disable-test-suite<br></div><div>I dont know why but it still builds the cairo test suite and gives me the above compile error.</div><div>I am using gcc 4.9.0.</div>
<div>can anyone guide me.</div></div>