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

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

 



On Mon, Jul 05, 2010 at 07:40:50PM +0900, Ryota Ozaki wrote:
> On Mon, Jul 5, 2010 at 6:52 PM, Daniel P. Berrange <berrange@xxxxxxxxxx> 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.

  Weird, I'm F12 too, git pulled and followed exactly the same steps and
no problem here:

Making all in daemon
  GEN    libvirtd.lxc.logrotate
  GEN    libvirtd.uml.logrotate
  GEN    libvirtd.init
  GEN    libvirt-guests.init
  CC     libvirtd-event.o
  CC     libvirtd-libvirtd.o
  CC     libvirtd-remote.o
  CC     libvirtd-dispatch.o
  CC     libvirtd-stream.o

paphio:~/libvirt -> uname -a
Linux paphio.veillard.com 2.6.32.14-127.fc12.x86_64 #1 SMP Fri May 28
04:30:39 UTC 2010 x86_64 x86_64 x86_64 GNU/Linux

  it's an F12 fully updated.

Daniel

-- 
Daniel Veillard      | libxml Gnome XML XSLT toolkit  http://xmlsoft.org/
daniel@xxxxxxxxxxxx  | Rpmfind RPM search engine http://rpmfind.net/
http://veillard.com/ | virtualization library  http://libvirt.org/

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



[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]