[ltp] thinkpad modules for Linux 2.6 -- trial version available

linux-thinkpad@linux-thinkpad.org linux-thinkpad@linux-thinkpad.org
Tue, 23 Dec 2003 23:43:53 +0100


> > I don't think you should strip out the devfs code.
> > there are many reasons against it: most distribution still run
> > (and will run) with devfs, not udev. it will probably take a year
> > or longer until everyone has switched.
> 
> I have been told that only Gentoo standardly uses devfs.  Other distros
> standardly use a static /dev/ directory.  I believe that udev is a
> yet-to-be-finished system that implements dynamic dev node creation and
> deletion.
> 
> The reason for stripping out the devfs code is that it causes the compiler
> errors that you encountered.  This is because the particular devfs
> functions used in the drivers were stripped out of the kernel.

Is the following error also caused by devfs? Cause I'm also using Gentoo wich
uses devfs as standard.

All the output if I do a "make all":

make -C drivers
make[1]: Entering directory `/root/inst/thinkpad-4.8/2.6/drivers'
gcc -Wall -Wcast-align -Wstrict-prototypes -O2 -I/lib/modules/2.6.0-mm1/build/include -I. -I../include -DLINUX -o thinkpad.o -c thinkpad.c
thinkpad.c:105:41: missing binary operator before '('
make[1]: *** [thinkpad.o] Error 1
make[1]: Leaving directory `/root/inst/thinkpad-4.8/2.6/drivers'
make: *** [all] Error 2

Greets
Markus