xfs
[Top] [All Lists]

Re: Problems cross compiling xfsprogs

To: Jackson Jones <jjones@xxxxxxxxx>
Subject: Re: Problems cross compiling xfsprogs
From: Nathan Scott <nathans@xxxxxxx>
Date: Fri, 21 Jul 2006 15:37:19 +1000
Cc: xfs@xxxxxxxxxxx
In-reply-to: <20060720114406.0fdf557a@XEONBOX>; from jjones@xxxxxxxxx on Thu, Jul 20, 2006 at 11:44:06AM -0700
References: <20060720114406.0fdf557a@XEONBOX>
Sender: xfs-bounce@xxxxxxxxxxx
User-agent: Mutt/1.2.5i
On Thu, Jul 20, 2006 at 11:44:06AM -0700, Jackson Jones wrote:
> xfs@xxxxxxxxxxx, Nathan,
> 
> Hi, my name is Jackson Jones, I am working on an embedded linux project. We 
> are
> using XFS for our filesystem. I am updating our toolchain to a 2.6.12 kernel
> (from a 2.4.25).
> 
> We were using xfsprogs-2.6.25 (which did fine against the 2.4.25 kernel. When
> compiling against the 2.6.12 kernel, I got the following error(the entire 
> build
> log is attached)
>....
> fadvise.o: In function `fadvise_f':
> /home/jjones/depot/mp/exp-perf/output/mipsel/build/debug/xfsprogs/io/fadvise.c:122:
> undefined reference to `posix_fadvise64'

This sounds like you have an ancient libc... is that possible?

> I moved up to xfsprogs-2.7.11 and got (entire log is attached).
> -DPACKAGE=\"xfsprogs\" -I../include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64
> --tag=gcc -c bit.c libtool: compile: unable to infer tagged configuration
> libtool: compile: specify a tag with `--tag' gmake[2]: *** [bit.lo] Error 1
> make[1]: *** [default] Error 2 make[1]: Leaving directory

Urgh, I have no idea - libtool Just Works (TM) for me, so I
don't mess with it... if you need to pass more options in,
bounce us a patch implementing that I guess.

> Is there a version (of xfsprogs, which you recommend, or where in the build
> script should I insert the --tag=gcc option after the mode=compile? I am

Dunno.

> guessing the libtool is confused since our compiler is called
> mipsel-linux-gcc.

Did setting CC in the environment before running configure have
any effect?  (not sure, I've not done it, but maybe..)

cheers.

-- 
Nathan


<Prev in Thread] Current Thread [Next in Thread>
  • Re: Problems cross compiling xfsprogs, Nathan Scott <=