Re: kvm-87 fails to compile under uClibc

Avi Kivity
2009-07-07T09:10:41Z

On 07/07/2009 05:42 AM, Cristi Magherusan wrote:
> Hi there,
>
> I'm trying to compile kvm using uClibc instead of glibc.
>
> Besides the fact that kvm needs "--extra-ldflags=-lrt" (otherwise there
> are some missing symbols), there's an error caused by another missing
> symbol that I was unable to fix yet. It's about ioperm, and this is the
> error I get:
>
>

Well, you need a C library that supports ioperm, or provide it
yourself. If you don't use device assignment an empty function will
suffice.

> I'm using linux-2.6.26.8, uClibc-HEAD(linuxthreds, almost complete
> setup) and gcc 4.3.3.
>
> Also, is this kernel version supposed to work with this kvm?
>

Yes.

--
error compiling committee.c: too many arguments to function