Forum OpenACS Development: Re: Compiling Naviserver with oACS for Solaris
unfortunately, i have no Solaris system around.
The problem seems not uncommon to Solaris, see e.g. https://lists.isc.org/pipermail/dhcp-users/2007-June/003884.html
Please try to add the following 3 lines to the begin of binder.c:
#define _XOPEN_SOURCE 500
#define _XOPEN_SOURCE_EXTENDED 1
all the best
PS: the best auditorium for naviserver issues is at https://lists.sourceforge.net/lists/listinfo/naviserver-devel
gcc -O2 -DNDEBUG -Wall -fPIC -pipe -I../include -I"/usr/local/ns/include" -DHAVE_CONFIG_H -c -o binder.o binder.c
binder.c: In function 'Ns_SockBinderListen':
binder.c:808:8: error: 'struct msghdr' has no member named 'msg_accrights'
binder.c:809:8: error: 'struct msghdr' has no member named 'msg_accrightslen'
binder.c: In function 'Binder':
binder.c:1056:16: error: 'struct msghdr' has no member named 'msg_accrights'
binder.c:1057:16: error: 'struct msghdr' has no member named 'msg_accrightslen'
gmake: *** [binder.o] Error 1
gmake: Leaving directory `/usr/local/src/naviserver-4.99.5/nsd'
gmake: *** [all] Error 1
Thanks for your response, I will of course also check out the link you provided.
(Gustaf, concur? additions?)