From: Ian H. <har...@gm...> - 2017-06-06 22:56:50
|
I downloaded the tip from bitbucket.org and tried to build it against naviserver 4.99.15. I get an error like this: [root@web1 nsdbpg-0.2]# make NAVISERVER=/httpd/Naviserver49 PGLIB=/usr/local/pgsql/lib PGINCLUDE=/usr/local/pgsql/include gcc -I/usr/local/pgsql/include -g -Wall -fPIC -pipe -I/httpd/Naviserver49/include -I"/usr/local/include" -DHAVE_CONFIG_H -c -o nsdbpg.o nsdbpg.c nsdbpg.c:58:1: error: unknown type name ‘NsDb_DriverInitProc’ NS_EXPORT NsDb_DriverInitProc Ns_DbDriverInit; ^ nsdbpg.c:101:1: error: ‘Ns_DbDriverInit’ redeclared as different kind of symbol Ns_DbDriverInit(const char *driver, const char *configPath) ^ nsdbpg.c:58:31: note: previous declaration of ‘Ns_DbDriverInit’ was here NS_EXPORT NsDb_DriverInitProc Ns_DbDriverInit; ^ make: *** [nsdbpg.o] Error 1 Anyone know how to fix? Thanks! |