From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: kvm-87 fails to compile under uClibc Date: Tue, 07 Jul 2009 12:12:30 +0300 Message-ID: <4A53117E.8050305@redhat.com> References: <1246934566.27337.65.camel@localhost.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: uclibc , kvm To: Cristi Magherusan Return-path: Received: from mx2.redhat.com ([66.187.237.31]:48483 "EHLO mx2.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753476AbZGGJKl (ORCPT ); Tue, 7 Jul 2009 05:10:41 -0400 In-Reply-To: <1246934566.27337.65.camel@localhost.localdomain> Sender: kvm-owner@vger.kernel.org List-ID: 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