Martin Koegler <martin.koegler@chello.at> writes:
The build fails with: [ 44s] cc -lxml2 -lpthread xml2man.o strcompat.o -o xml2man [ 44s] xml2man.o: In function `writeData_sub': [ 44s] /home/abuild/rpmbuild/BUILD/headerdoc-8.9.14/xmlman/xml2man.c:730: undefined reference to `xmlUnlinkNode'
This means, that cc does not find libxml2.
It does, but there are no references to it at this point. They only come in later on the command line, but then it's already too late. Object files and libraries are processed in order they are listed, and if a library doesn't resolve an undefined reference it is ignored. Andreas. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different." -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org