From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mike Wray Subject: Re: unstable build broken again Date: Tue, 24 May 2005 14:59:33 +0100 Message-ID: <42933345.9060304@hp.com> References: <4292EC68.8050706@hp.com> <3501f1d43780e52280ba15434c07caed@cl.cam.ac.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <3501f1d43780e52280ba15434c07caed@cl.cam.ac.uk> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Keir Fraser Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org 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