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

Re: Still problems with kfloppy

At 20:33 +0100 1998-12-12, Michel "D?nzer" wrote:
mke2fs.c: In function `check_plausibility':
mke2fs.c:128: `SCSI_DISK_MAJOR' undeclared (first use in this function)
mke2fs.c:128: (Each undeclared identifier is reported only once
mke2fs.c:128: for each function it appears in.)
mke2fs.c: In function `PRS':
mke2fs.c:610: warning: comparison is always 1 due to limited range of data type
make[2]: *** [mke2fs.o] Error 1
make[2]: Leaving directory `/usr/src/kdeutils-1.0/kfloppy/e2fs/misc'
make[1]: *** [all-progs-recursive] Error 1
make[1]: Leaving directory `/usr/src/kdeutils-1.0/kfloppy/e2fs'
make: *** [kmke2fs] Error 2

Hmm... looks almost like it incorporates e2fsprogs source.

The first problem is due to SCSI changes (basically more possible SCSI devices) in newer Linux kernels, I think, but I'm not really sure that changing SCSI_DISK_MAJOR to SCSI_DISK0_MAJOR will work.

The second is just a warning, adding -fsigned-char to the CFLAGS will resolve it (e2fsprogs 1.12 has fixed this in a different way).
Joel Klecker (aka Espy)                     <URL:http://web.espy.org/>
<URL:mailto:jk@espy.org>                  <URL:mailto:espy@debian.org>
Debian GNU/Linux PowerPC -- <URL:http://www.debian.org/ports/powerpc/>

Reply to: