I enable compatible mode on my 64 bit system. I compiled the latest
kernel(2.6.22-rc3) with below config:
# CONFIG_IA32_AOUT is not set
Then I compiled DRM kernel module, it reported below error info:
make: Entering directory `/usr/src/linux-2.6'
CC [M] /GFX/build/component/Drm/drm/linux-core/drm_ioc32.o
linux/ioctl32.h: No such file or directory
make: *** [/GFX/build/component/Drm/drm/linux-core/drm_ioc32.o] Error
I checked the kernel git log, found that ioctl32.h had been deleted in
Author: Christoph Hellwig <hch@...>
Date: Tue May 8 00:29:21 2007 -0700
cleanup compat ioctl handling
Merge all compat ioctl handling into compat_ioctl.c instead of
over compat.c and compat_ioctl.c. This also allows to get rid of
Now I disable the compatible mode in kernel config to compile DRM kernel
pass. Please fix this problem.
From: Dave Airlie <airlied@li...> - 2007-05-31 21:22:42
> On Thu, May 31, 2007 at 05:11:22PM +0800, Wu, Nian wrote:
>> Then I compiled DRM kernel module, it reported below error info:
> Don't do this. Always use the in-kernel drm.
No don't listen to hch, I'll fix it..
hch, the in-kernel drm isn't much use for developers, they can't exactly
check code in to it..
David Airlie, Software Engineer
http://www.skynet.ie/~airlied / airlied at skynet.ie
Linux kernel - DRI, VAX / pam_smb / ILUG