Hey,
I am trying to compile the modules from the tar.gz
file on a seperate machine so i can use them to install either sorcerer gnu
linux or slackware on my desktop computer. I have the kernel sources
installed and i have tried compiling the modules with both 2.4.17 sources and
2.4.6 sources and have gotten the same errors both time. Can you please
help me with why these modules aren't compiling?
btw-I am running kernel 2.4.5 (i tried compiling
with those kernel sources installed also)
Thanks
errors
----------
root@rice:/tmp/ataraid# make
cc -g -I/lib/modules/`uname -r`/build/include -O2 -march=i686 -fomit-frame-point er -Wall -D__KERNEL__ -DMODULE -DMODVERSIONS -Wno-unused -include /lib/modules/ `uname -r`/build/include/linux/modversions.h -c -o pdcraid.o pdcraid.c cc -g -I/lib/modules/`uname -r`/build/include -O2 -march=i686 -fomit-frame-point er -Wall -D__KERNEL__ -DMODULE -DMODVERSIONS -Wno-unused -include /lib/modules/ `uname -r`/build/include/linux/modversions.h -c -o ataraid.o ataraid.c ataraid.c: In function `ataraid_get_bhead': ataraid.c:122: `GFP_NOIO' undeclared (first use in this function) ataraid.c:122: (Each undeclared identifier is reported only once ataraid.c:122: for each function it appears in.) ataraid.c: In function `ataraid_get_private': ataraid.c:138: `GFP_NOIO' undeclared (first use in this function) ataraid.c: In function `ataraid_init': ataraid.c:279: warning: implicit declaration of function `add_gendisk' ataraid.c: In function `ataraid_exit': ataraid.c:303: warning: implicit declaration of function `del_gendisk' make: *** [ataraid.o] Error 1 root@rice:/tmp/ataraid# |