|  |  | 
  
    |  |  | 
 
  |   |  | 
  
    |  |  | 
  
    |  |  | 
  
    |   xen-devel
Re: [Xen-devel] unstable build broken again 
| 
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
 | 
 |  | 
  
    |  |  |