Are you sure you have the latest version in /usr/local/ns?

init.c line 236 complains about Ns_ShutdownProc which is in last 
versions of Naviserver only.

Ian Harding wrote:
> Hi,
> 
> OK, I read the README carefully this time...
> 
>> pwd
> /home/user/naviserver/nsdbi
>> make NAVISERVER=/usr/local/ns
> gcc -pipe -O2 -fomit-frame-pointer -Wall -Wno-implicit-int -fPIC
> -I/usr/local/ns/include -I"/usr/include/tcl8.4/tcl-private/generic"
> -DHAVE_CONFIG_H   -c -o init.o init.c
> init.c:236: error: expected '=', ',', ';', 'asm' or '__attribute__'
> before 'AtShutdown'
> init.c: In function 'Dbi_LibInit':
> init.c:276: warning: implicit declaration of function 'Nsd_LibInit'
> init.c: In function 'Dbi_RegisterDriver':
> init.c:427: error: 'AtShutdown' undeclared (first use in this function)
> init.c:427: error: (Each undeclared identifier is reported only once
> init.c:427: error: for each function it appears in.)
> make: *** [init.o] Error 1
> 
> I downloaded a tarball and source from bitbucket, both gave the same
> result.  What did I miss?
> 
> Thanks,
> 
> - Ian
> 
> ------------------------------------------------------------------------------
> Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
> software. With Adobe AIR, Ajax developers can use existing skills and code to
> build responsive, highly engaging applications that combine the power of local
> resources and data with the reach of the web. Download the Adobe AIR SDK and
> Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
> _______________________________________________
> naviserver-devel mailing list
> naviserver-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/naviserver-devel
> 

-- 
Vlad Seryakov
v...@crystalballinc.com
http://www.crystalballinc.com/vlad/

------------------------------------------------------------------------------
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
_______________________________________________
naviserver-devel mailing list
naviserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/naviserver-devel

Reply via email to