[libvirt] [PATCH] daemon: Fix compilation error of dispatch.c

Ryota Ozaki ozaki.ryota at gmail.com
Mon Jul 5 10:40:50 UTC 2010


On Mon, Jul 5, 2010 at 6:52 PM, Daniel P. Berrange <berrange at redhat.com> wrote:
> On Sun, Jul 04, 2010 at 07:02:32AM +0900, Ryota Ozaki wrote:
>> [error message]
>>   CC     libvirtd-dispatch.o
>> dispatch.c: In function 'remoteDispatchFormatError':
>> dispatch.c:83: error: 'va_list' undeclared (first use in this function)
>> dispatch.c:83: error: (Each undeclared identifier is reported only once
>> dispatch.c:83: error: for each function it appears in.)
>> dispatch.c:83: error: expected ';' before 'args'
>> cc1: warnings being treated as errors
>> dispatch.c:87: error: implicit declaration of function 'va_start' [-Wimplicit-function-declaration]
>> dispatch.c:87: error: nested extern declaration of 'va_start' [-Wnested-externs]
>> dispatch.c:87: error: 'args' undeclared (first use in this function)
>> dispatch.c:88: error: implicit declaration of function 'vsnprintf' [-Wimplicit-function-declaration]
>> dispatch.c:89: error: implicit declaration of function 'va_end' [-Wimplicit-function-declaration]
>> dispatch.c:89: error: nested extern declaration of 'va_end' [-Wnested-externs]
>
> What build platform do you see these errors on ?

Fedora 12.

I've confirmed with a clean slate, but the errors still happen.
What I've done is:
./autogen.sh --enable-compile-warnings=error --enable-debug
nice make -sj2

The errors still happen when --enable-debug dropped.

Thanks.
  ozaki-r

>
> Regards,
> Daniel
> --
> |: Red Hat, Engineering, London    -o-   http://people.redhat.com/berrange/ :|
> |: http://libvirt.org -o- http://virt-manager.org -o- http://deltacloud.org :|
> |: http://autobuild.org        -o-         http://search.cpan.org/~danberr/ :|
> |: GnuPG: 7D3B9505  -o-   F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 :|
>




More information about the libvir-list mailing list