Received: (from majordomo@localhost) by oss.sgi.com (8.11.3/8.11.3) id f518lIL31198 for linux-xfs-outgoing; Fri, 1 Jun 2001 01:47:18 -0700 Received: from yog-sothoth.sgi.com (eugate.sgi.com [192.48.160.10]) by oss.sgi.com (8.11.3/8.11.3) with SMTP id f518lDh31179 for ; Fri, 1 Jun 2001 01:47:13 -0700 Received: from boing.melbourne.sgi.com (boing.melbourne.sgi.com [134.14.55.141]) by yog-sothoth.sgi.com (980305.SGI.8.8.8-aspam-6.2/980304.SGI-aspam-europe) via ESMTP id KAA1260934 for ; Fri, 1 Jun 2001 10:46:59 +0200 (CEST) mail_from (tes@boing.melbourne.sgi.com) Received: (from tes@localhost) by boing.melbourne.sgi.com (SGI-8.9.3/8.9.3) id SAA50508; Fri, 1 Jun 2001 18:45:40 +1000 (EST) Date: Fri, 1 Jun 2001 18:45:39 +1000 From: Timothy Shimmin To: maurizio.davini@df.unipi.it Cc: linux-xfs@oss.sgi.com Subject: Re: problems compiling xfsdump Message-ID: <20010601184539.P97441@boing.melbourne.sgi.com> References: <3B1741AF.7C27288D@df.unipi.it> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0us In-Reply-To: <3B1741AF.7C27288D@df.unipi.it>; from maurizio.davini@df.unipi.it on Fri, Jun 01, 2001 at 09:18:07AM +0200 Sender: owner-linux-xfs@oss.sgi.com Precedence: bulk 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