bug-parted
[Top][All Lists]
Advanced

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

Bug report.


From: Simon Heffer
Subject: Bug report.
Date: Tue, 21 Jan 2003 09:54:54 -0000

Hi chaps,
 
Trying to build parted on Windows XP under cygwin (latest).
Gcc version 3.2
 
Config.log enclosed.
 
Compiler error from make & gcc...
 
Making all in fs_ext2
make[3]: Entering directory `/cygdrive/c/Documents and
Settings/Simon/Desktop/drivers/linux docs/par
ted-1.4.18/libparted/fs_ext2'
/bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../..
-I../../include     -D_REEN
TRANT -DLOCALEDIR="\"/usr/local/share/locale\""
-DLOCALEDIR="\"/usr/local/share/locale\"" -W -Wall -
Wno-unused -Wno-switch -Werror -c ext2.c
rm -f .libs/ext2.lo
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../include -D_REENTRANT
-DLOCALEDIR=\"/usr/local/share/loca
le\" -DLOCALEDIR=\"/usr/local/share/locale\" -W -Wall -Wno-unused
-Wno-switch -Werror -c ext2.c  -DD
LL_EXPORT -DPIC -o ext2.o
ext2.c: In function `ext2_commit_metadata':
ext2.c:632: `loff_t' undeclared (first use in this function)
ext2.c:632: (Each undeclared identifier is reported only once
ext2.c:632: for each function it appears in.)
ext2.c: In function `ext2_open':
ext2.c:808: `loff_t' undeclared (first use in this function)
make[3]: *** [ext2.lo] Error 1
make[3]: Leaving directory `/cygdrive/c/Documents and
Settings/Simon/Desktop/drivers/linux docs/part
ed-1.4.18/libparted/fs_ext2'
make[2]: *** [all-recursive] Error 1
 
 
A similar problem here...
 
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../include -D_REENTRANT
-DLOCALEDIR=\"/usr/local/share/locale\"
-DLOCALEDIR=\"/usr/local/share/locale\" -W -Wall -Wno-unused -Wno-switch
-Werror -c parted_io.c  -DDLL_EXPORT -DPIC -o parted_io.o
parted_io.c:31: parse error before "llseek"
parted_io.c:31: parse error before "loff_t"
cc1: warnings being treated as errors
parted_io.c:31: warning: type defaults to `int' in declaration of `llseek'
parted_io.c:31: warning: data definition has no type or storage class
make[3]: *** [parted_io.lo] Error 1
 
 
Obviously the workaround is to define loff_t to be unsigned but as I'm not
sure what's created automatically and what is not I'd rather fix it.
 
Later in the build there are complaints about not find an include file
endian.h.  This appears to be in include/parted which is not on the
compilation line and the c code doesn't include parted/endian.h.
 
Let me know if there's further info you require,
Ta
Simon Heffer
 
 
 

<<attachment: winmail.dat>>


reply via email to

[Prev in Thread] Current Thread [Next in Thread]