Isso.. deve resolver indicating that LIBALIAS option is needed for IPFIREWALL_NAT (and/or which ever options cause it to be needed)
2008/11/5 Willian Alves <[EMAIL PROTECTED]>: > melhor adiciona mas uma opção no seu kernel > options IPFIREWALL > options IPFIREWALL_FORWARD > options IPFIREWALL_VERBOSE > options IPFIREWALL_NAT > options LIBALIAS > > deve resolver esse erro > > ----- Original Message ----- > From: "Alessandro de Souza Rocha" <[EMAIL PROTECTED]> > To: "Lista Brasileira de Discussão sobre FreeBSD (FUG-BR)" > <freebsd@fug.com.br> > Sent: Wednesday, November 05, 2008 8:58 AM > Subject: Re: [FUG-BR] IPFW > > > remove esta opcao options IPFIREWALL_NAT > e depois tente novamente. > > 2008/11/5, Márcio Luciano Donada <[EMAIL PROTECTED]>: >> 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 > ------------------------- > Histórico: http://www.fug.com.br/historico/html/freebsd/ > Sair da lista: https://www.fug.com.br/mailman/listinfo/freebsd > > ------------------------- > Histórico: http://www.fug.com.br/historico/html/freebsd/ > Sair da lista: https://www.fug.com.br/mailman/listinfo/freebsd > ------------------------- Histórico: http://www.fug.com.br/historico/html/freebsd/ Sair da lista: https://www.fug.com.br/mailman/listinfo/freebsd