[uClibc]compile problem with e2fsprogs v. 1.26 and uClibc 0.9.9
Serban Udrea
S.Udrea at gsi.de
Fri Mar 8 17:47:16 UTC 2002
Hello,
Sorry if this mail is too long, showing my very reduced experience with compile
problems :-/
I just attempted to build the last version of e2fsprogs (i.e. 1.26) with uClibc
0.9.9 and it doesn't complete properly. It first stopps at tune2fs with the
following error:
tune2fs.o: In function `parse_time':
/e2fsprogs-1.26/build/misc/../../misc/tune2fs.c:431: undefined reference to `strptime'
collect2: ld returned 1 exit status
make[2]: *** [tune2fs] Error 1
make[2]: Leaving directory `/home/serban/download/Build/e2fsprogs-1.26/build/misc'
make[1]: *** [all-progs-recursive] Error 1
make[1]: Leaving directory `/home/serban/download/Build/e2fsprogs-1.26/build'
make: *** [all] Error 2
Anyway, the compile worked for: e2fsck, debugfs, badblocks and mke2fs.
I edited the Makefile under misc by hand and removed all references to tune2fs then
started the build once more. This time an error occured in chattr.o (related to
sys/stat.h) as follows:
chattr.o: In function `change_attributes':
/usr/i386-linux-uclibc/include/sys/stat.h:383: undefined reference to `__lxstat64'
collect2: ld returned 1 exit status
make[2]: *** [chattr] Error 1
make[2]: Leaving directory `/home/serban/download/Build/e2fsprogs-1.26/build/misc'
make[1]: *** [all-progs-recursive] Error 1
make[1]: Leaving directory `/home/serban/download/Build/e2fsprogs-1.26/build'
make: *** [all] Error 2
On the other hand, some other tools got compiled (besides the allready mentioned):
dumpe2fs, e2image and fsck.
I removed also chattr from the Makefile under misc and give it another try. A
similar error like before occured now with lsattr:
lsattr.o: In function `lsattr_args':
/usr/i386-linux-uclibc/include/sys/stat.h:383: undefined reference to `__lxstat64'
lsattr.o: In function `lsattr_dir_proc':
/usr/i386-linux-uclibc/include/sys/stat.h:383: undefined reference to `__lxstat64'
collect2: ld returned 1 exit status
make[2]: *** [lsattr] Error 1
make[2]: Leaving directory `/home/serban/download/Build/e2fsprogs-1.26/build/misc'
make[1]: *** [all-progs-recursive] Error 1
make[1]: Leaving directory `/home/serban/download/Build/e2fsprogs-1.26/build'
make: *** [all] Error 2
Went further and removed also lsattr from the Makefile. Now there was no compile
error anymore and all other tools got compiled.
Then I run 'make check' and there where 7 tests which failed and seem to be related
just to e2fsck:
f_bbfile: bad blocks in files: failed
f_dup: blocks claimed by two different files: failed
f_dup2: blocks claimed by three different files: failed
f_dup3: blocks claimed by one file multiple times: failed
f_dupfsblks: blocks claimed by a file and bitmaps or inode tables: failed
f_dupsuper: blocks claimed by a file and superblock or group descriptors: failed
f_swapfs: checking the e2fsck swapfs functionality: failed
Compiling e2fsprog v. 1.26 with glibc 2.1.2 (as installed on my system) gave no
problems, nevertheless one test failed:
f_baddir: corrupted directory entries: failed
Which is different from the ones which failed after compiling with uClibc 0.9.9.
Regards,
Serban
--
#<><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>#
# "Human beings, like all other life forms, are parts of an inseparable #
# organic whole. Their intelligence, therefore, implies that, the whole too #
# is intelligent" #
#<><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>#
Serban Udrea
S.Udrea at gsi.de
GSI - Plasma Physics Department
Darmstadt, Germany
More information about the uClibc
mailing list