On Sat, Feb 09, 2013 at 06:35:41PM +0000, Brian Candler wrote:
Making all in src
GEN util/virkeymaps.h
GEN locking/lock_protocol.h
GEN locking/lock_protocol.c
GEN locking/lock_daemon_dispatch_stubs.h
GEN lxc/lxc_protocol.h
unsigned hyper initpid;
^^^^^^^^^^^^^^^^^^^^^^^^^^
lxc/lxc_protocol.x, line 18: expected ';'
cannot shutdown /usr/bin/rpcgen: at ./rpc/genprotocol.pl line 124.
An attempted workaround, with help of a Linux VM (ubuntu 12.04):
[src/rpc/genprotocol.pl]
-open RPCGEN, "-|", $rpcgen, $mode, $xdrdef
+open RPCGEN, "ssh linuxvm rpcgen $mode <$xdrdef |"
This appears to build the files OK, but leads to other errors:
...
/usr/bin/ranlib: file: .libs/libgnu.a(fd-hook.o) has no symbols
/usr/bin/ranlib: file: .libs/libgnu.a(threadlib.o) has no symbols
ranlib: file: .libs/libgnu.a(fd-hook.o) has no symbols
ranlib: file: .libs/libgnu.a(threadlib.o) has no symbols
...
/usr/bin/ranlib: file: .libs/libvirt_util.a(libvirt_util_la-stats_linux.o) has no symbols
ranlib: file: .libs/libvirt_util.a(libvirt_util_la-stats_linux.o) has no symbols
...
CC libvirt_driver_test_la-test_driver.lo
CCLD libvirt_driver_test.la
CC libvirt_driver_remote_la-remote_driver.lo
remote/remote_driver.c:128: error: expected declaration specifiers or '...' before
'remote_nonnull_domain'
remote/remote_driver.c:129: error: expected declaration specifiers or '...' before
'remote_nonnull_network'
remote/remote_driver.c:130: error: expected declaration specifiers or '...' before
'remote_nonnull_nwfilter'
... snip tons of later errors ...
src/remote/remote_driver.c line 128 is:
static virDomainPtr get_nonnull_domain(virConnectPtr conn, remote_nonnull_domain domain);
but I can't see where virDomainPtr, virConnectPtr, remote_nonnull_domain are
(supposed to be) defined.
Regards,
Brian.