Re: kvm-87 fails to compile under uClibc

Mike Frysinger
2009-07-07T14:33:30Z

[-- Attachment #1: Type: text/plain, Size: 822 bytes --]

On Tuesday 07 July 2009 03:34:57 Bernhard Reutner-Fischer wrote:
> On Mon, Jul 06, 2009 at 11:21:03PM -0400, Mike Frysinger wrote:
> >On Monday 06 July 2009 22:42:46 Cristi Magherusan wrote:
> >> /home/cristi/devel/avatt/buildroot/build_i586/kvm-87/qemu-kvm-x86.c:1538
> >>: undefined reference to `ioperm'
> >
> >ioperm is enabled only if your kernel headers declare __NR_ioperm. if it
> > isnt enabled in your C library, check your headers.
>
> and it's only enabled if UCLIBC_LINUX_SPECIFIC since it is that, in no
> standard but linux specific (_and_ you need an MMU for it).

i missed that in the .c file. we should probably have stub handling for all
these BSD/Linux/GNU/etc... options such that if you disable the feature and
have STUBS support turned on, you get a link warning about it.
-mike

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 836 bytes --]