[Xapian-discuss] Compiling latest svn revision

Henry henka at cityweb.co.za
Wed Dec 3 21:03:27 GMT 2008


Greetings,

Before I head off to bed I thought I'd fire off this email wrt  
compiling the latest svn revision.

I finally resolved all the dependencies, ran bootstrap/configure, but  
make eventually fails with:

/usr/lib/gcc/i386-redhat-linux/4.1.2/../../../crt1.o: In function `_start':
(.text+0x18): undefined reference to `main'
Xapian.o: In function `boot_Search__Xapian':
/home/henry/projects/xapian/search-xapian/Xapian.c:8796: undefined  
reference to `Perl_Gthr_key_ptr'
/home/henry/projects/xapian/search-xapian/Xapian.c:8796: undefined  
reference to `pthread_getspecific'
....

Now, "undefined reference to `main'" usually indicates a missing  
main() function during linking, so it looks like something wonky is  
going on.

Resolving this in a small project would be relatively easy, but Xapian  
is no small project :)  Any ideas?

Regards
Henry

/staggers off to bed.




More information about the Xapian-discuss mailing list