Bug 386 - xfsdump-2.2.25 fails on compile
: xfsdump-2.2.25 fails on compile
Status: RESOLVED INVALID
Product: XFS
Classification: Unclassified
Component: xfsdump
: unspecified
: All All
: critical
: ---
Assigned To: XFS power people
:
:
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2004-11-16 09:21 CST by akingston
Modified: 2005-01-05 20:38 CST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description akingston 2004-11-16 09:21:50 CST
On: Linux kernel 2.4.27 with XFS support enabled, the following error occurs on
xfsdump

$sudo /usr/src/xfs/xfsdump-2.2.25/Makepkgs -verbose

....

inomap.c: In function `cb_add':
inomap.c:739: `XFS_XFLAG_NODUMP' undeclared (first use in this function)
inomap.c:739: (Each undeclared identifier is reported only once
inomap.c:739: for each function it appears in.)
gmake[1]: *** [inomap.o] Error 1
make: *** [default] Error 2

== dist, log is Logs/dist
make: Entering directory `/usr/src/xfs/xfsdump-2.2.25/build'
/bin/tar: xfsdump-2.2.25/restore/arch_xlate.c: Cannot stat: No such file or
directory
/bin/tar: xfsdump-2.2.25/restore/cldmgr.c: Cannot stat: No such file or directory
/bin/tar: xfsdump-2.2.25/restore/dlog.c: Cannot stat: No such file or directory
/bin/tar: xfsdump-2.2.25/restore/drive.c: Cannot stat: No such file or directory
/bin/tar: xfsdump-2.2.25/restore/drive_scsitape.c: Cannot stat: No such file or
directory
/bin/tar: xfsdump-2.2.25/restore/drive_simple.c: Cannot stat: No such file or
directory
/bin/tar: xfsdump-2.2.25/restore/drive_minrmt.c: Cannot stat: No such file or
directory
/bin/tar: xfsdump-2.2.25/restore/fs.c: Cannot stat: No such file or directory
/bin/tar: xfsdump-2.2.25/restore/getdents.c: Cannot stat: No such file or directory
/bin/tar: xfsdump-2.2.25/restore/global.c: Cannot stat: No such file or directory
/bin/tar: xfsdump-2.2.25/restore/lock.c: Cannot stat: No such file or directory
/bin/tar: xfsdump-2.2.25/restore/main.c: Cannot stat: No such file or directory
/bin/tar: xfsdump-2.2.25/restore/mlog.c: Cannot stat: No such file or directory
/bin/tar: xfsdump-2.2.25/restore/openutil.c: Cannot stat: No such file or directory
/bin/tar: xfsdump-2.2.25/restore/path.c: Cannot stat: No such file or directory
/bin/tar: xfsdump-2.2.25/restore/qlock.c: Cannot stat: No such file or directory
/bin/tar: xfsdump-2.2.25/restore/ring.c: Cannot stat: No such file or directory
/bin/tar: xfsdump-2.2.25/restore/sproc.c: Cannot stat: No such file or directory
/bin/tar: xfsdump-2.2.25/restore/stream.c: Cannot stat: No such file or directory
/bin/tar: xfsdump-2.2.25/restore/util.c: Cannot stat: No such file or directory
/bin/tar: xfsdump-2.2.25/restore/inv_api.c: Cannot stat: No such file or directory
/bin/tar: xfsdump-2.2.25/restore/inv_core.c: Cannot stat: No such file or directory
/bin/tar: xfsdump-2.2.25/restore/inv_files.c: Cannot stat: No such file or directory
/bin/tar: xfsdump-2.2.25/restore/inv_fstab.c: Cannot stat: No such file or directory
/bin/tar: xfsdump-2.2.25/restore/inv_idx.c: Cannot stat: No such file or directory
/bin/tar: xfsdump-2.2.25/restore/inv_mgr.c: Cannot stat: No such file or directory
/bin/tar: xfsdump-2.2.25/restore/inv_stobj.c: Cannot stat: No such file or directory
/bin/tar: Error exit delayed from previous errors
Wrote: /usr/src/xfs/xfsdump-2.2.25/build/xfsdump-2.2.25.src.tar.gz
=== install ===
gmake[1]: Entering directory `/usr/src/xfs/xfsdump-2.2.25'
=== include ===
gmake[2]: Nothing to be done for `default'.
=== librmt ===
gmake[2]: Nothing to be done for `default'.
=== common ===
gmake[2]: Nothing to be done for `default'.
=== estimate ===
gmake[2]: Nothing to be done for `default'.
=== fsr ===
gmake[2]: Nothing to be done for `default'.
=== inventory ===
gmake[2]: Nothing to be done for `default'.
=== invutil ===
gmake[2]: Nothing to be done for `default'.
=== quota ===
gmake[2]: Nothing to be done for `default'.
=== dump ===
gcc -O1 -g -DDEBUG -funsigned-char -fno-strict-aliasing -Wall
-DVERSION=\"2.2.25\" -DLOCALEDIR=\"/usr/s
hare/locale\" -DPACKAGE=\"xfsdump\" -I../include -D_GNU_SOURCE
-D_FILE_OFFSET_BITS=64 -DDUMP -DRMT -DBA
SED -DDOSOCKS -DINVCONVFIX -DSIZEEST -DPIPEINVFIX -DEXTATTR -DDMEXTATTR    -c -o
inomap.o inomap.c
inomap.c: In function `cb_add':
inomap.c:739: `XFS_XFLAG_NODUMP' undeclared (first use in this function)
inomap.c:739: (Each undeclared identifier is reported only once
inomap.c:739: for each function it appears in.)
gmake[2]: *** [inomap.o] Error 1
gmake[1]: *** [default] Error 2
gmake[1]: Leaving directory `/usr/src/xfs/xfsdump-2.2.25'
make: *** [dist] Error 2
make: Leaving directory `/usr/src/xfs/xfsdump-2.2.25/build'
Comment 1 Nathan Scott 2004-11-16 13:36:06 CST
You need a newer version of xfsprogs-devel installed (and we need
a new configure check in xfsdump to check for this new macro).

cheers.