I had the same problem when compiling libxenserver-6.0.0-1-src. The
solution was the same as above, i.e. changing the line 65 of the
Makefile like this:
$(CC) $(LDFLAGS) -o $@ $< -L . -lxenserver
becomes:
$(CC) -o $@ $< -L . -lxenserver $(LDFLAGS)
Then the compilation worked just fine.
Diff:
-----------------------
@@ -62,7 +62,7 @@
$(AR) rcs libxenserver.a $^
$(TEST_PROGRAMS): test/%: test/%.o libxenserver.so
- $(CC) $(LDFLAGS) -o $@ $< -L . -lxenserver
+ $(CC) -o $@ $< -L . -lxenserver $(LDFLAGS)
.PHONY: install
-----------------------
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1032639
Title:
can not link against libxml2
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libxml2/+bug/1032639/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs