xfs
[Top] [All Lists]

Re: dump/restore and setuid/setgid files

To: Eric Sandeen <sandeen@xxxxxxx>
Subject: Re: dump/restore and setuid/setgid files
From: Brent A Nelson <brent@xxxxxxxxxxxx>
Date: Fri, 18 May 2001 14:28:08 -0400 (EDT)
Cc: linux-xfs@xxxxxxxxxxx
In-reply-to: <3B044744.EBAC2218@sgi.com>
Sender: owner-linux-xfs@xxxxxxxxxxx
Okay, to fix this problem I grabbed the xfsdump directory in CVS and
proceeded to create an xfsdump-1.0.9 RPM from it.  The build went well
until the linking of xfsdump itself:

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 -I/usr/include/xfs
-I/usr/include/attr  -c -o var.o var.c
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':
/usr/src/redhat/BUILD/xfsdump-1.0.9/dump/arch_xlate.c:67: undefined
reference to `__fswab64'
/usr/src/redhat/BUILD/xfsdump-1.0.9/dump/arch_xlate.c:67: undefined
reference to `__fswab64'
arch_xlate.o: In function `xlate_content_inode_hdr':
/usr/src/redhat/BUILD/xfsdump-1.0.9/dump/arch_xlate.c:252: undefined
reference to `__fswab64'
/usr/src/redhat/BUILD/xfsdump-1.0.9/dump/arch_xlate.c:252: undefined
reference to `__fswab64'
/usr/src/redhat/BUILD/xfsdump-1.0.9/dump/arch_xlate.c:253: undefined
reference to `__fswab64'
arch_xlate.o:/usr/src/redhat/BUILD/xfsdump-1.0.9/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

This is on an Intel machine running with the SGI-modified RedHat 7.1, and
all partitions moved over to LVM.

Suggestions?

Thanks,

Brent


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