qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] Guest agent does not build on OpenBSD


From: Blue Swirl
Subject: [Qemu-devel] Guest agent does not build on OpenBSD
Date: Fri, 22 Jul 2011 21:28:12 +0300

I get these errors on OpenBSD:
  CC    qga/guest-agent-commands.o
/src/qemu/qga/guest-agent-commands.c:14:20: warning: mntent.h: No such
file or directory
/src/qemu/qga/guest-agent-commands.c:17:22: warning: linux/fs.h: No
such file or directory
In file included from /src/qemu/qga/guest-agent-commands.c:19:
qapi-generated/qga-qmp-commands.h:36:7: warning: no newline at end of file
/src/qemu/qga/guest-agent-commands.c: In function
'guest_fsfreeze_build_mount_list':
/src/qemu/qga/guest-agent-commands.c:344: error: 'MOUNTED' undeclared
(first use in this function)
/src/qemu/qga/guest-agent-commands.c:344: error: (Each undeclared
identifier is reported only once
/src/qemu/qga/guest-agent-commands.c:344: error: for each function it
appears in.)
/src/qemu/qga/guest-agent-commands.c:354: warning: implicit
declaration of function 'setmntent'
/src/qemu/qga/guest-agent-commands.c:354: warning: nested extern
declaration of 'setmntent'
/src/qemu/qga/guest-agent-commands.c:354: warning: assignment makes
pointer from integer without a cast
/src/qemu/qga/guest-agent-commands.c:360: warning: implicit
declaration of function 'getmntent'
/src/qemu/qga/guest-agent-commands.c:360: warning: nested extern
declaration of 'getmntent'
/src/qemu/qga/guest-agent-commands.c:360: warning: assignment makes
pointer from integer without a cast
/src/qemu/qga/guest-agent-commands.c:367: error: dereferencing pointer
to incomplete type
/src/qemu/qga/guest-agent-commands.c:368: error: dereferencing pointer
to incomplete type
/src/qemu/qga/guest-agent-commands.c:369: error: dereferencing pointer
to incomplete type
/src/qemu/qga/guest-agent-commands.c:374: error: dereferencing pointer
to incomplete type
/src/qemu/qga/guest-agent-commands.c:375: error: dereferencing pointer
to incomplete type
/src/qemu/qga/guest-agent-commands.c:380: warning: implicit
declaration of function 'endmntent'
/src/qemu/qga/guest-agent-commands.c:380: warning: nested extern
declaration of 'endmntent'
/src/qemu/qga/guest-agent-commands.c: In function 'qmp_guest_fsfreeze_freeze':
/src/qemu/qga/guest-agent-commands.c:436: error: 'FIFREEZE' undeclared
(first use in this function)
/src/qemu/qga/guest-agent-commands.c: In function 'qmp_guest_fsfreeze_thaw':
/src/qemu/qga/guest-agent-commands.c:474: error: 'FITHAW' undeclared
(first use in this function)

Maybe guest agent should be only built on supported hosts.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]