Re: Kompiling problems

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, Aug 12, 2001 at 04:01:05PM +0200, g-skjold wrote:
> This is what i experience when i run 'make':
> 
> cc -g -I/lib/modules/`uname -r`/build/include -O2 -march=i686 
> -fomit-frame-pointer -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 `get_bhead':
> ataraid.c:126: `GFP_BUFFER' undeclared (first use in this function)
> ataraid.c:126: (Each undeclared identifier is reported only once
> ataraid.c:126: for each function it appears in.)
> ataraid.c: In function `get_private':
> ataraid.c:140: `GFP_BUFFER' undeclared (first use in this function)
> make: *** [ataraid.o] Error 1
> 
> 

Ok, the files use GFP_BUFFER which is for 2.4.x where x <= 5
If you use a later version, you need to use GFP_NOIO instead.
I'll update the files on the website with this, as most people will have
newer kernels now.

Greetings,
  Arjan van de Ven





[Index of Archives]     [Linux RAID]     [Linux Device Mapper]     [Linux IDE]     [Linux SCSI]     [Kernel]     [Linux Books]     [Linux Admin]     [GFS]     [RPM]     [Yosemite Campgrounds]     [AMD 64]

  Powered by Linux