Policy daemon

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Policy daemon

Alexandre Balistrieri
Ois,

Não consigo compilar o policyd-1.82 no openbsd. Estou usando a versão 4.2.

Alguém já teve esse problema?

Procurei na internet mas não achei nada que me ajudasse.

-------------------------------------------------------------
Compilação:
-bash-3.2# gmake build

[-] Building Policy Daemon:

[*] Building Objects:

  compiling -g -W -Wall -DMAXFDS=4096 blacklist.c
  compiling -g -W -Wall -DMAXFDS=4096 blacklist_helo.c
  compiling -g -W -Wall -DMAXFDS=4096 cidr.c
  compiling -g -W -Wall -DMAXFDS=4096 cleanup.c
  compiling -g -W -Wall -DMAXFDS=4096 generic.c
  compiling -g -W -Wall -DMAXFDS=4096 greylist.c
  compiling -g -W -Wall -DMAXFDS=4096 helo.c
  compiling -g -W -Wall -DMAXFDS=4096 mysql.c
  compiling -g -W -Wall -DMAXFDS=4096 policyd.c
  compiling -g -W -Wall -DMAXFDS=4096 sockets.c
sockets.c: In function `w_read':
sockets.c:157: error: `SO_NOSIGPIPE' undeclared (first use in this function)
sockets.c:157: error: (Each undeclared identifier is reported only once
sockets.c:157: error: for each function it appears in.)
sockets.c: In function `w_write':
sockets.c:253: error: `SO_NOSIGPIPE' undeclared (first use in this function)
gmake: *** [sockets.o] Error 1
----------------------------------------------------------------------

Encontrei isso no Changelog do policyd:
r8 | nkukard | 2007-06-25 07:50:36 +0000 (Mon, 25 Jun 2007) | 4 lines

* Added quirk for SIGPIPE on Apple
* Added quirk for some versions of NetBSD which don't have SO_NOSIGPIPE
* Added error message that if we cannot find how to handle SIGPIPE on the host
platform to contact the devel mailing list
--
Bali
_______________________________________________
OpenBSD mailing list
[hidden email]
http://neei.uevora.pt/mailman/listinfo/openbsd
Reply | Threaded
Open this post in threaded view
|

Re: Policy daemon

Douglas Santos
On Thu, April 24, 2008 10:32 am, Alexandre Balistrieri wrote:
> Ois,
>
> Não consigo compilar o policyd-1.82 no openbsd. Estou usando a versão 4.2.
>
> Alguém já teve esse problema?
>
> Procurei na internet mas não achei nada que me ajudasse.

De uma olhada na lista do policyd

http://www.mail-archive.com/policyd-users@.../msg00006.html
_______________________________________________
OpenBSD mailing list
[hidden email]
http://neei.uevora.pt/mailman/listinfo/openbsd
Reply | Threaded
Open this post in threaded view
|

Re: Policy daemon

ruifilipe.reis
In reply to this post by Alexandre Balistrieri
sockets.c:253: error: `SO_NOSIGPIPE' undeclared (first use in this function)

way to go...


On Thu, Apr 24, 2008 at 2:32 PM, Alexandre Balistrieri <[hidden email]> wrote:

> Ois,
>
>  Não consigo compilar o policyd-1.82 no openbsd. Estou usando a versão 4.2.
>
>  Alguém já teve esse problema?
>
>  Procurei na internet mas não achei nada que me ajudasse.
>
>  -------------------------------------------------------------
>  Compilação:
>  -bash-3.2# gmake build
>
>  [-] Building Policy Daemon:
>
>  [*] Building Objects:
>
>   compiling -g -W -Wall -DMAXFDS=4096 blacklist.c
>   compiling -g -W -Wall -DMAXFDS=4096 blacklist_helo.c
>   compiling -g -W -Wall -DMAXFDS=4096 cidr.c
>   compiling -g -W -Wall -DMAXFDS=4096 cleanup.c
>   compiling -g -W -Wall -DMAXFDS=4096 generic.c
>   compiling -g -W -Wall -DMAXFDS=4096 greylist.c
>   compiling -g -W -Wall -DMAXFDS=4096 helo.c
>   compiling -g -W -Wall -DMAXFDS=4096 mysql.c
>   compiling -g -W -Wall -DMAXFDS=4096 policyd.c
>   compiling -g -W -Wall -DMAXFDS=4096 sockets.c
>  sockets.c: In function `w_read':
>  sockets.c:157: error: `SO_NOSIGPIPE' undeclared (first use in this function)
>  sockets.c:157: error: (Each undeclared identifier is reported only once
>  sockets.c:157: error: for each function it appears in.)
>  sockets.c: In function `w_write':
>  sockets.c:253: error: `SO_NOSIGPIPE' undeclared (first use in this function)
>  gmake: *** [sockets.o] Error 1
>  ----------------------------------------------------------------------
>
>  Encontrei isso no Changelog do policyd:
>  r8 | nkukard | 2007-06-25 07:50:36 +0000 (Mon, 25 Jun 2007) | 4 lines
>
>  * Added quirk for SIGPIPE on Apple
>  * Added quirk for some versions of NetBSD which don't have SO_NOSIGPIPE
>  * Added error message that if we cannot find how to handle SIGPIPE on the host
>  platform to contact the devel mailing list
>  --
>  Bali
>  _______________________________________________
>  OpenBSD mailing list
>  [hidden email]
>  http://neei.uevora.pt/mailman/listinfo/openbsd
>
_______________________________________________
OpenBSD mailing list
[hidden email]
http://neei.uevora.pt/mailman/listinfo/openbsd