kuno/GeoIP — Issue #32: Mac OS 10.7 Node v0.6.10 libgeoip 1.4.7 Install error
Author: dreampuf
Created: 2012-02-29 13:35:19+00:00
State: open

when i rebuild my nodejs project, it throw an error.

dreampuf@HX:~/hub/GeoIP$ node-waf build
Waf: Entering directory `/Users/dreampuf/hub/GeoIP/build'
[ 1/11] cxx: src/init.cc -> build/Release/src/init_1.o
[ 2/11] cxx: src/netspeed.cc -> build/Release/src/netspeed_1.o
[ 3/11] cxx: src/country6.cc -> build/Release/src/country6_1.o
[ 4/11] cxx: src/country.cc -> build/Release/src/country_1.o
In file included from ../src/netspeed.h:12,
from ../src/init.cc:7:
../src/node_geoip.h:7:19: error: GeoIP.h: No such file or directory
../src/node_geoip.h:8:23: error: GeoIPCity.h: No such file or directory
In file included from ../src/netspeed.h:12,
from ../src/netspeed.cc:7:
../src/node_geoip.h:7:19: error: GeoIP.h: No such file or directory
../src/node_geoip.h:8:23: error: GeoIPCity.h: No such file or directory
In file included from ../src/country6.h:12,
from ../src/country6.cc:7:
../src/node_geoip.h:7:19: error: GeoIP.h: No such file or directory
../src/node_geoip.h:8:23: error: GeoIPCity.h: No such file or directory
In file included from ../src/country.h:12,
from ../src/country.cc:7:
../src/node_geoip.h:7:19: error: GeoIP.h: No such file or directory
../src/node_geoip.h:8:23: error: GeoIPCity.h: No such file or directory
In file included from ../src/netspeed.h:12,
from ../src/netspeed.cc:7:
../src/node_geoip.h:20: error: expected constructor, destructor, or type conversion before ‘unsigned’
../src/node_geoip.h:21: error: expected constructor, destructor, or type conversion before ‘unsigned’
../src/node_geoip.h:23: error: expected constructor, destructor, or type conversion before ‘unsigned’
../src/node_geoip.h:24: error: ‘GEOIP_API’ does not name a type
../src/node_geoip.h:25: error: ‘GEOIP_API’ does not name a type
../src/node_geoip.h:27: error: expected constructor, destructor, or type conversion before ‘unsigned’
../src/node_geoip.h:28: error: ‘GEOIP_API’ does not name a type
../src/node_geoip.h:29: error: expected constructor, destructor, or type conversion before ‘int’
../src/node_geoip.h:31: error: expected constructor, destructor, or type conversion before ‘void’
../src/node_geoip.h:32: error: expected constructor, destructor, or type conversion before ‘char’
../src/node_geoip.h:38: error: expected constructor, destructor, or type conversion before ‘void’
../src/node_geoip.h:39: error: ‘GEOIP_API’ does not name a type
../src/node_geoip.h:40: error: ‘GEOIP_API’ does not name a type
../src/node_geoip.h:41: error: ‘GEOIP_API’ does not name a type
../src/node_geoip.h:42: error: expected constructor, destructor, or type conversion before ‘int’
../src/node_geoip.h:43: error: expected constructor, destructor, or type conversion before ‘void’
../src/node_geoip.h:44: error: expected constructor, destructor, or type conversion before ‘const’
../src/node_geoip.h:45: error: expected constructor, destructor, or type conversion before ‘const’
../src/node_geoip.h:46: error: expected constructor, destructor, or type conversion before ‘const’
../src/node_geoip.h:47: error: expected constructor, destructor, or type conversion before ‘const’
../src/node_geoip.h:48: error: expected constructor, destructor, or type conversion before ‘const’
../src/node_geoip.h:49: error: expected constructor, destructor, or type conversion before ‘const’
../src/node_geoip.h:50: error: expected constructor, destructor, or type conversion before ‘const’
../src/node_geoip.h:51: error: expected constructor, destructor, or type conversion before ‘const’
../src/node_geoip.h:52: error: expected constructor, destructor, or type conversion before ‘const’
../src/node_geoip.h:55: error: expected constructor, destructor, or type conversion before ‘const’
../src/node_geoip.h:56: error: expected constructor, destructor, or type conversion before ‘const’
../src/node_geoip.h:57: error: expected constructor, destructor, or type conversion before ‘const’
../src/node_geoip.h:59: error: expected constructor, destructor, or type conversion before ‘const’
../src/node_geoip.h:60: error: expected constructor, destructor, or type conversion before ‘const’
../src/node_geoip.h:61: error: expected constructor, destructor, or type conversion before ‘const’
../src/node_geoip.h:62: error: expected constructor, destructor, or type conversion before ‘const’
../src/node_geoip.h:63: error: expected constructor, destructor, or type conversion before ‘const’
../src/node_geoip.h:64: error: expected constructor, destructor, or type conversion before ‘const’
../src/node_geoip.h:67: error: expected constructor, destructor, or type conversion before ‘char’
../src/node_geoip.h:68: error: expected constructor, destructor, or type conversion before ‘char’
../src/node_geoip.h:69: error: expected constructor, destructor, or type conversion before ‘char’
../src/node_geoip.h:73: error: expected constructor, destructor, or type conversion before ‘int’
../src/node_geoip.h:74: error: expected constructor, destructor, or type conversion before ‘int’
../src/node_geoip.h:75: error: expected constructor, destructor, or type conversion before ‘int’
../src/node_geoip.h:77: error: expected constructor, destructor, or type conversion before ‘int’
../src/node_geoip.h:78: error: expected constructor, destructor, or type conversion before ‘int’
../src/node_geoip.h:79: error: expected constructor, destructor, or type conversion before ‘int’
../src/node_geoip.h:81: error: ‘GEOIP_API’ does not name a type
../src/node_geoip.h:82: error: ‘GEOIP_API’ does not name a type
../src/node_geoip.h:83: error: ‘GEOIP_API’ does not name a type
../src/node_geoip.h:85: error: ‘GEOIP_API’ does not name a type
../src/node_geoip.h:86: error: ‘GEOIP_API’ does not name a type
../src/node_geoip.h:87: error: ‘GEOIP_API’ does not name a type
../src/node_geoip.h:90: error: expected constructor, destructor, or type conversion before ‘void’
../src/node_geoip.h:92: error: expected constructor, destructor, or type conversion before ‘void’
../src/node_geoip.h:94: error: expected constructor, destructor, or type conversion before ‘void’
../src/node_geoip.h:97: error: expected constructor, destructor, or type conversion before ‘char’
../src/node_geoip.h:98: error: expected constructor, destructor, or type conversion before ‘char’
../src/node_geoip.h:99: error: expected constructor, destructor, or type conversion before ‘char’
../src/node_geoip.h:101: error: expected constructor, destructor, or type conversion before ‘char’
../src/node_geoip.h:102: error: expected constructor, destructor, or type conversion before ‘char’
../src/node_geoip.h:103: error: expected constructor, destructor, or type conversion before ‘char’
../src/node_geoip.h:106: error: expected constructor, destructor, or type conversion before ‘const’
../src/node_geoip.h:109: error: expected constructor, destructor, or type conversion before ‘const’
../src/node_geoip.h:112: error: expected constructor, destructor, or type conversion before ‘const’
../src/node_geoip.h:115: error: expected constructor, destructor, or type conversion before ‘const’
../src/node_geoip.h:118: error: expected constructor, destructor, or type conversion before ‘const’
../src/node_geoip.h:121: error: expected constructor, destructor, or type conversion before ‘int’
../src/node_geoip.h:124: error: expected constructor, destructor, or type conversion before ‘unsigned’
../src/node_geoip.h:126: error: expected constructor, destructor, or type conversion before ‘char’
../src/node_geoip.h:127: error: expected constructor, destructor, or type conversion before ‘unsigned’
../src/node_geoip.h:129: error: expected constructor, destructor, or type conversion before ‘int’
../src/node_geoip.h:130: error: expected constructor, destructor, or type conversion before ‘int’
../src/node_geoip.h:131: error: expected constructor, destructor, or type conversion before ‘int’
../src/node_geoip.h:132: error: expected constructor, destructor, or type conversion before ‘int’
../src/node_geoip.h:134: error: expected constructor, destructor, or type conversion before ‘int’
../src/node_geoip.h:135: error: expected constructor, destructor, or type conversion before ‘char’
../src/node_geoip.h:136: error: expected constructor, destructor, or type conversion before ‘void’
../src/node_geoip.h:139: error: expected constructor, destructor, or type conversion before ‘const’
../src/node_geoip.h:142: error: expected constructor, destructor, or type conversion before ‘const’
../src/node_geoip.h:145: error: expected constructor, destructor, or type conversion before ‘unsigned’
../src/node_geoip.h:146: error: expected constructor, destructor, or type conversion before ‘char’
../src/node_geoip.h:153: error: expected constructor, destructor, or type conversion before ‘int’
../src/node_geoip.h:156: error: expected constructor, destructor, or type conversion before ‘const’
../src/node_geoip.h:160: error: expected constructor, destructor, or type conversion before ‘*’ token
../src/node_geoip.h:161: error: expected constructor, destructor, or type conversion before ‘*’ token
../src/node_geoip.h:163: error: expected constructor, destructor, or type conversion before ‘*’ token
In file included from ../src/netspeed.cc:7:
../src/netspeed.h:21: error: ISO C++ forbids declaration of ‘GeoIP’ with no type
../src/netspeed.h:21: error: expected ‘;’ before ‘*’ token
../src/netspeed.cc: In static member function ‘static v8::Handle geoip::NetSpeed::New(const v8::Arguments&)’:
../src/netspeed.cc:50: error: ‘class geoip::NetSpeed’ has no member named ‘db’
../src/netspeed.cc:50: error: ‘GEOIP_MEMORY_CACHE’ was not declared in this scope
../src/netspeed.cc:50: error: ‘GEOIP_STANDARD’ was not declared in this scope
../src/netspeed.cc:50: error: ‘GeoIP_open’ was not declared in this scope
../src/netspeed.cc:52: error: ‘class geoip::NetSpeed’ has no member named ‘db’
../src/netspeed.cc:53: error: ‘class geoip::NetSpeed’ has no member named ‘db’
../src/netspeed.cc:53: error: ‘GeoIP_database_edition’ was not declared in this scope
../src/netspeed.cc:54: error: ‘GEOIP_NETSPEED_EDITION’ was not declared in this scope
../src/netspeed.cc:58: error: ‘class geoip::NetSpeed’ has no member named ‘db’
../src/netspeed.cc:58: error: ‘GeoIP_delete’ was not declared in this scope
../src/netspeed.cc:59: error: ‘class geoip::NetSpeed’ has no member named ‘db’
../src/netspeed.cc: In static member function ‘static v8::Handle geoip::NetSpeed::lookupSync(const v8::Arguments&)’:
../src/netspeed.cc:77: error: ‘_GeoIP_lookupaddress’ was not declared in this scope
../src/netspeed.cc:83: error: ‘class geoip::NetSpeed’ has no member named ‘db’
../src/netspeed.cc:83: error: ‘GeoIP_id_by_ipnum’ was not declared in this scope
../src/netspeed.cc:86: error: ‘GEOIP_UNKNOWN_SPEED’ was not declared in this scope
../src/netspeed.cc:88: error: ‘GEOIP_DIALUP_SPEED’ was not declared in this scope
../src/netspeed.cc:90: error: ‘GEOIP_CABLEDSL_SPEED’ was not declared in this scope
../src/netspeed.cc:92: error: ‘GEOIP_CORPORATE_SPEED’ was not declared in this scope
In file included from ../src/netspeed.h:12,
from ../src/init.cc:7:
../src/node_geoip.h:20: error: expected constructor, destructor, or type conversion before ‘unsigned’
../src/node_geoip.h:21: error: expected constructor, destructor, or type conversion before ‘unsigned’
../src/node_geoip.h:23: error: expected constructor, destructor, or type conversion before ‘unsigned’
../src/node_geoip.h:24: error: ‘GEOIP_API’ does not name a type
../src/node_geoip.h:25: error: ‘GEOIP_API’ does not name a type
../src/node_geoip.h:27: error: expected constructor, destructor, or type conversion before ‘unsigned’
../src/node_geoip.h:28: error: ‘GEOIP_API’ does not name a type
../src/node_geoip.h:29: error: expected constructor, destructor, or type conversion before ‘int’
../src/node_geoip.h:31: error: expected constructor, destructor, or type conversion before ‘void’
../src/node_geoip.h:32: error: expected constructor, destructor, or type conversion before ‘char’
../src/node_geoip.h:38: error: expected constructor, destructor, or type conversion before ‘void’
../src/node_geoip.h:39: error: ‘GEOIP_API’ does not name a type
../src/node_geoip.h:40: error: ‘GEOIP_API’ does not name a type
../src/node_geoip.h:41: error: ‘GEOIP_API’ does not name a type
../src/node_geoip.h:42: error: expected constructor, destructor, or type conversion before ‘int’
../src/node_geoip.h:43: error: expected constructor, destructor, or type conversion before ‘void’
../src/node_geoip.h:44: error: expected constructor, destructor, or type conversion before ‘const’
../src/node_geoip.h:45: error: expected constructor, destructor, or type conversion before ‘const’
../src/node_geoip.h:46: error: expected constructor, destructor, or type conversion before ‘const’
../src/node_geoip.h:47: error: expected constructor, destructor, or type conversion before ‘const’
../src/node_geoip.h:48: error: expected constructor, destructor, or type conversion before ‘const’
../src/node_geoip.h:49: error: expected constructor, destructor, or type conversion before ‘const’
../src/node_geoip.h:50: error: expected constructor, destructor, or type conversion before ‘const’
../src/node_geoip.h:51: error: expected constructor, destructor, or type con../src/netspeed.cc: In static member function ‘static v8::Handle geoip::NetSpeed::lookup(const v8::Arguments&)’:
../src/netspeed.cc:111: error: ‘_GeoIP_lookupaddress’ was not declared in this scope
version before ‘const’
../src/node_geoip.h:52: error: expected constructor, destructor, or type conversion before ‘const’
../src/node_geoip.h:55: error: expected constructor, destructor, or type conversion before ‘const’../src/netspeed.cc: In static member function ‘static void geoip::NetSpeed::EIO_NetSpeed(eio_req*)’:
../src/netspeed.cc:129: error: ‘class geoip::NetSpeed’ has no member named ‘db’
../src/netspeed.cc:129: error: ‘GeoIP_id_by_ipnum’ was not declared in this scope

../src/node_geoip.h:56: error: expected constructor, destructor, or type conversion before ‘const’
../src/node_geoip.h:57: error: expected constructor, destructor, or type conversion before ‘const’
../src/node_geoip.h:59: error: expected constructor, destructor, or type conversion before ‘const’
../src/node_geoip.h:60: error: expected constructor, destructor, or type conversion before ‘const’
../src/node_geoip.h:61: error: expected constructor, destructor, or type conversion before ‘const’
../src/node_geoip.h:62: error: expected constructor, destructor, or type conversion before ‘const’
../src/node_geoip.h:63: error: expected constructor, destructor, or type conversion before ‘const’
../src/node_geoip.h:64: error: expected constructor, destructor, or type conversion before ‘const’
../src/node_geoip.h:67: error: expected constructor, destructor, or type conversion before ‘char’
../src/node_geoip.h:68: error: expected constructor, destructor, or type conversion befor../src/netspeed.cc: In static member function ‘static int geoip::NetSpeed::EIO_AfterNetSpeed(eio_req*)’:
../src/netspeed.cc:149: error: ‘GEOIP_UNKNOWN_SPEED’ was not declared in this scope
../src/netspeed.cc:151: error: ‘GEOIP_DIALUP_SPEED’ was not declared in this scope
../src/netspeed.cc:153: error: ‘GEOIP_CABLEDSL_SPEED’ was not declared in this scope
../src/netspeed.cc:155: error: ‘GEOIP_CORPORATE_SPEED’ was not declared in this scope
e ‘char’
../src/node_geoip.h:69: error: expected constructor, destructor, or type conversion before ‘char’
../src/node_geoip.h:73: error: expected constructor, destructor, or type conversion before ‘int’
../src/node_geoip.h:74: error: expected constructor, destructor, or type conversion before ‘int’
../src/node_geoip.h:75: error: expected constructor, destructor, or type conversion before ‘int’
../src/node_geoip.h:77: error: expected constructor, destructor, or type conversion before ‘int’
../src/node_geoip.h:78: error: expected constructor, destructor, or type conversion before ‘int’
../src/node_geoip.h:79: error: expected constructor, destructor, or type conversion before ‘int’
../src/node_geoip.h:81: error: ‘GEOIP_API’ does not name a type
../src/node_geoip.h:82: error: ‘GEOIP_API’ does not name a type
../src/node_geoip.h:83: error: ‘GEOIP_API’ does not name a type
../src/node_geoip.h:85: error: ‘GEOIP_API’ does not name a type
../src/node_geoip.h:86: error: ‘GEOIP_API’ does not name a type
../src/node_geoip.h:87: error: ‘GEOIP_API’ does not name a type
../src/node_geoip.h:90: error: expected constructor, destructor, or type conversion before ‘void’
../src/node_geoip.h:92: error: expected constructor, destructor, or type conversion before ‘void’
../src/node_geoip.h:94: error: expected constructor, destructor, or type conversion before ‘void’
../src/node_geoip.h:97: error: expected constructor, destructor, or type conversion before ‘char’
../src/node_geoip.h:98: error: expected constructor, destructor, or type conversion before ‘char’
../src/node_geoip.h:99: error: expected constructor, destructor, or type conversion before ‘char’
../src/node_geoip.h:101: error: expected constructor, destructor, or type conversion before ‘char’
../src/node_geoip.h:102: error: expected constructor, destructor, or type conversion before ‘char’
../src/node_geoip.h:103: error: expected constructor, destructor, or type conversion before ‘char’
../src/node_geoip.h:106: error: expected constructor, destructor, or type conversion before ‘const’
../src/node_geoip.h:109: error: expected constructor, destructor, or type conversion before ‘const’
../src/node_geoip.h:112: error: expected constructor, destructor, or type conversion before ‘const’
../src/node_geoip.h:115: error: expected constructor, destructor, or type conversion before ‘const’
../src/node_geoip.h:118: error: expected constructor, destructor, or type conversion before ‘const’
../src/node_geoip.h:121: error: expected constructor, destructor, or type conversion before ‘int’
../src/node_geoip.h:124: error: expected constructor, destructor, or type conversion before ‘unsigned’
../src/node_geoip.h:126: error: expected constructor, destructor, or type conversion before ‘char’
../src/node_geoip.h:127: error: expected constructor, destructor, or type conversion before ‘unsigned’
../src/node_geoip.h:129: error: expected constructor, destructor, or type conversion before ‘int’
../src/node_geoip.h:130: error: expected constructor, destructor, or type conversion before ‘int’
../src/node_geoip.h:131: error: expected constructor, destructor, or type conversion before ‘int’
../src/node_geoip.h:132: error: expected constructor, destructor, or type conversion before ‘int’
../src/node_geoip.h:134: error: expected constructor, destructor, or type conversion before ‘int’
../src/node_geoip.h:135: error: expected constructor, destructor, or type conversion before ‘char’
../src/node_geoip.h:136: error: expected constructor, destructor, or type conversion before ‘void’
../src/node_geoip.h:139: error: expected constructor, destructor, or type conversion before ‘const’
../src/node_geoip.h:142: error: expected constructor, destructor, or type conversion before ‘const’
../src/node_geoip.h:145: error: expected constructor, destructor, or type conversion before ‘unsigned’
../src/node_geoip.h:146: error: expected constructor, destructor, or type conversion before ‘char’
../src/node_geoip.h:153: error: expected constructor, destructor, or type conversion before ‘int’
../src/node_geoip.h:156: error: expected constructor, destructor, or type conversion before ‘const’
../src/node_geoip.h:160: error: expected constructor, destructor, or type conversion before ‘*’ token
../src/node_geoip.h:161: error: expected constructor, destructor, or type conversion before ‘*’ token
../src/node_geoip.h:163: error: expected constructor, destructor, or type conversion before ‘*’ token
In file included from ../src/country.h:12,
from ../src/country.cc:7:
../src/node_geoip.h:20: error: expected constructor, destructor, or type conversion before ‘unsigned’
../src/netspeed.cc: In static member function ‘static v8::Handle geoip::NetSpeed::update(const v8::Arguments&)’:
../src/netspeed.cc:189: error: ‘class geoip::NetSpeed’ has no member named ‘db’
In file included from ../src/init.cc:7:
../src/netspeed.h:21: error: ISO C++ forbids declaration of ‘GeoIP’ with no type
../src/netspeed.cc:189: error: ‘GEOIP_MEMORY_CACHE’ was not declared in this scope../src/node_geoip.h:21: error: expected constructor, destructor, or type conversion before ‘unsigned’

../src/netspeed.h:21: error: expected ‘;’ before ‘*’ token
../src/netspeed.cc:189: error: ‘GEOIP_STANDARD’ was not declared in this scope
../src/node_geoip.h:23: error: expected constructor, destructor, or type conversion before ‘unsigned’
../src/netspeed.cc:189: error: ‘GeoIP_open’ was not declared in this scope
../src/node_geoip.h:24: error: ‘GEOIP_API’ does not name a type
../src/netspeed.cc:191: error: ‘class geoip::NetSpeed’ has no member n../src/node_geoip.h:25: error: ‘GEOIP_API’ does not name a type
../src/node_geoip.h:27: error: expected constructor, destructor, or type conversion before ‘unsigned’
../src/node_geoip.h:28: error: ‘GEOIP_API’ does not name a type
../src/node_geoip.h:29: error: expected constructor, destructor, or type conversion before ‘int’
../src/node_geoip.h:31: error: expected constructor, destructor, or type conversion before ‘void’
../src/node_geoip.h:32: error: expected constructor, destructor, or type conversion before ‘char’
../src/node_geoip.h:38: error: expected constructor, destructor, or type conversion before ‘void’
../src/node_geoip.h:39: error: ‘GEOIP_API’ does not name a type
../src/node_geoip.h:40: error: ‘GEOIP_API’ does not name a type
../src/node_geoip.h:41: error: ‘GEOIP_API’ does not name a type
../src/node_geoip.h:42: error: expected constructor, destructor, or type conversion before ‘int’
In file included from ../src/init.cc:8:
../src/country6.h:21: error: ISO C++ forbids declaration of ‘GeoIP’ with no type
../src/node_geoip.h:43: error: expected constructor, destructor, or type conversion before ‘void’
../src/country6.h:21: error: expected ‘;’ before ‘*’ token
../src/node_geoip.h:44: error: expected constructor, destructor, or type conversion before ‘const’
../src/node_geoip.h:45: error: expected constructor, destructor, or type conversion before ‘const’
../src/node_geoip.h:46: error: expected constructor, destructor, or type conversion before ‘const’
../src/node_geoip.h:47: error: expected constructor, destructor, or type conversion before ‘const’
../src/node_geoip.h:48: error: expected constructor, destructor, or type conversion before ‘const’
../src/node_geoip.h:49: error: expected constructor, destructor, or type conversion before ‘const’
../src/node_geoip.h:50: error: expected constructor, destructor, or type conversion before ‘const’
../src/node_geoip.h:51: error: expected constructor, destructor, or type conversion before ‘const’
../src/country6.h:49: error: ‘geoipv6_t’ does not name a type
../src/node_geoip.h:52: error: expected constructor, destructor, or type conversion before ‘const’
../src/node_geoip.h:55: error: expected constructor, destructor, or type conversion before ‘const’
../src/node_geoip.h:56: error: expected constructor, destructor, or type conversion before ‘const’
../src/node_geoip.h:57: error: expected constructor, destructor, or type conversion before ‘const’
In file included from ../src/init.cc:9:
../src/country.h:21: error: ISO C++ forbids declaration of ‘GeoIP’ with no type
../src/node_geoip.h:59: error: expected constructor, destructor, or type conversion before ‘const’
../src/country.h:21: error: expected ‘;’ before ‘*’ token
../src/node_geoip.h:60: error: expected constructor, destructor, or type conversion before ‘const’
../src/node_geoip.h:61: error: expected constructor, destructor, or type conversion before ‘const’amed ‘db’

In file included from ../src/country6.h:12,
from ../src/country6.cc:7:
../src/node_geoip.h:20: error: expected constructor, destructor, or type conversion before ‘unsigned’
../src/node_geoip.h:62: error: expected constructor, destructor, or type conversion before ‘const’
../src/netspeed.cc:192: error: ‘class geoip::NetSpeed’ has no member named ‘db’../src/node_geoip.h:21: error: expected constructor, destructor, or type conversion before ‘unsigned’

../src/node_geoip.h:63: error: expected constructor, destructor, or type conversion before ‘const’
../src/netspeed.cc:192: error: ‘GeoIP_database_edition’ was not declared in this scope
../src/node_geoip.h:23: error: expected constructor, destructor, or type conversion before ‘unsigned’
../src/node_geoip.h:64: error: expected constructor, destructor, or type conversion before ‘const’
../src/netspeed.cc:193: error: ‘GEOIP_NETSPEED_EDITION’ was not declared in this scope
../src/node_geoip.h:24: error: ‘GEOIP_API’ does not name a type../src/node_geoip.h:67: error: expected constructor, destructor, or type conversion before ‘char’

../src/netspeed.cc:196: error: ‘class geoip::NetSpeed’ has no member named ‘db’
In file included from ../src/init.cc:10:
../src/region.h:21: error: ISO C++ forbids declaration of ‘GeoIP’ with no type
../src/netspeed.cc:196: error: ‘GeoIP_delete’ was not declared in this scope
../src/node_geoip.h:25: error: ‘GEOIP_API’ does not name a type../src/node_geoip.h:68: error: expected constructor, destructor, or type conversion before ‘char’

../src/region.h:21: error: expected ‘;’ before ‘*’ token
../src/netspeed.cc:197: error: ‘class geoip::NetSpeed’ has no member named ‘db’
../src/node_geoip.h:69: error: expected constructor, destructor, or type conversion before ‘char’../src/node_geoip.h:27: error: expected constructor, destructor, or type conversion before ‘unsigned’

../src/node_geoip.h:../src/region.h:49: error: ISO C++ forbids declaration of ‘GeoIPRegion’ with no type
../src/node_geoip.h:73: error: expected constructor, destructor, or type conversion before ‘int’
../src/region.h:49: error: expected ‘;’ before ‘*’ token
../src/node_geoip.h:74: error: expected constructor, destructor, or type conversion before ‘int’
../src/node_geoip.h:75: error: expected constructor, destructor, or type conversion before ‘int’
../src/node_geoip.h:77: error: expected constructor, destructor, or type conversion before ‘int’
In file included from ../src/init.cc:11:
../src/city6.h:21: error: ISO C++ forbids declaration of ‘GeoIP’ with no type
../src/node_geoip.h:78: error: expected constructor, destructor, or type conversion before ‘int’
../src/city6.h:21: error: expected ‘;’ before ‘*’ token
../src/node_geoip.h:79: error: expected constructor, destructor, or type conversion before ‘int’
../src/node_geoip.h:81: error: ‘GEOIP_API’ does not name a type
../src/city6.h:50: error: ISO C++ forbids declaration of ‘GeoIPRecord’ with no type
28: error: ‘GEOIP_API’ does not name a type
../src/city6.h:50: error: expected ‘;’ before ‘*’ token
../src/node_geoip.h:82: error: ‘GEOIP_API’ does not name a type
../src/city6.h:51: error: ‘geoipv6_t’ does not name a type
../src/node_geoip.h:29: error: expected constructor, destructor, or type conversion before ‘int’
../src/node_geoip.h:83: error: ‘GEOIP_API’ does not name a type
../src/node_geoip.h:31: error: expected constructor, destructor, or type conversion before ‘void’
../src/node_geoip.h:85: error: ‘GEOIP_API’ does not name a type
../src/node_geoip.h:32: error: expected constructor, destructor, or type conversion before ‘char’../src/node_geoip.h:86: error: ‘GEOIP_API’ does not name a type

../src/node_geoip.h:87: error: ‘GEOIP_API’ does not name a typeIn file included from ../src/init.cc:12:
../src/city.h:21: error: ISO C++ forbids declaration of ‘GeoIP’ with no type

../src/netspeed.cc: In static member function ‘static v8::Handle geoip::NetSpeed::close(const v8::Arguments&)’:
../src/netspeed.cc:209: error: ‘class geoip::NetSpeed’ has no member named ‘db’
../src/node_geoip.h:38: error: expected constructor, destructor, or type conversion before ‘void’../src/city.h:21: error: expected ‘;’ before ‘*’ token

../src/netspeed.cc:209: error: ‘GeoIP_delete’ was not declared in this scope
../src/node_geoip.h:90: error: expected constructor, destructor, or type conversion before ‘void’
../src/node_geoip.h:39: error: ‘GEOIP_API’ does not name a type
../src/netspeed.cc:210: error: ‘class geoip::NetSpeed’ has no member named ‘db’
../src/node_geoip.h:92: error: expected constructor, destructor, or type conversion before ‘void’
../src/node_geoip.h:40: error: ‘GEOIP_API’ does not name a type
../src/node_geoip.h:41: error: ‘GEOIP_API’ does not name a type, or type conversion before ‘void’

../src/node_geoip.h:97: error: expected constructor, destructor, or type conversion before ‘char’../src/node_geoip.h:42: error: expected constructor, destructor, or type conversion before ‘int’

../src/node_geoip.h:43: error: expected constructor, destructor, or type conversion before ‘void’../src/node_geoip.h:98: error: expected constructor, destructor, or type conversion before ‘char’

../src/node_geoip.h:44: error: expected constructor, destructor, or type conversion before ‘const’../src/node_geoip.h:99: error: expected constructor, destructor, or type conversion before ‘char’

../src/node_geoip.h:45: error: expected constructor, destructor, or type conversion before ‘const’../src/node_geoip.h:101: error: expected constructor, destructor, or type conversion before ‘char’

../src/node_geoip.h:102: error: expected constructor, destructor, or type conversion before ‘char’../src/node_geoip.h:46: error: expected constructor, destructor, or type conversion before ‘const’

../src/city.h:50: error: ISO C++ forbids declaration of ‘GeoIPRecord’ with no type
../src/node_geoip.h:47: error: expected constructor, destructor, or type conversion before ‘const’../src/city.h:50: error: expected ‘;’ before ‘*’ token

../src/node_geoip.h:48: error: expected constructor, destructor, or type conversion before ‘const’
../src/node_geoip.h:49: error: expected constructor, destructor, or type conversion before ‘const’
../src/node_geoip.h:50: error: expected constructor, destructor, or type conversion before ‘const’
../src/node_geoip.h:51: error: expected constructor, destructor, or type conversion before ‘const’In file included from ../src/init.cc:13:
../src/org.h:21: error: ISO C++ forbids declaration of ‘GeoIP’ with no type

../src/org.h:21: error: expected ‘;’ before ‘*’ token
../src/node_geoip.h:52: error: expected constructor, destructor, or type conversion b../src/node_geoip.h:103: error: expected constructor, destructor, or type conversion before ‘char’
../src/node_geoip.h:106: error: expected constructor, destructor, or type conversion before ‘const’
../src/node_geoip.h:109: error: expected constructor, destructor, or type conversion before ‘const’
../src/node_geoip.h:112: error: expected constructor, destructor, or type conversion before ‘const’
../src/node_geoip.h:115: error: expected constructor, destructor, or type conversion before ‘const’
../src/node_geoip.h:118: error: expected constructor, destructor, or type conversion before ‘const’
../src/node_geoip.h:121: error: expected constructor, destructor, or type conversion before ‘int’
../src/node_geoip.h:124: error: expected constructor, destructor, or type conversion before ‘unsigned’
../src/node_geoip.h:126: error: expected constructor, destructor, or type conversion before ‘char’
../src/node_geoip.h:127: error: expected constructor, destructor, or type conversion before ‘unsigned’
../src/node_geoip.h:129: error: expected constructor, destructor, or type conversion before ‘int’
../src/node_geoip.h:130: error: expected constructor, destructor, or type conversion before ‘int’
../src/node_geoip.h:131: error: expected constructor, destructor, or type conversion before ‘int’
../src/node_geoip.h:132: error: expected constructor, destructor, or type conversion before ‘int’
../src/node_geoip.h:134: error: expected constructor, destructor, or type conversion before ‘int’
../src/node_geoip.h:135: error: expected constructor, destructor, or type conversion before ‘char’
../src/node_geoip.h:136: error: expected constructor, destructor, or type conversion before ‘void’
../src/node_geoip.h:139: error: expected constructor, destructor, or type conversion before ‘const’
../src/node_geoip.h:142: error: expected constructor, destructor, or type conversion before ‘const’
../src/node_geoip.h:145: error: expected constructor, destructoefore ‘const’
r, or type conversion before ‘unsigned’
../src/node_geoip.h:55: error: expected constructor, destructor, or type conversion before ‘const’
../src/node_geoip.h:146: error: expected constructor, destructor, or type conversion before ‘char’
../src/node_geoip.h:56: error: expected constructor, destructor, or type conversion before ‘const’
../src/node_geoip.h:57: error: expected constructor, destructor, or type conversion before ‘const’
../src/node_geoip.h:153: error: expected constructor, destructor, or type conversion before ‘int’
../src/node_geoip.h:59: error: expected constructor, destructor, or type conversion before ‘const’
../src/node_geoip.h:156: error: expected constructor, destructor, or type conversion before ‘const’
../src/node_geoip.h:60: error: expected constructor, destructor, or type conversion before ‘const’
../src/node_geoip.h:160: error: expected constructor, destructor, or type conversion before ‘*’ token
../src/node_geoip.h:61: error: expected constructor, destructor, or type conversion before ‘const’
../src/node_geoip.h:62: error: expected constructor, destructor, or type conversion before ‘const’
../src/node_geoip.h:63: error: expected constructor, destructor, or type conversion before ‘const’
../src/node_geoip.h:64: error: expected constructor, destructor, or type conversion before ‘const’
../src/node_geoip.h:67: error: expected constructor, destructor, or type conversion before ‘char’
../src/init.cc: In function ‘void init(v8::Handle)’:
../src/init.cc:34: error: ‘GeoIP_lib_version’ was not declared in this scope
../src/node_geoip.h:68: error: expected constructor, destructor, or type conversion before ‘char’
../src/node_geoip.h:69: error: expected constructor, destructor, or type conversion before ‘char’
../src/node_geoip.h:73: error: expected constructor, destructor, or type conversion before ‘int’
../src/node_geoip.h:74: error: expected constructor, destructor, or type conversion before ‘int’
../src/node_geoip.h:75: error: expected constructor, destructor, or type conversion before ‘int’
../src/node_geoip.h:77: error: expected constructor, destructor, or type conversion before ‘int’
../src/node_geoip.h:78: error: expected constructor, destructor, or type conversion before ‘int’
../src/node_geoip.h:79: error: expected constructor, destructor, or type conversion before ‘int’
../src/node_geoip.h:81: error: ‘GEOIP_API’ does not name a type
../src/node_geoip.h:82: error: ‘GEOIP_API’ does not name a type
../src/node_geoip.h:83: error: ‘GEOIP_API’ does not name a type
../src/node_geoip.h:85: error: ‘GEOIP_API’ does not name a type
../src/node_geoip.h:86: error: ‘GEOIP_API’ does not name a type
../src/node_geoip.h:87: error: ‘GEOIP_API’ does not name a type
../src/node_geoip.h:90: error: expected constructor, destructor, or type conversion before ‘void’
../src/node_geoip.h:92: error: expected constructor, destructor, or type conversion before ‘void’
../src/node_geoip.h:94: error: expected constructor, destructor, or type conversion before ‘void’
../src/node_geoip.h:97: error: expected constructor, destructor, or type conversion before ‘char’
../src/node_geoip.h:98: error: expected constructor, destructor, or type conversion before ‘char’
../src/node_geoip.h:99: error: expected constructor, destructor, or type conversion before ‘char’
../src/node_geoip.h:101: error: expected constructor, destructor, or type conversion before ‘char’
../src/node_geoip.h:102: error: expected constructor, destructor, or type conversion before ‘char’
../src/node_geoip.h:103: error: expected constructor, destructor, or type conversion before ‘char’
../src/node_geoip.h:106: error: expected constructor, destructor, or type conversion before ‘const’
../src/node_geoip.h:109: error: expected constructor, destructor, or type conversion before ‘const’
../src/node_geoip.h:161: error: expected constructor, destructor, or type conversion before ‘*’ token
../src/node_geoip.h:163: error: expected constructor, destructor, or type conversion before ‘*’ token../src/node_geoip.h:112: error: expected constructor, destructor, or type conversion before ‘const’

../src/node_geoip.h:115: error: expected constructor, destructor, or type conversion before ‘const’
In file included from ../src/country.cc:7:
../src/country.h:21: error: ISO C++ forbids declaration of ‘GeoIP’ with no type
../src/node_geoip.h:118: error: expected constructor, destructor, or type conversion before ‘const’
../src/country.h:21: error: expected ‘;’ before ‘*’ token
../src/node_geoip.h:121: error: expected constructor, destructor, or type conversion before ‘int’
../src/node_geoip.h:124: error: expected constructor, destructor, or type conversion before ‘unsigned’
../src/node_geoip.h:126: error: expected constructor, destructor, or type conversion before ‘char’
../src/node_geoip.h:127: error: expected constructor, destructor, or type conversion before ‘unsigned’
../src/node_geoip.h:129: error: expected constructor, destructor, or type conversion before ‘int’
../src/node_geoip.h:130: error: expected constructor, destructor, or type conversion before ‘int’
../src/node_geoip.h:131: error: expected constructor, destructor, or type conversion before ‘int’
../src/node_geoip.h:132: error: expected constructor, destructor, or type conversion before ‘int’
../src/node_geoip.h:134: error: expected constructor, destructor, or type conversion before ‘int’
../src/node_geoip.h:135: error: expected constructor, destructor, or type conversion before ‘char’
../src/node_geoip.h:136: error: expected constructor, destructor, or type conversion before ‘void’
../src/node_geoip.h:139: error: expected constructor, destructor, or type conversion before ‘const’
../src/node_geoip.h:142: error: expected constructor, destructor, or type conversion before ‘const’
../src/node_geoip.h:145: error: expected constructor, destructor, or type conversion before ‘unsigned’
../src/node_geoip.h:146: error: expected constructor, destructor, or type conversion before ‘char’
../src/node_geoip.h:153: error: expected constructor, destructor, or type conversion before ‘int’
../src/node_geoip.h:156: error: expected constructor, destructor, or type conversion before ‘const’
../src/node_geoip.h:160: error: expected constructor, destructor, or type conversion before ‘*’ token
../src/node_geoip.h:161: error: expected constructor, destructor, or type conversion before ‘*’ token
../src/node_geoip.h:163: error: expected constructor, destructor, or type conversion before ‘*’ token
In file included from ../src/country6.cc:7:
../src/country6.h:21: error: ISO C++ forbids declaration of ‘GeoIP’ with no type
../src/country6.h:21: error: expected ‘;’ before ‘*’ token../src/country.cc: In static member function ‘static v8::Handle geoip::Country::New(const v8::Arguments&)’:
../src/country.cc:48: error: ‘class geoip::Country’ has no member named ‘db’
../src/country.cc:48: error: ‘GEOIP_MEMORY_CACHE’ was not declared in this scope
../src/country.cc:48: error: ‘GEOIP_STANDARD’ was not declared in this scope
../src/country.cc:48: error: ‘GeoIP_open’ was not declared in this scope
../src/country.cc:50: error: ‘class geoip::Country’ has no member named ‘db’
../src/country.cc:51: error: ‘class geoip::Country’ has no member named ‘db’
../src/country.cc:51: error: ‘GeoIP_database_edition’ was not declared in this scope
../src/country.cc:52: error: ‘GEOIP_COUNTRY_EDITION’ was not declared in this scope
../src/country.cc:56: error: ‘class geoip::Country’ has no member named ‘db’
../src/country.cc:56: error: ‘GeoIP_delete’ was not declared in this scope
../src/country.cc:57: error: ‘class geoip::Country’ has no member named ‘db’

../src/country6.h:49: error: ‘geoipv6_t’ does not name a type
../src/country.cc: In static member function ‘static v8::Handle geoip::Country::lookupSync(const v8::Arguments&)’:
../src/country.cc:75: error: ‘_GeoIP_lookupaddress’ was not declared in this scope
../src/country.cc:80: error: ‘class geoip::Country’ has no member named ‘db’
../src/country.cc:80: error: ‘GeoIP_id_by_ipnum’ was not declared in this scope
../src/country.cc:84: error: ‘GeoIP_country_name’ was not declared in this scope
../src/country.cc:85: error: ‘GeoIP_country_code’ was not declared in this scope
../src/country.cc:86: error: ‘GeoIP_country_code3’ was not declared in this scope
../src/country.cc:87: error: ‘GeoIP_country_continent’ was not declared in this scope
../src/country.cc: In static member function ‘static v8::Handle geoip::Country::lookup(const v8::Arguments&)’:
../src/country.cc:107: error: ‘_GeoIP_lookupaddress’ was not declared in this scope
../src/country.cc: In static member function ‘static void geoip::Country::EIO_Country(eio_req*)’:
../src/country.cc:127: error: ‘class geoip::Country’ has no member named ‘db’
../src/country.cc:127: error: ‘GeoIP_id_by_ipnum’ was not declared in this scope
../src/country.cc: In static member function ‘static int geoip::Country::EIO_AfterCountry(eio_req*)’:
../src/country.cc:147: error: ‘GeoIP_country_name’ was not declared in this scope
../src/country.cc:148: error: ‘GeoIP_country_code’ was not declared in this scope
../src/country.cc:149: error: ‘GeoIP_country_code3’ was not declared in this scope
../src/country.cc:150: error: ‘GeoIP_country_continent’ was not declared in this scope
../src/country6.cc: In static member function ‘static v8::Handle geoip::Country6::New(const v8::Arguments&)’:
../src/country6.cc:48: error: ‘class geoip::Country6’ has no member named ‘db’
../src/country6.cc:48: error: ‘GEOIP_MEMORY_CACHE’ was not declared in this scope
../src/country6.cc:48: error: ‘GEOIP_STANDARD’ was not declared in this scope
../src/country6.cc:48: error: ‘GeoIP_open’ was not declared in this scope
../src/country6.cc:50: error: ‘class geoip::Country6’ has no member named ‘db’
../src/country6.cc:51: error: ‘class geoip::Country6’ has no member named ‘db’
../src/country6.cc:51: error: ‘GeoIP_database_edition’ was not declared in this scope
../src/country6.cc:52: error: ‘GEOIP_COUNTRY_EDITION_V6’ was not declared in this scope
../src/country6.cc:56: error: ‘class geoip::Country6’ has no member named ‘db’
../src/country6.cc:56: error: ‘GeoIP_delete’ was not declared in this scope
../src/country6.cc:57: error: ‘class geoip::Country6’ has no member named ‘db’
../src/country.cc: In static member function ‘static v8::Handle geoip::Country::update(const v8::Arguments&)’:
../src/country.cc:182: error: ‘class geoip::Country’ has no member named ‘db’
../src/country.cc:182: error: ‘GEOIP_MEMORY_CACHE’ was not declared in this scope
../src/country.cc:182: error: ‘GEOIP_STANDARD’ was not declared in this scope
../src/country.cc:182: error: ‘GeoIP_open’ was not declared in this scope
../src/country.cc:184: error: ‘class geoip::Country’ has no member named ‘db’
../src/country.cc:185: error: ‘class geoip::Country’ has no member named ‘db’
../src/country.cc:185: error: ‘GeoI../src/country6.cc: In static member function ‘static v8::Handle geoip::Country6::lookupSync(const v8::Arguments&)’:
../src/country6.cc:71: error: ‘GEOIP_COUNTRY_EDITION_V6’ was not declared in this scope
P_database_edition’ was not declared in this scope
../src/country.cc:186: error: ‘GEOIP_COUNTRY_EDITION’ was not declared in this scope
../src/country.cc:189: error: ‘class geoip::Country’ has no member named ‘db’
../src/country.cc:189: error: ‘GeoIP_delete’ was not declared in this scope
../src/country.cc:190: error: ‘class geoip::Country’ has no member named ‘db’
../src/country6.cc:80: error: ‘geoipv6_t’ was not declared in this scope
../src/country6.cc:80: error: expected `;' before ‘ipnum_v6’
../src/country6.cc:82: error: ‘ipnum_v6’ was not declared in this scope
../src/country6.cc:82: error: ‘__GEOIP_V6_IS_NULL’ was not declared in this scope
../src/country6.cc:85: error: ‘class geoip::Country6’ has no member named ‘db’
../src/country6.cc:85: error: ‘GeoIP_id_by_ipnum_v6’ was not declared in this scope
../src/country6.cc:89: error: ‘GeoIP_country_name’ was not declared in this scope
../src/country6.cc:90: error: ‘GeoIP_country_code’ was not declared in this scope
../src/country6.cc:91: error: ‘GeoIP_country_code3’ was not declared in this scope
../src/country6.cc:92: error: ‘GeoIP_country_continent’ was not declared in this scope
../src/country.cc: In static member function ‘static v8::Handle geoip::Country::close(const v8::Arguments&)’:
../src/country.cc:202: error: ‘class geoip::Country’ has no member named ‘db’
../src/country.cc:202: error: ‘GeoIP_delete’ was not declared in this scope
../src/country.cc:203: error: ‘class geoip::Country’ has no member named ‘db’
../src/country6.cc: In static member function ‘static v8::Handle geoip::Country6::lookup(const v8::Arguments&)’:
../src/country6.cc:107: error: ‘GEOIP_COUNTRY_EDITION_V6’ was not declared in this scope
../src/country6.cc:117: error: ‘struct country6_baton_t’ has no member named ‘ipnum_v6’
../src/country6.cc:117: error: ‘_GeoIP_lookupaddress_v6’ was not declared in this scope
../src/country6.cc: In static member function ‘static void geoip::Country6::EIO_Country(eio_req*)’:
../src/country6.cc:134: error: ‘struct country6_baton_t’ has no member named ‘ipnum_v6’
../src/country6.cc:134: error: ‘__GEOIP_V6_IS_NULL’ was not declared in this scope
../src/country6.cc:137: error: ‘class geoip::Country6’ has no member named ‘db’
../src/country6.cc:137: error: ‘struct country6_baton_t’ has no member named ‘ipnum_v6’
../src/country6.cc:137: error: ‘GeoIP_id_by_ipnum_v6’ was not declared in this scope
../src/country6.cc: In static member function ‘static int geoip::Country6::EIO_AfterCountry(eio_req*)’:
../src/country6.cc:159: error: ‘GeoIP_country_name’ was not declared in this scope
../src/country6.cc:160: error: ‘GeoIP_country_code’ was not declared in this scope
../src/country6.cc:161: error: ‘GeoIP_country_code3’ was not declared in this scope
../src/country6.cc:162: error: ‘GeoIP_country_continent’ was not declared in this scope
../src/country6.cc: In static member function ‘static v8::Handle geoip::Country6::update(const v8::Arguments&)’:
../src/country6.cc:194: error: ‘class geoip::Country6’ has no member named ‘db’
../src/country6.cc:194: error: ‘GEOIP_MEMORY_CACHE’ was not declared in this scope
../src/country6.cc:194: error: ‘GEOIP_STANDARD’ was not declared in this scope
../src/country6.cc:194: error: ‘GeoIP_open’ was not declared in this scope
../src/country6.cc:196: error: ‘class geoip::Country6’ has no member named ‘db’
../src/country6.cc:197: error: ‘class geoip::Country6’ has no member named ‘db’
../src/country6.cc:197: error: ‘GeoIP_database_edition’ was not declared in this scope
../src/country6.cc:198: error: ‘GEOIP_COUNTRY_EDITION_V6’ was not declared in this scope
../src/country6.cc:201: error: ‘class geoip::Country6’ has no member named ‘db’
../src/country6.cc:201: error: ‘GeoIP_delete’ was not declared in this scope
../src/country6.cc:202: error: ‘class geoip::Country6’ has no member named ‘db’
../src/country6.cc: In static member function ‘static v8::Handle geoip::Country6::close(const v8::Arguments&)’:
../src/country6.cc:214: error: ‘class geoip::Country6’ has no member named ‘db’
../src/country6.cc:214: error: ‘GeoIP_delete’ was not declared in this scope
../src/country6.cc:215: error: ‘class geoip::Country6’ has no member named ‘db’
Waf: Leaving directory `/Users/dreampuf/hub/GeoIP/build'
Build failed:
-> task failed (err #1):
{task: cxx init.cc -> init_1.o}
-> task failed (err #1):
{task: cxx netspeed.cc -> netspeed_1.o}
-> task failed (err #1):
{task: cxx country.cc -> country_1.o}
-> task failed (err #1):
{task: cxx country6.cc -> country6_1.o}