Dear Cesáreo,

You are right. There is a problem which shows up depending
on the used compilers. The conflict of prototypes is fixed by [1].

Since i've fixed also one more probably old issue (setting an
Ns_Set member from different threads leading to a potential
race condidtion), we should release a bugfix version soon.

best regards
-g

[1] 
https://bitbucket.org/naviserver/nsdbpg/commits/8bd4d0a0cc8f3f4a81305dde225b684bfc16d5af

Am 17.01.16 um 02:24 schrieb Cesáreo García Rodicio:
> Hi
>
> I'm trying to install naviserver (HEAD) in Mac OS X El Capitan[1] and,
> when installing nsdbpg, I had this error:
>   tclcmds.c:1041:1: error: conflicting types for 'blob_send_to_stream'
> (See [2] full log)
>
> Any idea?
>
> Thanks
> Cesáreo
>
> -----
> [1] >> uname -v
> Darwin Kernel Version 15.2.0: Fri Nov 13 19:56:56 PST 2015;
> root:xnu-3248.20.55~2/RELEASE_X86_64
>
> [2]
> ------------------------ Installing Modules/nsdbpg ----------------------
> Makefile:61: warning: overriding commands for target `cppcheck'
> /usr/local/naviserver/include/Makefile.module:199: warning: ignoring old
> commands for target `cppcheck'
> gcc -I/usr/local/pgsql/include -Os -DNDEBUG -Wall -fno-common -pipe
> -I/usr/local/naviserver/include -I"/usr/local/naviserver/include"
> -DHAVE_CONFIG_H    -c -o nsdbpg.o nsdbpg.c
> gcc -I/usr/local/pgsql/include -Os -DNDEBUG -Wall -fno-common -pipe
> -I/usr/local/naviserver/include -I"/usr/local/naviserver/include"
> -DHAVE_CONFIG_H    -c -o tclcmds.o tclcmds.c
> tclcmds.c:1041:1: error: conflicting types for 'blob_send_to_stream'
> blob_send_to_stream(Tcl_Interp *interp, Ns_DbHandle *handle, const char
> *lob_id,
> ^
> tclcmds.c:80:12: note: previous declaration is here
> static int blob_send_to_stream(Tcl_Interp *interp, Ns_DbHandle *handle,
> const char *lob_id,
>             ^
> 1 error generated.
> make: *** [tclcmds.o] Error 1
>

------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
_______________________________________________
naviserver-devel mailing list
naviserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/naviserver-devel

Reply via email to