Re: build problems with latest cvs version

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, May 04, 2007 at 06:54:52PM +0200, Jan Michael wrote:
> Mark McLoughlin wrote:
> 
> >On Fri, 2007-05-04 at 17:22 +0200, Jan Michael wrote:
> >
> >>bridge.c: In function `brAddBridge':
> >>bridge.c:130: error: `SIOCBRADDBR' undeclared (first use in this
> >>function)
> >
> >	As Rich says, this should certainly be in the 2.6.20 kernel.
> 
> I replaced the the wrong headerfile with this one from the original  
> 2.6.18 sources.
> 
> 
> >>bridge.c: In function `brSetForwardDelay':
> >>bridge.c:481: error: `SYSFS_BRIDGE_ATTR' undeclared (first use in
> >>this function)
> >
> >	To get this you want libsysfs. If you don't have it, just build with
> >--disable-bridge-params and you probably won't notice any difference.
> 
> I did the configure step with the following parameters including -- 
> disable-bridge-params as suggested by Mark:
> 
>  ./configure --disable-shared --disable-bridge-params --with-test=no  
> --with-qemu=no
> 
> But make failed again. This time in libvirt/test directory. Is this  
> mandatory for using libvirt?
> 
> <make error>
> gcc -g -O2 -o xmlrpctest xmlrpctest.o testutils.o xmlrpc.o  -L/usr/ 
> lib /usr/lib/libxml2.so -lz -lpthread -lm -lxenstore
> xmlrpctest.o(.text+0x24b): In function `testMarshalRequestINT':
> /opt/test/libvirt/tests/xmlrpctest.c:142: undefined reference to  
> `virBufferFree'

[snip]

> </make error>
> 
> I already tried to disable the testing feature with --with-test=no.  
> But I suppose that this is not the right way.

The --with-test  disables the 'test' hypervisor driver, not the test
suite. The problem you see is because you used '--disable-shared' in
the configure script. We aren't currently able to build the test suite
if shared libraries are disabled.

Regards,
Dan.
-- 
|=- Red Hat, Engineering, Emerging Technologies, Boston.  +1 978 392 2496 -=|
|=-           Perl modules: http://search.cpan.org/~danberr/              -=|
|=-               Projects: http://freshmeat.net/~danielpb/               -=|
|=-  GnuPG: 7D3B9505   F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505  -=| 


[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]