Fix building of kvmctl
PATCH 1/1 Fix building of kvmctl
# HG changeset patch
# User Jerone Young <jyoung5-r/[email protected]> # Date 1194551969 21600
# Node ID c08b2667a95ecd85effb1d5f5d84e235f9e8d6cc
# Parent d6fa0d16fa60ee5083877fec698b69cea840d0b0
Fix building of kvmctl
This patch creates the make rule needed to for the linker to link libkvm archive and main.o object to compile kvmctl correctly. Also fixes order at which objects are seen when linking, so that they can link correctly.
user/Makefile +1 -0
@@ -31,6 +31,7 @@ kvmctl: LDFLAGS += -pthread -lrt kvmctl: LDFLAGS += -pthread -lrt kvmctl: $(kvmctl_objs) + $(CC) $(LDFLAGS) $^ -o $@ %.flat: %.o $(CC) $(CFLAGS) -nostdlib -o $@ -Wl,-T,flat.lds $^
user/config-x86-common.mak +1 -1
@@ -2,7 +2,7 @@ all: kvmctl test_cases -kvmctl_objs=../libkvm/libkvm.a main.o +kvmctl_objs= main.o ../libkvm/libkvm.a balloon_ctl: balloon_ctl.o
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/
Avi Kivity
AppliedQuoted 7 lines · Jerone Young
# HG changeset patch
# User Jerone Young <jyoung5-r/[email protected]> # Date 1194551969 21600
# Node IDc08b2667a95ecd85effb1d5f5d84e235f9e8d6cc
# Parentd6fa0d16fa60ee5083877fec698b69cea840d0b0
Fix building of kvmctl
Quoted 6 lines
This patch creates the make rule needed to for the linker to link libkvm archive and main.o object to compile kvmctl correctly. Also fixes order at which objects are seen when linking, so that they can link correctly.
Applied, thanks.
Signature · 8 lines
error compiling committee.c: too many arguments to function ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/