<div dir="ltr">Hello,<div><br></div><div>I'm trying to create an RPM file for EL5 platforms but am having trouble with "make check" in the "tests" directory.   Augeas compiles fine otherwise on EL5 platforms.  I'd love if if you could consider modifying test-api.c function testToXml to use libxml2-2.6 APIs (rather than libxml2-2.7).</div><div><br></div><div>I could modify my spec file to skip "make check" when 0%{?rhel} == 5, but I'd rather not do that if possible.</div><div><br></div><div>Here is the error:</div><div><br></div><div><div>test-api.c: In function ‘testToXml’:</div><div>test-api.c:531: warning: implicit declaration of function ‘xmlFirstElementChild’</div><div>test-api.c:531: warning: nested extern declaration of ‘xmlFirstElementChild’</div><div>test-api.c:531: warning: assignment makes pointer from integer without a cast</div><div>test-api.c:540: warning: assignment makes pointer from integer without a cast</div><div>test-api.c:551: warning: assignment makes pointer from integer without a cast</div><div>  CCLD     test-api</div><div>test-api.o: In function `testToXml':</div><div>/home/rss/src/augt/augeas-1.7.0/tests/test-api.c:531: undefined reference to `xmlFirstElementChild'</div><div>/home/rss/src/augt/augeas-1.7.0/tests/test-api.c:540: undefined reference to `xmlFirstElementChild'</div><div>/home/rss/src/augt/augeas-1.7.0/tests/test-api.c:551: undefined reference to `xmlFirstElementChild'</div><div>collect2: ld returned 1 exit status</div><div>make[1]: *** [test-api] Error 1</div><div>make[1]: Leaving directory `/home/rss/src/augt/augeas-1.7.0/tests'</div><div>make: *** [check-am] Error 2</div><div>[rgm@rgm.dev.lan tests]$</div><div><br></div>
</div></div>