Package: linux-kernel-headers
Version: 2.6.17.3-1
Severity: serious
Hello,
There was a problem while autobuilding ltp:
> Automatic build of ltp_20050107-3 on avidan by sbuild/i386 0.48
> Build started at 20060715-0410
> **
...
> cc -Wall -I../../include -g -Wall -I../../../../include -O -g -Wall
> swapoff01.c -L../../../../lib -lltp -o swapoff01
> cc -Wall -I../../include -g -Wall -I../../../../include -O -g -Wall
> swapoff02.c -L../../../../lib -lltp -o swapoff02
> make[5]: Leaving directory
> `/build/buildd/ltp-20050107/build-tree/ltp-full-20050107/testcases/kernel/syscalls/swapoff'
> make[5]: Entering directory
> `/build/buildd/ltp-20050107/build-tree/ltp-full-20050107/testcases/kernel/syscalls/swapon'
> cc -Wall -I../../include -g -Wall -I../../../../include -g -Wall
> swapon01.c -L../../../../lib -lltp -o swapon01
> cc -Wall -I../../include -g -Wall -I../../../../include -g -Wall
> swapon02.c -L../../../../lib -lltp -o swapon02
> In file included from /usr/include/linux/cpumask.h:86,
> from /usr/include/asm-i486/processor.h:23,
> from /usr/include/asm/processor.h:8,
> from /usr/include/asm-i486/atomic.h:6,
> from /usr/include/asm/atomic.h:8,
> from swapon02.c:87:
> /usr/include/linux/bitmap.h: In function 'bitmap_zero':
> /usr/include/linux/bitmap.h:128: error: 'BITS_PER_LONG' undeclared (first use
> in this function)
> /usr/include/linux/bitmap.h:128: error: (Each undeclared identifier is
> reported only once
> /usr/include/linux/bitmap.h:128: error: for each function it appears in.)
> /usr/include/linux/bitmap.h: In function 'bitmap_fill':
> /usr/include/linux/bitmap.h:143: error: 'BITS_PER_LONG' undeclared (first use
> in this function)
> /usr/include/linux/bitmap.h: In function 'bitmap_copy':
> /usr/include/linux/bitmap.h:149: error: 'BITS_PER_LONG' undeclared (first use
> in this function)
> /usr/include/linux/bitmap.h: In function 'bitmap_and':
> /usr/include/linux/bitmap.h:160: error: 'BITS_PER_LONG' undeclared (first use
> in this function)
> /usr/include/linux/bitmap.h: In function 'bitmap_or':
> /usr/include/linux/bitmap.h:169: error: 'BITS_PER_LONG' undeclared (first use
> in this function)
> /usr/include/linux/bitmap.h: In function 'bitmap_xor':
> /usr/include/linux/bitmap.h:178: error: 'BITS_PER_LONG' undeclared (first use
> in this function)
> /usr/include/linux/bitmap.h: In function 'bitmap_andnot':
> /usr/include/linux/bitmap.h:187: error: 'BITS_PER_LONG' undeclared (first use
> in this function)
> /usr/include/linux/bitmap.h: In function 'bitmap_complement':
> /usr/include/linux/bitmap.h:196: error: 'BITS_PER_LONG' undeclared (first use
> in this function)
> /usr/include/linux/bitmap.h: In function 'bitmap_equal':
> /usr/include/linux/bitmap.h:205: error: 'BITS_PER_LONG' undeclared (first use
> in this function)
> /usr/include/linux/bitmap.h: In function 'bitmap_intersects':
> /usr/include/linux/bitmap.h:214: error: 'BITS_PER_LONG' undeclared (first use
> in this function)
> /usr/include/linux/bitmap.h: In function 'bitmap_subset':
> /usr/include/linux/bitmap.h:223: error: 'BITS_PER_LONG' undeclared (first use
> in this function)
> /usr/include/linux/bitmap.h: In function 'bitmap_empty':
> /usr/include/linux/bitmap.h:231: error: 'BITS_PER_LONG' undeclared (first use
> in this function)
> /usr/include/linux/bitmap.h: In function 'bitmap_full':
> /usr/include/linux/bitmap.h:239: error: 'BITS_PER_LONG' undeclared (first use
> in this function)
> /usr/include/linux/bitmap.h: In function 'bitmap_shift_right':
> /usr/include/linux/bitmap.h:253: error: 'BITS_PER_LONG' undeclared (first use
> in this function)
> /usr/include/linux/bitmap.h: In function 'bitmap_shift_left':
> /usr/include/linux/bitmap.h:262: error: 'BITS_PER_LONG' undeclared (first use
> in this function)
> In file included from /usr/include/asm-i486/processor.h:23,
> from /usr/include/asm/processor.h:8,
> from /usr/include/asm-i486/atomic.h:6,
> from /usr/include/asm/atomic.h:8,
> from swapon02.c:87:
> /usr/include/linux/cpumask.h: At top level:
> /usr/include/linux/cpumask.h:88: error: expected specifier-qualifier-list
> before 'DECLARE_BITMAP'
> /usr/include/linux/cpumask.h: In function '__cpu_set':
> /usr/include/linux/cpumask.h:94: error: 'cpumask_t' has no member named 'bits'
> /usr/include/linux/cpumask.h: In function '__cpu_clear':
> /usr/include/linux/cpumask.h:100: error: 'cpumask_t' has no member named
> 'bits'
> /usr/include/linux/cpumask.h: In function '__cpus_setall':
> /usr/include/linux/cpumask.h:106: error: 'cpumask_t' has no member named
> 'bits'
> /usr/include/linux/cpumask.h: In function '__cpus_clear':
> /usr/include/linux/cpumask.h:112: error: 'cpumask_t' has no member named
> 'bits'
> /usr/include/linux/cpumask.h: In function '