[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: problems compiling xfsdump



Hi Maurizio,

On Fri, Jun 01, 2001 at 09:18:07AM +0200, maurizio.davini@df.unipi.it wrote:
> Compiling the last CVS code on RedHat 7.1
> I have the problems reported in the log file attached.
> 			Can help ?
> 		   Maurizio Davini
> === dump ===
> gcc -O1 -g -DDEBUG -funsigned-char -Wall -DDUMP -DRMT -DBASED -DDOSOCKS -DINVCONVFIX -DSIZEEST -DPIPEINVFIX -DEXTATTR -I/usr/include/xfs -I/usr/include/attr '-DVERSION="1.0.9"' -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DXFS_BIG_FILES=1 -DXFS_BIG_FILESYSTEMS=1 -o xfsdump   arch_xlate.o cldmgr.o content_common.o dlog.o drive.o drive_scsitape.o drive_simple.o drive_minrmt.o fs.o getdents.o global.o lock.o main.o mlog.o openutil.o qlock.o path.o ring.o stkchk.o stream.o util.o sproc.o attr.o inv_api.o inv_core.o inv_fstab.o inv_idx.o inv_mgr.o inv_stobj.o content.o inomap.o var.o   -lhandle /usr/lib/libuuid.a ../librmt/librmt.a /usr/lib/libattr.a  
> arch_xlate.o: In function `xlate_global_hdr':
> /root/xfs/linux-2.4-xfs/cmd/xfsdump/dump/arch_xlate.c:67: undefined reference to `__fswab64'
> /root/xfs/linux-2.4-xfs/cmd/xfsdump/dump/arch_xlate.c:67: undefined reference to `__fswab64'
> arch_xlate.o: In function `xlate_content_inode_hdr':
> /root/xfs/linux-2.4-xfs/cmd/xfsdump/dump/arch_xlate.c:252: undefined reference to `__fswab64'
> /root/xfs/linux-2.4-xfs/cmd/xfsdump/dump/arch_xlate.c:252: undefined reference to `__fswab64'
> /root/xfs/linux-2.4-xfs/cmd/xfsdump/dump/arch_xlate.c:253: undefined reference to `__fswab64'
> arch_xlate.o:/root/xfs/linux-2.4-xfs/cmd/xfsdump/dump/arch_xlate.c:253: more undefined references to `__fswab64' follow
> collect2: ld returned 1 exit status
> make[1]: *** [xfsdump] Error 1
> make: *** [default] Error 2

Need to have the latest headers from cmd/xfsprogs installed.
Which means you'll need a "make install-dev" in the cmd/xfsprogs
directory.

--Tim