On Tue, Jul 26, 2011 at 11:45:19AM -0600, Eric Blake thus spake:
On 07/26/2011 10:40 AM, Jason Helfman wrote:
> Thanks! I have this error now, though. No difference between the tarball
> source and the git sources for this file.
>
> remote.c:1643: error: 'tmp' undeclared (first use in this function)
> gmake[3]: *** [libvirtd-remote.o] Error 1
That's odd. Line 1643 is in remoteDispatchDomainGetBlockJobInfo, which
unconditionally declares virDomainBlockJobInfo tmp at line 1631. I
can't see why you would be running into a compilation error here; can
you give us better details?
remote.c: At top level:
remote.c:409: error: negative width in bit-field
'_gl_verify_error_if_negative'
remote.c: In function 'remoteDispatchDomainGetBlockJobInfo':
remote.c:1630: error: 'virDomainBlockJobInfo' undeclared (first use in this
function)
remote.c:1630: error: (Each undeclared identifier is reported only once
remote.c:1630: error: for each function it appears in.)
remote.c:1630: error: expected ';' before 'tmp'
remote.c:1643: warning: implicit declaration of function
'virDomainGetBlockJobInfo'
remote.c:1643: warning: nested extern declaration of
'virDomainGetBlockJobInfo' [-Wnested-externs]
remote.c:1643: error: 'tmp' undeclared (first use in this function)
gmake[3]: *** [libvirtd-remote.o] Error 1
gmake[3]: Leaving directory
`/home/jhelfman/ports/devel/libvirt/work/libvirt-0.9.4/daemon'
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory
`/home/jhelfman/ports/devel/libvirt/work/libvirt-0.9.4/daemon'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory
`/home/jhelfman/ports/devel/libvirt/work/libvirt-0.9.4'
gmake: *** [all] Error 2
*** Error code 1
--
Jason Helfman
System Administrator
experts-exchange.com
http://www.experts-exchange.com/M_4830110.html
E4AD 7CF1 1396 27F6 79DD 4342 5E92 AD66 8C8C FBA5