kvm-87 fails to compile under uClibc

Mike Frysinger vapier at gentoo.org
Tue Jul 7 14:33:28 UTC 2009


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.busybox.net/pipermail/uclibc/attachments/20090707/67cf606c/attachment.pgp>


More information about the uClibc mailing list