c99 issue ( __isoc99_fscanf) : E2fsprogs

Renaud Marquet rmarquet at gmail.com
Sat Nov 22 15:16:51 PST 2008


Hi,

I'm compiling LFS on PS3 using regular 6.4-rc1 Book. Reaching chapter
5.19 (E2fsprogs-1.41.3) I get the following error when issuing 'make'
command :

unix.o: In function `PRS':
/mnt/lfs/sources/e2fsprogs-1.41.3/build/e2fsck/../../e2fsck/unix.c:719:
undefined reference to `__isoc99_sscanf'
/mnt/lfs/sources/e2fsprogs-1.41.3/build/e2fsck/../../e2fsck/unix.c:736:
undefined reference to `__isoc99_sscanf'
/mnt/lfs/sources/e2fsprogs-1.41.3/build/e2fsck/../../e2fsck/unix.c:652:
undefined reference to `__isoc99_sscanf'
unix.o: In function `is_on_batt':
/mnt/lfs/sources/e2fsprogs-1.41.3/build/e2fsck/../../e2fsck/unix.c:239:
undefined reference to `__isoc99_fscanf'
/mnt/lfs/sources/e2fsprogs-1.41.3/build/e2fsck/../../e2fsck/unix.c:254:
undefined reference to `__isoc99_fscanf'
collect2: ld returned 1 exit status
make[2]: *** [e2fsck] Error 1
make[2]: Leaving directory
`/mnt/lfs/sources/e2fsprogs-1.41.3/build/e2fsck'
make[1]: *** [all-progs-recursive] Error 1
make[1]: Leaving directory `/mnt/lfs/sources/e2fsprogs-1.41.3/build'
make: *** [all] Error 2

after a little investigation I found out that using the following
statement instead worked smoothly :

make gcc-wall-new

As the problem was arising in e2fsck compilation which is not installed
I don't think this will lead to big trouble but I thought it was
important to mention it.

Thank you,
Renaud




More information about the lfs-support mailing list