DRM kernel module can not be compiled pass with compat32 mode
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 CONFIG_COMPAT=y CONFIG_SYSVIPC_COMPAT=y Then I compiled DRM kernel module, it reported below error info: make[1]: Entering directory `/usr/src/linux-2.6' CC [M] /GFX/build/component/Drm/drm/linux-core/drm_ioc32.o /GFX/build/component/Drm/drm/linux-core/drm_ioc32.c:32:32: error: linux/ioctl32.h: No such file or directory make[2]: *** [/GFX/build/component/Drm/drm/linux-core/drm_ioc32.o] Error 1 I checked the kernel git log, found that ioctl32.h had been deleted in commit 6272e2667965dfb5b59199f462cd0f001fb304a6: commit 6272e2667965dfb5b59199f462cd0f001fb304a6 Author: Christoph Hellwig [EMAIL PROTECTED] Date: Tue May 8 00:29:21 2007 -0700 cleanup compat ioctl handling Merge all compat ioctl handling into compat_ioctl.c instead of splitting it over compat.c and compat_ioctl.c. This also allows to get rid of ioctl32.h Now I disable the compatible mode in kernel config to compile DRM kernel pass. Please fix this problem. Thanks, Nian - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/-- ___ Dri-devel mailing list Dri-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dri-devel
Re: DRM kernel module can not be compiled pass with compat32 mode
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. - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -- ___ Dri-devel mailing list Dri-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dri-devel
Re: DRM kernel module can not be compiled pass with compat32 mode
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.. Dave. -- David Airlie, Software Engineer http://www.skynet.ie/~airlied / airlied at skynet.ie Linux kernel - DRI, VAX / pam_smb / ILUG - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -- ___ Dri-devel mailing list Dri-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dri-devel