[Xapian-devel] Building Search_Xapian under FreeBSD

Olly Betts olly at survex.com
Tue Jul 11 17:38:05 BST 2006


On Tue, Jul 11, 2006 at 06:59:42PM +0400, Pronichev Alexander wrote:
> g++ -c  -I/usr/local/include  -DAPPLLIB_EXP="/usr/local/lib/perl5/5.8.8/BSDPAN" -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe -I/usr/local/include -O -pipe    -DVERSION=\"0.9.6.0\"  -DXS_VERSION=\"0.9.6.0\" -DPIC -fPIC "-I/usr/local/lib/perl5/5.8.8/mach/CORE"   Xapian.c
> Xapian.c:144: syntax error before `__attribute__'
> Xapian.c:145: syntax error before `__attribute__'
> Xapian.c:147: register name not specified for `struct SV ** mark'
> Xapian.c:147: `sp' was not declared in this scope
> Xapian.c:148: syntax error before `if'
> cpp0: output pipe has been closed
> *** Error code 1

Can you post what's around line 144 of Xapian.c?  It's generated during
the build so I need to see what it contains for you...

Cheers,
    Olly



More information about the Xapian-devel mailing list