hmm...It looks like this is not the only problem.

If I do a clean build with the following options:
./autogen.sh --enable-compile-warnings=error \
                                 --with-xen \             
                                 --without-uml \          
                                 --with-storage-disk \    
                                 --with-storage-iscsi \   
                                 --prefix=/usr

I get an error when building testutilsxen.c

gcc -DHAVE_CONFIG_H -I. -I.. -I../gnulib/lib -I../gnulib/lib -I../include 
-I../src -I../include -I../src -I/usr/include/libxml2      
-DGETTEXT_PACKAGE=\"libvirt\"  -Wall -Wformat -Wformat-security 
-Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wextra -Wshadow 
-Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Winline 
-Wredundant-decls -Wno-sign-compare -Wp,-D_FORTIFY_SOURCE=2 -fexceptions 
-fasynchronous-unwind-tables      -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 
-fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic 
-MT testutilsxen.o -MD -MP -MF .deps/testutilsxen.Tpo -c -o testutilsxen.o 
testutilsxen.c
make[4]: *** No rule to make target `../src/libvirt_driver_xen.la', needed by 
`xml2sexprtest'.  Stop.


...it would appear that some dependency is incorrect...


Ben Guthro wrote on 11/21/2008 06:52 AM:
> 
> Oh - sorry for not getting back to you about this.
> Yes - it does solve it for me.
> 
> +1
> 
> -----Original Message-----
> From: Daniel P. Berrange [mailto:[EMAIL PROTECTED]
> Sent: Fri 11/21/2008 5:12 AM
> To: Ben Guthro
> Cc: libvir-list
> Subject: Re: [libvirt] --with-xen=foo
> 
> On Thu, Nov 20, 2008 at 06:30:38PM +0000, Daniel P. Berrange wrote:
>> On Thu, Nov 20, 2008 at 01:27:40PM -0500, Ben Guthro wrote:
>> > I tried this...didn't seem to help:
>>
>> Sorry, not paying close enough attention. In fact this file was
>> built in an earlier module. Find the line which says
>>
>> libvirt_driver_la_SOURCES =                                     \
>>                 $(DRIVER_SOURCES)                               \
>>                 $(DOMAIN_CONF_SOURCES)                          \
>>                 $(NETWORK_CONF_SOURCES)                         \
>>                 $(STORAGE_CONF_SOURCES)                         \
>>                 $(NODE_DEVICE_CONF_SOURCES)
>>
>> And add in a line following that
>>
>> libvirt_driver_la_CFLAGS = $(XEN_CFLAGS)
> 
> On the assumption that this fixed it for you, I've committed this change
> 
> Regards,
> Daniel
> --
> |: Red Hat, Engineering, London   -o-  
> http://people.redhat.com/berrange/ :|
> |: http://libvirt.org  -o-  http://virt-manager.org  -o- 
> http://ovirt.org :|
> |: http://autobuild.org       -o-        
> http://search.cpan.org/~danberr/ :|
> |: GnuPG: 7D3B9505  -o-  F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B
> 9505 :|
> 
> 
> ------------------------------------------------------------------------
> 
> --
> Libvir-list mailing list
> Libvir-list@redhat.com
> https://www.redhat.com/mailman/listinfo/libvir-list

--
Libvir-list mailing list
Libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list

Reply via email to