On Fri, Dec 03, 2010 at 12:36:39PM -0500, Mike Hollis wrote:
> On Wed, Dec 01, 2010 at 05:47:55PM -0500, Mike Hollis wrote:
> > I googled my svgalib_helper linux-2.6.36 problem and it was reported
> > to bugs.gentoo.org with the same error output I had.
> >
> > error: unknown field ‘ioctl' specified in initializer
> >
> > In linux-2.6.36/include/fs.h struct file_operations {...
> >
> > the ioctl definition was removed but there were unlocked_ioctl and
> > compat_ioctl . I checked linux-2.6.35.2 and all three were in fs.h.
> >
> > I tried plugging in both unlocked_ioctl and compat_ioctl into the
> > svgalib_helper code and the module compiled but didn't work
> > correctly. Hopefully whoever maintains the package in gentoo
> > will come up with a patch.
> >
> > I backed up to linux-2.6.35.2 and have not seen any problems yet
> > concerning header compatibility. I wish I had known this when I
> > started my build.
> >
>
> One final comment in the unlikely case someone besides me uses svgalib
> in the lfs community. I overlooked a suggested patch in bugs.gentoo.org
> and it worked with some line number modifications. I was on the right
> track with the ioctl change but gave up too quickly.
>
>
> --- Mike H.---
This change also broke the Nvidia proprietary driver, well at least
this version : NVIDIA-Linux-x86-96.43.18-pkg1.run.
From nvidia-installer.log:
/tmp/selfgz457/NVIDIA-Linux-x86-96.43.18-pkg1/usr/src/nv/nv.c:252:5:
error: unknown field ‘ioctl' specified in initializer
--- Mike H.----
--
http://linuxfromscratch.org/mailman/listinfo/lfs-chat
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page