On Tue, Jul 1, 2014 at 10:17 AM, Paolo Bonzini <pbonz...@redhat.com> wrote: > Il 01/07/2014 10:00, ChenLiang ha scritto: > >> ./configure --enable-debug --target-list=x86_64-softmmu >> make -j >> >> net/l2tpv3.c: In function ‘net_l2tpv3_process_queue’: >> net/l2tpv3.c:368: error: invalid use of undefined type ‘struct mmsghdr’ >> net/l2tpv3.c:369: error: dereferencing pointer to incomplete type >> net/l2tpv3.c:370: error: dereferencing pointer to incomplete type >> net/l2tpv3.c:371: error: dereferencing pointer to incomplete type >> net/l2tpv3.c: In function ‘net_l2tpv3_send’: >> net/l2tpv3.c:445: error: invalid use of undefined type ‘struct mmsghdr’ >> net/l2tpv3.c:448: warning: implicit declaration of function ‘recvmmsg’ >> net/l2tpv3.c:448: warning: nested extern declaration of ‘recvmmsg’ >> net/l2tpv3.c: In function ‘destroy_vector’: >> net/l2tpv3.c:472: error: dereferencing pointer to incomplete type >> net/l2tpv3.c:473: error: dereferencing pointer to incomplete type >> net/l2tpv3.c:478: error: dereferencing pointer to incomplete type >> net/l2tpv3.c:480: error: increment of pointer to unknown structure >> net/l2tpv3.c:480: error: arithmetic on pointer to an incomplete type >> net/l2tpv3.c: In function ‘build_l2tpv3_vector’: >> net/l2tpv3.c:492: error: invalid application of ‘sizeof’ to incomplete >> type ‘struct mmsghdr’ >> net/l2tpv3.c:495: error: dereferencing pointer to incomplete type >> net/l2tpv3.c:496: error: dereferencing pointer to incomplete type >> net/l2tpv3.c:498: error: dereferencing pointer to incomplete type >> net/l2tpv3.c:504: error: dereferencing pointer to incomplete type >> net/l2tpv3.c:505: error: dereferencing pointer to incomplete type >> net/l2tpv3.c:506: error: dereferencing pointer to incomplete type >> net/l2tpv3.c:507: error: dereferencing pointer to incomplete type >> net/l2tpv3.c:508: error: increment of pointer to unknown structure >> net/l2tpv3.c:508: error: arithmetic on pointer to an incomplete type > > > What OS and, if Linux, what distro?
FWIW I get these errors (and some others related to conflicting uint64_t definitions) on this: CentOS release 5.6 (Final) Thanks, Laurent > > Paolo >