From: "David Denny" <david_denny@verizon.net>
To: xen-devel@lists.xen.org
Subject: [BUG] Bugs during building 4.3.1
Date: Sun, 03 Nov 2013 13:02:19 -0500 [thread overview]
Message-ID: <00d401ced8be$d7289530$8579bf90$@net> (raw)
[-- Attachment #1.1: Type: text/plain, Size: 817 bytes --]
Hi!
Thanks for the great software! I use it constantly. Thought I'd let you
know of a few issues I ran into. #3 might be pretty easy to fix.
1. No spaces allowed in the base directory path! I guess some quotes
are missing on variables in the makefiles. At least this is a "known
limitation."
2. Configuration process does not check for openssl and x11, which I
believe are both required.
3. APPEND_LIB doesn't carry through to all the makefiles.
My openssl and x11 libraries are in non-standard locations (not in /usr/X11
or /usr/openssl).
I've provided three very trivial patches that I hope will be more
illustrative than my typing, but they are probably not production grade.
I applied them prior to configuration and got a clean build.
Best regards,
David
[-- Attachment #1.2: Type: text/html, Size: 4541 bytes --]
[-- Attachment #2: xen-makefile.patch --]
[-- Type: application/octet-stream, Size: 804 bytes --]
--- tools/blktap/drivers/Makefile 2013-11-03 11:11:39.935857730 -0500
+++ tools/blktap/drivers/Makefile.new 2013-11-03 11:10:55.765494493 -0500
@@ -57,16 +57,16 @@
all: $(IBIN) qcow-util
blktapctrl: $(BLKTAB-OBJS-y)
- $(CC) $(LDFLAGS) -o $@ $^ $(LDLIBS_blktapctrl)
+ $(CC) $(LDFLAGS) -o $@ $^ $(LDLIBS_blktapctrl) $(APPEND_LDFLAGS)
tapdisk: tapdisk.o $(BLK-OBJS-y)
- $(CC) $(LDFLAGS) -o $@ $^ $(LDLIBS_img)
+ $(CC) $(LDFLAGS) -o $@ $^ $(LDLIBS_img) $(APPEND_LDFLAGS)
.PHONY: qcow-util
qcow-util: img2qcow qcow2raw qcow-create
img2qcow qcow2raw qcow-create: %: %.o $(BLK-OBJS-y)
- $(CC) $(LDFLAGS) -o $* $^ $(LDLIBS_img)
+ $(CC) $(LDFLAGS) -o $* $^ $(LDLIBS_img) $(APPEND_LDFLAGS)
install: all
$(INSTALL_PROG) $(IBIN) $(QCOW_UTIL) $(VHD_UTIL) $(DESTDIR)$(SBINDIR)
[-- Attachment #3: xen-makefile2.patch --]
[-- Type: application/octet-stream, Size: 514 bytes --]
--- tools/qemu-xen-traditional/rules.mak 2013-11-03 12:01:27.320113656 -0500
+++ tools/qemu-xen-traditional/rules.mak.new 2013-11-03 11:55:00.186984301 -0500
@@ -8,7 +8,7 @@
%.o: %.m
$(call quiet-command,$(CC) $(CFLAGS) $(CPPFLAGS) -c -o $@ $<," OBJC $(TARGET_DIR)$@")
-LINK = $(call quiet-command,$(CC) $(LDFLAGS) -o $@ $^ $(LIBS)," LINK $(TARGET_DIR)$@")
+LINK = $(call quiet-command,$(CC) $(LDFLAGS) -o $@ $^ $(APPEND_LDFLAGS) $(LIBS)," LINK $(TARGET_DIR)$@")
%$(EXESUF): %.o
$(LINK)
[-- Attachment #4: xen-makefile3.patch --]
[-- Type: application/octet-stream, Size: 733 bytes --]
--- tools/qemu-xen/rules.mak 2013-10-10 10:20:18.000000000 -0400
+++ tools/qemu-xen/rules.mak.new 2013-11-03 12:44:47.681054056 -0500
@@ -31,7 +31,8 @@
%.o: %.m
$(call quiet-command,$(OBJCC) $(QEMU_INCLUDES) $(QEMU_CFLAGS) $(QEMU_DGFLAGS) $(CFLAGS) -c -o $@ $<," OBJC $(TARGET_DIR)$@")
-LINK = $(call quiet-command,$(CC) $(QEMU_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@ $(sort $(filter %.o, $1)) $(filter-out %.o, $1) $(LIBS)," LINK $(TARGET_DIR)$@")
+APPEND_LDFLAGS += -L/opt/openssl/lib -L/usr/x11/lib
+LINK = $(call quiet-command,$(CC) $(QEMU_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@ $(sort $(filter %.o, $1)) $(filter-out %.o, $1) $(APPEND_LDFLAGS) $(LIBS)," LINK $(TARGET_DIR)$@")
%$(EXESUF): %.o
$(call LINK,$^)
[-- Attachment #5: Type: text/plain, Size: 126 bytes --]
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel
next reply other threads:[~2013-11-03 18:02 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-11-03 18:02 David Denny [this message]
2013-11-03 18:24 ` [BUG] Bugs during building 4.3.1 Andrew Cooper
2013-11-03 20:16 ` David Denny
2013-11-04 11:15 ` Ian Campbell
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='00d401ced8be$d7289530$8579bf90$@net' \
--to=david_denny@verizon.net \
--cc=xen-devel@lists.xen.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.