Hello,

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).

I could modify my spec file to skip "make check" when 0%{?rhel} == 5, but
I'd rather not do that if possible.

Here is the error:

test-api.c: In function ‘testToXml’:
test-api.c:531: warning: implicit declaration of function
‘xmlFirstElementChild’
test-api.c:531: warning: nested extern declaration of ‘xmlFirstElementChild’
test-api.c:531: warning: assignment makes pointer from integer without a
cast
test-api.c:540: warning: assignment makes pointer from integer without a
cast
test-api.c:551: warning: assignment makes pointer from integer without a
cast
  CCLD     test-api
test-api.o: In function `testToXml':
/home/rss/src/augt/augeas-1.7.0/tests/test-api.c:531: undefined reference
to `xmlFirstElementChild'
/home/rss/src/augt/augeas-1.7.0/tests/test-api.c:540: undefined reference
to `xmlFirstElementChild'
/home/rss/src/augt/augeas-1.7.0/tests/test-api.c:551: undefined reference
to `xmlFirstElementChild'
collect2: ld returned 1 exit status
make[1]: *** [test-api] Error 1
make[1]: Leaving directory `/home/rss/src/augt/augeas-1.7.0/tests'
make: *** [check-am] Error 2
[[email protected] tests]$
_______________________________________________
augeas-devel mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/augeas-devel

Reply via email to