[Xapian-discuss] Compiling Omega 1.2.9 on Windows 7 64-Bit
Noel Huebers
NoelHuebers at crd.com
Wed Mar 28 02:54:00 BST 2012
Hi All,
I 'm trying to build Omega 1.2.9, configure ran through, but when I do make I get error below.
Any thoughts what I am missing?
Thanks
Noel
make all-recursive
make[1]: Entering directory `/xapian/xapian-omega-1.2.9'
Making all in .
make[2]: Entering directory `/xapian/xapian-omega-1.2.9'
/bin/sh ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I./commo
n -I/usr/local/include -Wall -W -Wredundant-decls -Wpointer-arith -Wcast-qual -
Wcast-align -Wno-long-long -Wformat-security -fno-gnu-keywords -Wundef -Wstrict-
null-sentinel -Wshadow -Wstrict-overflow=1 -Winit-self -Wlogical-op -Wmissing-de
clarations -fvisibility=hidden -I/xapian/xapian-core-1.2.9/include -g -O2 -MT li
btransform_la-transform.lo -MD -MP -MF .deps/libtransform_la-transform.Tpo -c -o
libtransform_la-transform.lo `test -f 'transform.cc' || echo './'`transform.cc
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I./common -I/usr/local/include -Wall
-W -Wredundant-decls -Wpointer-arith -Wcast-qual -Wcast-align -Wno-long-long -W
format-security -fno-gnu-keywords -Wundef -Wstrict-null-sentinel -Wshadow -Wstri
ct-overflow=1 -Winit-self -Wlogical-op -Wmissing-declarations -fvisibility=hidde
n -I/xapian/xapian-core-1.2.9/include -g -O2 -MT libtransform_la-transform.lo -M
D -MP -MF .deps/libtransform_la-transform.Tpo -c transform.cc -DDLL_EXPORT -DPI
C -o .libs/libtransform_la-transform.o
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I./common -I/usr/local/include -Wall
-W -Wredundant-decls -Wpointer-arith -Wcast-qual -Wcast-align -Wno-long-long -W
format-security -fno-gnu-keywords -Wundef -Wstrict-null-sentinel -Wshadow -Wstri
ct-overflow=1 -Winit-self -Wlogical-op -Wmissing-declarations -fvisibility=hidde
n -I/xapian/xapian-core-1.2.9/include -g -O2 -MT libtransform_la-transform.lo -M
D -MP -MF .deps/libtransform_la-transform.Tpo -c transform.cc -o libtransform_la
-transform.o >/dev/null 2>&1
mv -f .deps/libtransform_la-transform.Tpo .deps/libtransform_la-transform.Plo
/bin/sh ./libtool --tag=CXX --mode=link g++ -Wall -W -Wredundant-decls -Wpoin
ter-arith -Wcast-qual -Wcast-align -Wno-long-long -Wformat-security -fno-gnu-key
words -Wundef -Wstrict-null-sentinel -Wshadow -Wstrict-overflow=1 -Winit-self -W
logical-op -Wmissing-declarations -fvisibility=hidden -I/xapian/xapian-core-1.2.
9/include -g -O2 -no-undefined -o libtransform.la libtransform_la-transform.l
o -L/usr/local/lib -lpcre
libtool: link: rm -fr .libs/libtransform.a .libs/libtransform.la
libtool: link: ar cru .libs/libtransform.a .libs/libtransform_la-transform.o
libtool: link: ranlib .libs/libtransform.a
libtool: link: ( cd ".libs" && rm -f "libtransform.la" && cp -p "../libtransform
.la" "libtransform.la" )
g++ -DHAVE_CONFIG_H -I. -I./common -DCONFIGFILE_SYSTEM=\"/usr/local/etc/omega.co
nf\" -DPKGLIBBINDIR=\"/usr/local/lib/xapian-omega/bin\" -Wall -W -Wredundant-de
cls -Wpointer-arith -Wcast-qual -Wcast-align -Wno-long-long -Wformat-security -f
no-gnu-keywords -Wundef -Wstrict-null-sentinel -Wshadow -Wstrict-overflow=1 -Win
it-self -Wlogical-op -Wmissing-declarations -fvisibility=hidden -I/xapian/xapian
-core-1.2.9/include -g -O2 -MT freemem.o -MD -MP -MF .deps/freemem.Tpo -c -o fre
emem.o freemem.cc
freemem.cc: 関数 'long int get_free_physical_memory()' 内:
freemem.cc:111:5: エラー: 'MEMORYSTATUSEX' was not declared in this scope
freemem.cc:111:20: エラー: expected ';' before 'statex'
freemem.cc:112:5: エラー: 'statex' was not declared in this scope
freemem.cc:113:33: エラー: 'GlobalMemoryStatusEx' was not declared in this scope
freemem.cc:116:1: [-Wreturn-type]
make[2]: *** [freemem.o] Error 1
make[2]: Leaving directory `/xapian/xapian-omega-1.2.9'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/xapian/xapian-omega-1.2.9'
make: *** [all] Error 2
More information about the Xapian-discuss
mailing list