I'm getting the folllowing error trying to compile xfsprogs, specifically
in xfs_bd:
/usr/bin/libtool --mode=link gcc -o xfs_db -static addr.o agf.o agfl.o
agi.o attr.o attrshort.o bit.o block.o bmap.o bmapbt.o bmroot.o bnobt.o
check.o cntbt.o
command.o convert.o data.o dbread.o debug.o dir.o dir2.o dir2sf.o
dirshort.o dquot.o echo.o faddr.o field.o flist.o fprint.o frag.o freesp.o
hash.o help.o init.o inobt.o inode.o input.o io.o malloc.o mount.o
output.o print.o quit.o sb.o sig.o strvec.o text.o type.o uuid.o write.o
main.o ../libxfs/libxfs.la /usr/lib/libuuid.a
gcc -o xfs_db addr.o agf.o agfl.o agi.o attr.o attrshort.o bit.o block.o
bmap.o
bmapbt.o bmroot.o bnobt.o check.o cntbt.o command.o convert.o data.o
dbread.o debug.o dir.o dir2.o dir2sf.o dirshort.o dquot.o echo.o faddr.o
field.o flist.o fprint.o frag.o freesp.o hash.o help.o init.o inobt.o
inode.o input.o io.o malloc.o mount.o output.o print.o quit.o sb.o sig.o
strvec.o text.o type.o uuid.o write.o main.o ../libxfs/.libs/libxfs.a
/usr/lib/libuuid.a
check.o: In function `process_rtbitmap':
/usr/src/linux-xfs-cvs/cmd/xfsprogs/db/check.c:3476: undefined reference
to `xfs_highbit32'
/usr/src/linux-xfs-cvs/cmd/xfsprogs/db/check.c:3489: undefined reference
to `xfs_highbit32'
collect2: ld returned 1 exit status
make[1]: *** [xfs_db] Error 1
make: *** [default] Error 2
xfs_highbit32 seems to be defined both is libxfs/bit.c as an actual
function, and in include/xfs.h, as a #define to libxfs_highbit32, which as
far as I can tell is never defined.
The system is a up-to-date Debian woody with gcc 3.0.4 (same error with
gcc 2.95.4), and the source was grabbed today via CVSup.
TIA for any help, pointers, hand-holding, etc.
Tim
|