Bill Hutten
2008-Apr-14 15:10 UTC
[Xapian-discuss] Compiling omega 1.0.6 on Mac OS X 10.5.2 results in an error.
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
Olly Betts
2008-Apr-15 08:00 UTC
[Xapian-discuss] Compiling omega 1.0.6 on Mac OS X 10.5.2 results in an error.
On Mon, Apr 14, 2008 at 12:10:44PM -0300, Bill Hutten wrote:> freemem.cc: In function 'long int get_free_physical_memory()': > freemem.cc:75: error: aggregate 'vmtotal vm_info' has incomplete type > and cannot be definedCan you send your config.log? Cheers, Olly