[Lustre-discuss] troubles compiling e2fsprogs on powerpc

Patrick Winnertz patrick.winnertz at credativ.de
Thu Mar 12 02:02:01 PDT 2009


Hey,

I've slight problems with e2fsprogs on powerpc: 
The build aborts while linking lfsck:

--------------------------------------------------------------------
	LD lfsck
cc -static -pthread  -I /usr/src/lustre/lustre/include -Wall lfsck_common.o 
lfsck.o -o lfsck -L /usr/src/lustre/lustre/utils -llustreapi -ldb-4.4
lfsck_common.o: In function `cputole_mds_hdr':
lfsck_common.c:(.text+0x908): undefined reference to `ext2fs_swab64'
lfsck_common.c:(.text+0x934): undefined reference to `ext2fs_swab64'
lfsck_common.c:(.text+0x960): undefined reference to `ext2fs_swab64'
lfsck_common.c:(.text+0x990): undefined reference to `ext2fs_swab64'
lfsck_common.c:(.text+0x9dc): undefined reference to `ext2fs_swab64'
lfsck_common.o:lfsck_common.c:(.text+0xa68): more undefined references to 
`ext2fs_swab64' follow
lfsck_common.o: In function `cputole_mds_dirent':
lfsck_common.c:(.text+0xd88): undefined reference to `ext2fs_swab32'
lfsck_common.c:(.text+0xdb8): undefined reference to `ext2fs_swab32'
lfsck_common.c:(.text+0xde0): undefined reference to `ext2fs_swab32'
lfsck_common.o: In function `letocpu_mds_dirent':
lfsck_common.c:(.text+0xe34): undefined reference to `ext2fs_swab32'
lfsck_common.c:(.text+0xe64): undefined reference to `ext2fs_swab32'
lfsck_common.o:lfsck_common.c:(.text+0xe8c): more undefined references to 
`ext2fs_swab32' follow
lfsck_common.o: In function `cputole_mds_szinfo':
lfsck_common.c:(.text+0xee0): undefined reference to `ext2fs_swab64'
lfsck_common.c:(.text+0xf04): undefined reference to `ext2fs_swab32'
lfsck_common.c:(.text+0xf24): undefined reference to `ext2fs_swab16'
lfsck_common.c:(.text+0xf48): undefined reference to `ext2fs_swab64'
lfsck_common.c:(.text+0xf74): undefined reference to `ext2fs_swab64'
lfsck_common.c:(.text+0xf98): undefined reference to `ext2fs_swab32'
lfsck_common.o: In function `letocpu_mds_szinfo':
[ ...] 
collect2: ld returned 1 exit status
-----------------------------------------------------------------------

Has someone a hint which is going wrong on powerpc but working well on all 
other arches?

Greetings
Winnie
-- 
Patrick Winnertz
Tel.: +49 (0) 2161 / 4643 - 0

credativ GmbH, HRB Mönchengladbach 12080
Hohenzollernstr. 133, 41061 Mönchengladbach
Geschäftsführung: Dr. Michael Meskes, Jörg Folz



More information about the lustre-discuss mailing list