[Xapian-discuss] Re: Suffix or operands invalid for 'mov' on x86_64
Mitul
mitul_b_shah at hotmail.com
Wed May 4 03:41:41 BST 2005
Olly Betts <olly <at> survex.com> writes:
>
> On Wed, May 04, 2005 at 01:31:15AM +0000, Mitul wrote:
> > Linux localhost 2.6.9-1.667 #1 Tue Nov 2 14:50:10 EST 2004 x86_64 x86_64
x86_64
> [snip]
> > testsuite.cc: In member function `test_driver::test_result
> > test_driver::runtest(const test_desc*)':
> > testsuite.cc:207: warning: cast from pointer to integer of different size
>
> The problem you've hit is that xapian-core's configure has detected
> valgrind, but this valgrind is for 32 bit binaries while Xapian is
> being built with a 64 bit compiler. The warnings and errors are from
> macros in valgrind.h.
>
> This is fixed in the sources in SVN, so 0.9.0 won't have this problem.
> The easiest workaround for 0.8.5 and earlier is force configure to
> ignore valgrind, like so:
>
> ./configure VALGRIND=
>
> Cheers,
> Olly
>
Ok. I tried that, but still received the same error. So I tried
removing the path from the Makefile at the root level and
at the testsuite level. All I did was set the VALGRIND = and
removed the reference to /usr/bin/valgrind.
That didn't work either. So I also tried removing the
reference from config.h, but that didn't work.
So I tried something drastic, since I'm the only one on
the box. Just renamed the executable in /usr/bin.
That worked. :)
xapian completed the compile and I ran 'make check'
aferwords. All test passed with a few skipped.
I renamed valgrind afterwards.
Thank you,
Mitul
More information about the Xapian-discuss
mailing list