yaboot does not compile against new e2fsprogs release

acrux acrux_it at libero.it
Thu Dec 30 01:59:21 EST 2010


hi all,
it seems that yaboot (1.3.16) does not compile against e2fsprogs > 1.41.12
It could be the new (from e2fsprogs-1.41.13):
Added a new function to the ext2fs library, ext2fs_get_memalign().

but i've not yet investigated...

[...]
gcc -Os -Os -m32 -pipe -fsigned-char -fno-strict-aliasing -nostdinc -Wall -isystem `gcc -m32 -print-file-name=include` -fsigned-char -DVERSION=\"1.3.16\"       -DTEXTADDR=0x200000 -DDEBUG=0 -DMALLOCADDR=0x300000 -DMALLOCSIZE=0x100000 -DKERNELADDR=0x00C00000 -I ./include -DCONFIG_COLOR_TEXT -DCONFIG_SET_COLORMAP -DUSE_MD5_PASSWORDS -DCONFIG_FS_XFS -DCONFIG_FS_REISERFS -c -o second/fs_xfs.o second/fs_xfs.c
second/fs_xfs.c: In function 'next_dentry':
second/fs_xfs.c:525:9: warning: pointer targets in assignment differ in signedness
gcc -Os -Os -m32 -pipe -fsigned-char -fno-strict-aliasing -nostdinc -Wall -isystem `gcc -m32 -print-file-name=include` -fsigned-char -DVERSION=\"1.3.16\"       -DTEXTADDR=0x200000 -DDEBUG=0 -DMALLOCADDR=0x300000 -DMALLOCSIZE=0x100000 -DKERNELADDR=0x00C00000 -I ./include -DCONFIG_COLOR_TEXT -DCONFIG_SET_COLORMAP -DUSE_MD5_PASSWORDS -DCONFIG_FS_XFS -DCONFIG_FS_REISERFS -c -o second/fs_reiserfs.o second/fs_reiserfs.c
second/fs_reiserfs.c:157:1: warning: conflicting types for built-in function 'log2'
second/fs_reiserfs.c: In function 'block_read':
second/fs_reiserfs.c:219:17: warning: operation on 'journal_table' may be undefined
second/fs_reiserfs.c:219:17: warning: operation on 'journal_table' may be undefined
second/fs_reiserfs.c:219:17: warning: operation on 'journal_table' may be undefined
second/fs_reiserfs.c:222:12: warning: operation on 'journal_table' may be undefined
second/fs_reiserfs.c:222:12: warning: operation on 'journal_table' may be undefined
second/fs_reiserfs.c:222:12: warning: operation on 'journal_table' may be undefined
second/fs_reiserfs.c:241:12: warning: operation on 'i' may be undefined
second/fs_reiserfs.c:241:12: warning: operation on 'i' may be undefined
second/fs_reiserfs.c:241:12: warning: operation on 'i' may be undefined
second/fs_reiserfs.c:253:10: warning: operation on 'i' may be undefined
second/fs_reiserfs.c:253:10: warning: operation on 'i' may be undefined
second/fs_reiserfs.c:253:10: warning: operation on 'i' may be undefined
second/fs_reiserfs.c: In function 'next_key':
second/fs_reiserfs.c:619:54: warning: operation on 'depth' may be undefined
gcc -Os -Os -m32 -pipe -fsigned-char -fno-strict-aliasing -Wall -I/usr/include -o util/addnote util/addnote.c
util/addnote.c: In function 'main':
util/addnote.c:168:6: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness
/usr/include/string.h:128:14: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
util/addnote.c:183:6: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness
/usr/include/string.h:128:14: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
ln -sf ybin ybin/mkofboot
ld -Ttext 0x200000 -Bstatic -melf32ppclinux second/crt0.o second/yaboot.o second/cache.o second/prom.o second/file.o second/partition.o second/fs.o second/cfg.o second/setjmp.o second/cmdline.o second/fs_of.o second/fs_ext2.o second/fs_iso.o second/iso_util.o lib/nosys.o lib/string.o lib/strtol.o lib/vsprintf.o lib/ctype.o lib/malloc.o lib/strstr.o second/md5.o second/fs_xfs.o second/fs_reiserfs.o -lext2fs `gcc -m32 -print-libgcc-file-name` -o second/yaboot
/usr/lib/libext2fs.a(inode.o): In function `ext2fs_open_inode_scan':
(.text+0x2b8): undefined reference to `posix_memalign'
/usr/lib/libext2fs.a(openfs.o): In function `ext2fs_open2':
(.text+0x2c4): undefined reference to `posix_memalign'
/usr/lib/libext2fs.a(rw_bitmaps.o): In function `write_bitmaps':
(.text+0xd8): undefined reference to `posix_memalign'
/usr/lib/libext2fs.a(rw_bitmaps.o): In function `write_bitmaps':
(.text+0x124): undefined reference to `posix_memalign'
/usr/lib/libext2fs.a(rw_bitmaps.o): In function `read_bitmaps':
(.text+0x750): undefined reference to `posix_memalign'
make: *** [yaboot] Error 1



cheers,
Acrux
-- 
GNU/Linux on Power Architecture
CRUX PPC - http://cruxppc.org/


More information about the Yaboot-devel mailing list