>Try this change in policyd.h
> Current:
> #if defined (__FreeBSD__) || defined (__OpenBSD__) || defined(__NetBSD__)
>
> Add || defined(__sun)
> See if that works.


Thanks John,

Indeed, the first thing I tried after the first compile was to comment out
this 'if defined' to leave the assignment within, however SO_NOSIGPIPE is
not defined on the Solaris platfom either.

For the record, here is the output of your suggestion.


compiling -g -W -Wall -DMAXFDS=4096  sockets.c
sockets.c: In function `w_read':
sockets.c:156: error: `SO_NOSIGPIPE' undeclared (first use in this function)
sockets.c:156: error: (Each undeclared identifier is reported only once
sockets.c:156: error: for each function it appears in.)
sockets.c: In function `w_write':
sockets.c:242: error: `SO_NOSIGPIPE' undeclared (first use in this function)
gmake: *** [sockets.o] Error 1


There are other examples of these missing components on the web, however
my C programming isn't great.

Cheers

Rob

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
policyd-users mailing list
policyd-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/policyd-users

Reply via email to