xfs
[Top] [All Lists]

Re: cvs cmd pb compiling

To: linux <dahouet@xxxxxxx>
Subject: Re: cvs cmd pb compiling
From: Timothy Shimmin <tes@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Mon, 28 May 2001 14:37:53 +1000
Cc: linux-xfs@xxxxxxxxxxx
In-reply-to: <200105251928090081.0181DC47@xxxxxxxxxxx>; from dahouet@xxxxxxx on Fri, May 25, 2001 at 07:28:09PM +0200
References: <200105251928090081.0181DC47@xxxxxxxxxxx>
Sender: owner-linux-xfs@xxxxxxxxxxx
Hi Nico,

Did you do a 
    make
    make install install-dev
in the cmd/xfsprogs directory prior to your compile ?
The "make install-dev" from cmd/xfsprogs installs
a lot of the common xfs util header files such as
the endian conversion architecture files.

Alternatively, one could install the
xfsprogs-devel package to get the header files.

Let me know if this doesn't solve the problem.

Cheers,
--Tim

On Fri, May 25, 2001 at 07:28:09PM +0200, linux wrote:
> Hi,
> 
> i've updated my linux kernel with cvs today
> i manage to compile the kernel succesfully 
> but i can't compile the utils xfsdump in cmd directory
> 
> 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/linux-2.4-xfs/cmd/xfsdump/dump/arch_xlate.c:67: undefined reference 
> to `__fswab64'
> /usr/src/linux-2.4-xfs/cmd/xfsdump/dump/arch_xlate.c:67: undefined reference 
> to `__fswab64'
> arch_xlate.o: In function `xlate_content_inode_hdr':
> /usr/src/linux-2.4-xfs/cmd/xfsdump/dump/arch_xlate.c:252: undefined reference 
> to `__fswab64'
> /usr/src/linux-2.4-xfs/cmd/xfsdump/dump/arch_xlate.c:252: undefined reference 
> to `__fswab64'
> /usr/src/linux-2.4-xfs/cmd/xfsdump/dump/arch_xlate.c:253: undefined reference 
> to `__fswab64'
> arch_xlate.o:/usr/src/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] Erreur 1
> make: *** [default] Erreur 2
> 
> 
> any idea ?
> @++
> nico
> 

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