WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] unstable build broken again

To: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
Subject: Re: [Xen-devel] unstable build broken again
From: Mike Wray <mike.wray@xxxxxx>
Date: Tue, 24 May 2005 14:59:33 +0100
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Tue, 24 May 2005 14:08:42 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <3501f1d43780e52280ba15434c07caed@xxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <4292EC68.8050706@xxxxxx> <3501f1d43780e52280ba15434c07caed@xxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla Thunderbird 1.0.2 (X11/20050317)
Keir Fraser wrote:

On 24 May 2005, at 09:57, Mike Wray wrote:

gcc   -m elf_i386    -o xc_restore
gcc: no input files


We just checked in a few fixes to the xcutils/Makefile, but none are intended to fix the above error. I don't see how make can be missing xc_restore.o as a prerequisite for xc_restore: very odd.


I get a different error now:

gcc -Wall -Werror -g3 -D _XOPEN_SOURCE=600 -I ../../tools/python/xen/lowlevel/xc -I ../../tools/libxc -I ../../tools/libxutil -o xcsdump xcsdump.c -L../../tools/libxc -L../../tools/libxutil \
              ctrl_interface.c evtchn.c dump.c -lxc -lxutil
install -d -m0755 -p /home/mjw/repos-bk/xeno-unstable.bk/dist/install//usr/sbin
install -d -m0755 -p 
/home/mjw/repos-bk/xeno-unstable.bk/dist/install/usr/include
install -m0755 xcs /home/mjw/repos-bk/xeno-unstable.bk/dist/install//usr/sbin
install -m0755 xcsdump 
/home/mjw/repos-bk/xeno-unstable.bk/dist/install//usr/sbin
install -m0755 xcs_proto.h 
/home/mjw/repos-bk/xeno-unstable.bk/dist/install/usr/include
make[3]: Leaving directory `/home/mjw/repos-bk/xeno-unstable.bk/tools/xcs'
make[3]: Entering directory `/home/mjw/repos-bk/xeno-unstable.bk/tools/xcutils'
gcc   -m elf_i386   -L../../tools/libxc -L../../tools/libxutil -lxc -lxutil -o 
xc_restore
/usr/lib/gcc-lib/i386-redhat-linux/3.2.2/../../../crt1.o(.text+0x18): In 
function `_start':
../sysdeps/i386/elf/start.S:77: undefined reference to `main'
collect2: ld returned 1 exit status
make[3]: *** [xc_restore] Error 1
make[3]: Leaving directory `/home/mjw/repos-bk/xeno-unstable.bk/tools/xcutils'
make[2]: *** [install] Error 2
make[2]: Leaving directory `/home/mjw/repos-bk/xeno-unstable.bk/tools'
make[1]: *** [tools] Error 2
make[1]: Leaving directory `/home/mjw/repos-bk/xeno-unstable.bk'
make: *** [world] Error 2

Looking at the gcc line it's only linking -L libs and crt1.0, no other objects.

Mike

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel