[Xapian-discuss] Compiling omega 1.0.6 on Mac OS X 10.5.2 results in an error.

Bill Hutten bill at hutten.org
Mon Apr 14 16:10:44 BST 2008


Hi all:

When I attempt to build omega 1.0.6 I'm getting a failure.  "./ 
configure" works fine, I then do a "make" and get this:

make  all-recursive
Making all in .
g++ -DHAVE_CONFIG_H -I. -I./common -DCONFIGFILE_SYSTEM=\"/usr/local/ 
etc/omega.conf\"  -Wall -W -Wredundant-decls -Wpointer-arith -Wcast- 
qual -Wcast-align -Wno-multichar -Wno-long-long -fno-gnu-keywords - 
Wundef -Wshadow -g -O2 -I/usr/local/include -MT freemem.o -MD -MP - 
MF .deps/freemem.Tpo -c -o freemem.o freemem.cc
freemem.cc: In function 'long int get_free_physical_memory()':
freemem.cc:75: error: aggregate 'vmtotal vm_info' has incomplete type  
and cannot be defined
freemem.cc: At global scope:
freemem.cc:90: error: expected unqualified-id before 'if'
freemem.cc:97: error: expected unqualified-id before 'return'
freemem.cc:98: error: expected declaration before '}' token
freemem.cc: In function 'long int get_free_physical_memory()':
freemem.cc:88: warning: control reaches end of non-void function
make[2]: *** [freemem.o] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2




Anyone have some thoughts or a solution?


Thanks


- bill
---
bill at hutten.org







More information about the Xapian-discuss mailing list