On Sun, 25 Nov 2001, Lukas Beeler wrote:
> * Parienti M. <[EMAIL PROTECTED]> [011125 21:57]:
> > Should I include the joystick support in the kernel, to have
> > the "#define ABS_WHEEL" in the /usr/include/linux?
> copy to file from your kernel source tree to
> /usr/include/linux, and it will work ( i think )

Some stuff expects /usr/include/linux to be a symlink to, I think it's
/usr/src/linux/include/linux and /usr/include/asm symlink to
/usr/src/linux/include/asm, and the currently-running kernel-source to be
in /usr/src/linux.

Now... some people (er, Linus...) believe that's evil and bad and all
that, and /usr/include shouldn't point to any kernel headers. Others (er,
glibc people...) think .../asm/ and .../linux/ should be symlinks. Stuff
linux lm-sensors, the emu10k1 standalone module by default try
/usr/src/linux to find stuff (they're modules; they're allowed to use
kernel headers, by I think all definitions people use...).

Looks like, possibly as a result of imake, XFree86 expects
/usr/include/linux to have current-kernel-level headers.

And someone I know, who had 2.2 installed in /usr/src/linux (and had
compiled XFree86 OK before), extracted 2.4 somewhere else, build it, and
ran into all sorts of problems (this was the first; the X build system was
"tweaked" to not build the Wacom driver), but this was followed up by the
DRI and libGL stuff failing.

He moved 2.4 to /usr/src/linux, and X promptly built OK.

Now, I suppose you could get the makefiles to pass the right -I flag to
the compiler (er, fiddle with host.def in xc/config/cf) to include the 2.4
headers, or disregard Linus's recommendadion to have the kernel elsewhere.

However, just copying the one file will lead to all the Katmai support
promptly blowing up slightly further through the build process...

-- 
Regards, [EMAIL PROTECTED]
My website: http://www.iain.thomas.dial.pipex.com/
XMMS not playing

_______________________________________________
Newbie mailing list
[EMAIL PROTECTED]
*** To unsubscribe , or change message options, see:
http://XFree86.Org/mailman/listinfo/newbie

Reply via email to