xfs
[Top] [All Lists]

Re: problems compiling xfsdump

To: maurizio.davini@xxxxxxxxxxx
Subject: Re: problems compiling xfsdump
From: Timothy Shimmin <tes@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Fri, 1 Jun 2001 18:45:39 +1000
Cc: linux-xfs@xxxxxxxxxxx
In-reply-to: <3B1741AF.7C27288D@xxxxxxxxxxx>; from maurizio.davini@xxxxxxxxxxx on Fri, Jun 01, 2001 at 09:18:07AM +0200
References: <3B1741AF.7C27288D@xxxxxxxxxxx>
Sender: owner-linux-xfs@xxxxxxxxxxx
Hi Maurizio,

On Fri, Jun 01, 2001 at 09:18:07AM +0200, maurizio.davini@xxxxxxxxxxx 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

<Prev in Thread] Current Thread [Next in Thread>