[BUG] Linux 2.3.99-pre5 & e2fsprogs 1.18

From: ZINKEVICIUS,MATT (HP-Loveland,ex1) (matt_zinkevicius@hp.com)
Date: Mon Apr 17 2000 - 15:13:01 EST


I am getting the following error when compiling e2fsprogs 1.18, and
/usr/src/linux linked to a linux 2.3.99-pre5 directory:

making all in lib/ext2fs
make[2]: Entering directory `/src/source/e2fsprogs-1.18/lib/ext2fs'
gcc -DHAVE_LINUX_FS_H=1 -DHAVE_STDLIB_H=1 -DHAVE_UNISTD_H=1
-DHAVE_STDARG_H=1 -DHAVE_ERRNO_H=1 -DHAVE_MALLOC_H=1 -DHAVE_MNTENT_H=1
-DHAVE_PATHS_H=1 -DHAVE_DIRENT_H=1 -DHAVE_GETOPT_H=1 -DHAVE_SETJMP_H=1
-DHAVE_SIGNAL_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_LINUX_FD_H=1
-DHAVE_LINUX_MAJOR_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_SYS_STAT_H=1
-DHAVE_SYS_TYPES_H=1 -DHAVE_NET_IF_H=1 -DHAVE_NETINET_IN_H=1
-DHAVE_VPRINTF=1 -DSIZEOF_SHORT=2 -DSIZEOF_INT=4 -DSIZEOF_LONG=4
-DSIZEOF_LONG_LONG=8 -DHAVE_GETRUSAGE=1 -DHAVE_LLSEEK=1 -DHAVE_STRDUP=1
-DHAVE_STRCASECMP=1 -DHAVE_SRANDOM=1 -DHAVE_FCHOWN=1 -DHAVE_MALLINFO=1
-DHAVE_INO_T=1 -DHAVE_EXT2_IOCTLS=1 -g -O2 -I../../lib -I../../lib -c
getsize.c -o getsize.o
In file included from /usr/include/linux/dcache.h:5,
                 from /usr/include/linux/fs.h:19,
                 from getsize.c:21:
/usr/include/linux/mount.h:16: parse error before `kdev_t'
/usr/include/linux/mount.h:16: warning: no semicolon at end of struct or
union
/usr/include/linux/mount.h:21: parse error before `}'
make[2]: *** [getsize.o] Error 1
make[2]: Leaving directory `/src/source/e2fsprogs-1.18/lib/ext2fs'
make[1]: *** [all-libs-recursive] Error 1
make[1]: Leaving directory `/src/source/e2fsprogs-1.18'
make: *** [programs] Error 2

This compiled fine when linked to linux 2.2.13. I have looked for
differences in the files mount.h, dcache.h, and fs.h between these to
kernels, but couldn't find the culprit. I'm sure it's a small typo, but I
can't find it... Anyone else want to give it a shot?

--Matt Zinkevicius

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sun Apr 23 2000 - 21:00:11 EST