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

Bug#220331: linux-kernel-headers: parse error in buffer_head.h



Package: linux-kernel-headers
Version: 2.5.999-test7-bk-9
Severity: important

snippet from my log - you can reproduce by trying to build dosfstools
on ia64.  I tested this specifically to look for regressions, because
I recall this being broken & fixed at one point (can't find the bug report
at the moment though).

dpkg-source: building dosfstools in dosfstools_2.10-1.dsc
 debian/rules build
make DEBUGFLAGS=-g OPTFLAGS="-O2 -fomit-frame-pointer"
make[1]: Entering directory `/tmp/dosfstools-2.10'
make -C mkdosfs all
make[2]: Entering directory `/tmp/dosfstools-2.10/mkdosfs'
gcc -O2 -fomit-frame-pointer -Wall -g -c mkdosfs.c -o mkdosfs.o
In file included from /usr/include/linux/fs.h:16,
                 from mkdosfs.c:54:
/usr/include/linux/list.h:576:2: warning: #warning "don't include kernel headers in userspace"
gcc  mkdosfs.o -o mkdosfs
make[2]: Leaving directory `/tmp/dosfstools-2.10/mkdosfs'
make -C dosfsck all
make[2]: Entering directory `/tmp/dosfstools-2.10/dosfsck'
gcc -c -O2 -fomit-frame-pointer -Wall -g boot.c
In file included from /usr/include/linux/msdos_fs.h:7,
                 from dosfsck.h:16,
                 from boot.c:13:
/usr/include/linux/buffer_head.h:54: error: parse error before "sector_t"
/usr/include/linux/buffer_head.h:62: error: parse error before '}' token
/usr/include/linux/buffer_head.h: In function `set_buffer_uptodate':
/usr/include/linux/buffer_head.h:107: error: dereferencing pointer to incomplete type
/usr/include/linux/buffer_head.h: In function `clear_buffer_uptodate':
/usr/include/linux/buffer_head.h:107: error: dereferencing pointer to incomplete type
/usr/include/linux/buffer_head.h: In function `buffer_uptodate':
/usr/include/linux/buffer_head.h:107: error: dereferencing pointer to incomplete type
/usr/include/linux/buffer_head.h: In function `set_buffer_dirty':
/usr/include/linux/buffer_head.h:108: error: dereferencing pointer to incomplete type
/usr/include/linux/buffer_head.h: In function `clear_buffer_dirty':
/usr/include/linux/buffer_head.h:108: error: dereferencing pointer to incomplete type
/usr/include/linux/buffer_head.h: In function `buffer_dirty':
/usr/include/linux/buffer_head.h:108: error: dereferencing pointer to incomplete type
/usr/include/linux/buffer_head.h: In function `test_set_buffer_dirty':
/usr/include/linux/buffer_head.h:109: error: dereferencing pointer to incomplete type
/usr/include/linux/buffer_head.h: In function `test_clear_buffer_dirty':
/usr/include/linux/buffer_head.h:109: error: dereferencing pointer to incomplete type
/usr/include/linux/buffer_head.h: In function `set_buffer_locked':
/usr/include/linux/buffer_head.h:110: error: dereferencing pointer to incomplete type
/usr/include/linux/buffer_head.h: In function `clear_buffer_locked':
/usr/include/linux/buffer_head.h:110: error: dereferencing pointer to incomplete type
/usr/include/linux/buffer_head.h: In function `buffer_locked':
/usr/include/linux/buffer_head.h:110: error: dereferencing pointer to incomplete type
/usr/include/linux/buffer_head.h: In function `test_set_buffer_locked':
/usr/include/linux/buffer_head.h:111: error: dereferencing pointer to incomplete type
/usr/include/linux/buffer_head.h: In function `test_clear_buffer_locked':
/usr/include/linux/buffer_head.h:111: error: dereferencing pointer to incomplete type
/usr/include/linux/buffer_head.h: In function `set_buffer_req':
/usr/include/linux/buffer_head.h:112: error: dereferencing pointer to incomplete type
/usr/include/linux/buffer_head.h: In function `clear_buffer_req':
/usr/include/linux/buffer_head.h:112: error: dereferencing pointer to incomplete type
/usr/include/linux/buffer_head.h: In function `buffer_req':
/usr/include/linux/buffer_head.h:112: error: dereferencing pointer to incomplete type
/usr/include/linux/buffer_head.h: In function `test_set_buffer_req':
/usr/include/linux/buffer_head.h:113: error: dereferencing pointer to incomplete type
/usr/include/linux/buffer_head.h: In function `test_clear_buffer_req':
/usr/include/linux/buffer_head.h:113: error: dereferencing pointer to incomplete type
/usr/include/linux/buffer_head.h: In function `set_buffer_mapped':
/usr/include/linux/buffer_head.h:114: error: dereferencing pointer to incomplete type
/usr/include/linux/buffer_head.h: In function `clear_buffer_mapped':
/usr/include/linux/buffer_head.h:114: error: dereferencing pointer to incomplete type
/usr/include/linux/buffer_head.h: In function `buffer_mapped':
/usr/include/linux/buffer_head.h:114: error: dereferencing pointer to incomplete type


-- System Information:
Debian Release: testing/unstable
Architecture: ia64
Kernel: Linux krebs 2.4.20-mckinley #1 Thu Sep 11 18:27:20 MDT 2003 ia64
Locale: LANG=C, LC_CTYPE=C

-- no debconf information




Reply to: