[FUG-BR] IPFW

Alessandro de Souza Rocha etherlinkii em gmail.com
Quarta Novembro 5 08:58:05 BRST 2008


remove esta opcao  options         IPFIREWALL_NAT
e depois tente novamente.

2008/11/5, Márcio Luciano Donada <mdonada em gmail.com>:
> Pessoal,
> Uso faz um bom tempo já o IPFW, mas hoje tive uma surpresa ao compilar
> ele, no kernel adicionei as seguintes regras:
>
>
> options         IPFIREWALL
> options         IPFIREWALL_VERBOSE
> options         IPFIREWALL_FORWARD
> options         IPFIREWALL_NAT
>
> E ao compilar o kernel o seguinte erro:
>
> linking kernel.debug
> ip_fw_nat.o(.text+0x404): In function `del_redir_spool_cfg':
> ../../../netinet/ip_fw_nat.c:158: undefined reference to
> `LibAliasRedirectDelete'
> ip_fw_nat.o(.text+0x65e): In function `ipfw_nat_modevent':
> ../../../netinet/ip_fw_nat.c:609: undefined reference to `LibAliasUninit'
> ip_fw_nat.o(.text+0x738):../../../netinet/ip_fw_nat.c:609: undefined
> reference to `LibAliasUninit'
> ip_fw_nat.o(.text+0x89e): In function `ipfw_nat_del':
> ../../../netinet/ip_fw_nat.c:490: undefined reference to `LibAliasUninit'
> ip_fw_nat.o(.text+0xa01): In function `ipfw_nat_cfg':
> ../../../netinet/ip_fw_nat.c:428: undefined reference to `LibAliasInit'
> ip_fw_nat.o(.text+0xb16):../../../netinet/ip_fw_nat.c:455: undefined
> reference to `LibAliasSetMode'
> ip_fw_nat.o(.text+0xb2b):../../../netinet/ip_fw_nat.c:456: undefined
> reference to `LibAliasSetAddress'
> ip_fw_nat.o(.text+0xc3b):../../../netinet/ip_fw_nat.c:194: undefined
> reference to `LibAliasRedirectAddr'
> ip_fw_nat.o(.text+0xccd):../../../netinet/ip_fw_nat.c:203: undefined
> reference to `LibAliasRedirectPort'
> ip_fw_nat.o(.text+0xd2f):../../../netinet/ip_fw_nat.c:214: undefined
> reference to `LibAliasRedirectProto'
> ip_fw_nat.o(.text+0xde1):../../../netinet/ip_fw_nat.c:230: undefined
> reference to `LibAliasAddServer'
> ip_fw_nat.o(.text+0x102d): In function `ifaddr_change':
> ../../../netinet/ip_fw_nat.c:100: undefined reference to
> `LibAliasSetAddress'
> ip_fw_nat.o(.text+0x10e7): In function `ipfw_nat':
> ../../../netinet/ip_fw_nat.c:256: undefined reference to `m_megapullup'
> ip_fw_nat.o(.text+0x118e):../../../netinet/ip_fw_nat.c:320: undefined
> reference to `LibAliasIn'
> ip_fw_nat.o(.text+0x11ed):../../../netinet/ip_fw_nat.c:323: undefined
> reference to `LibAliasOut'
> *** Error code 1
>
> Alguém faz idéia do que estou fazendo errado.
> -------------------------
> Histórico: http://www.fug.com.br/historico/html/freebsd/
> Sair da lista: https://www.fug.com.br/mailman/listinfo/freebsd
>


-- 
Alessandro de Souza Rocha
Administrador de Redes e Sistemas
FreeBSD-BR User #117
             Long live FreeBSD

                     Powered by ....

                                          (__)
                                       \\\'',)
                                         \/  \ ^
                                         .\._/_)

                                     www.FreeBSD.org


Mais detalhes sobre a lista de discussão freebsd