Hi,
I'm trying to compile libvirt on slackware 13.37 with kernel 3.0
I think the problem is that i used wrong rpc lib
i have used portablexdr-4.9.1 e libtirpc-0.2.2
this is the error :
CCLD libvirt_driver_test.la
CC libvirt_driver_remote_la-remote_driver.lo
In file included from ../src/rpc/virnetprotocol.h:9:0,
from ../src/rpc/virnetmessage.h:24,
from ../src/rpc/virnetclient.h:27,
from remote/remote_driver.c:31:
/usr/include/tirpc/rpc/rpc.h:84:12: warning: redundant redeclaration of 'bindresvport' [-Wredundant-decls]
/usr/include/netinet/in.h:440:12: note: previous declaration of 'bindresvport' was here
CC libvirt_driver_remote_la-remote_protocol.lo
In file included from ./remote/remote_protocol.h:9:0,
from ./remote/remote_protocol.c:7:
/usr/include/tirpc/rpc/rpc.h:84:12: warning: redundant redeclaration of 'bindresvport' [-Wredundant-decls]
/usr/include/netinet/in.h:440:12: note: previous declaration of 'bindresvport' was here
./remote/remote_protocol.c: In function 'xdr_remote_vcpu_info':
./remote/remote_protocol.c:256:10: warning: implicit declaration of function 'xdr_uint64_t' [-Wimplicit-function-declaration]
./remote/remote_protocol.c:256:10: warning: nested extern declaration of 'xdr_uint64_t' [-Wnested-externs]
./remote/remote_protocol.c: In function 'xdr_remote_node_get_cells_free_memory_ret':
./remote/remote_protocol.c:606:48: error: 'xdr_uint64_t' undeclared (first use in this function)
./remote/remote_protocol.c:606:48: note: each undeclared identifier is reported only once for each function it appears in
make[3]: *** [libvirt_driver_remote_la-remote_protocol.lo] Error 1
make[3]: Leaving directory `/opt/cluster/libvirt/libvirt-0.9.4/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/opt/cluster/libvirt/libvirt-0.9.4/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/opt/cluster/libvirt/libvirt-0.9.4'
make: *** [all] Error 2
can someone help me?
Thanks a lot
--
###################################
Umberto Carrara
servizi informatici alle aziende
sistemistica e sviluppo
via di Casa Cimi, 274/e
Saltocchio 55100 (LU)
voip: +39.05831802936
cel: +39.3384524491
http://umbertocarrara.it
###################################
Privacy
Il contenuto della presente e-mail ed i suoi allegati, sono diretti
esclusivamente al destinatario e devono ritenersi riservati, con divieto
di diffusione o di uso non conforme alle finalità per le quali la
presente e-mail è stata inviata.
Pertanto, ne è vietata la diffusione e la comunicazione da parte di
soggetti diversi dal destinatario, ai sensi degli artt. 616 e ss. c.p. e
D.lgs n. 196/03 Codice Privacy.
Se la presente e-mail ed i suoi allegati sono stati ricevuti per errore,
siete pregati di distruggere quanto ricevuto e di informare il mittente
al presente indirizzo.
###################################