[FUG-BR] Erro na compilação do Squid 3.1.14

Luiz Otavio O Souza lists.br em gmail.com
Quarta Agosto 3 09:33:52 BRT 2011


On Aug 2, 2011, at 3:30 PM, Jose Amaral wrote:

> Pessoal, instalei o FreeBSD 8.2 Release, fiz a atualização dos ports via
> postsnap.
> Quando vou compilar o squid3.1.14 (cd /usr/ports/www/squid31 ; make install
> )
> 
> A compilação aborta com o seguinte erro:
> 
> --------------------
> 
> libtool: link: c++ -Wall -Wpointer-arith -Wwrite-strings -Wcomments -Werror
> -D_REENTRANT -O2 -pipe -I/usr/local/include -DLDAP_DEPRECATED
> -fno-strict-aliasing -o dnsserver dnsserver.o SquidNew.o  -L/usr/local/lib
> base/.libs/libbase.a ./.libs/libsquid.a auth/.libs/libacls.a
> ident/.libs/libident.a acl/.libs/libacls.a acl/.libs/libstate.a
> auth/.libs/libauth.a acl/.libs/libapi.a ip/.libs/libip.a fs/.libs/libfs.a
> -L/usr/ports/www/squid31/work/squid-3.1.14/lib -lmiscutil -lm
> ip/.libs/libip.a(tools.o)(.text+0xb0): In function `Ip::ProbeTransport()':
> : undefined reference to `Debug::Levels'
> ip/.libs/libip.a(tools.o)(.text+0xb7): In function `Ip::ProbeTransport()':
> : undefined reference to `Debug::level'
> ip/.libs/libip.a(tools.o)(.text+0xc2): In function `Ip::ProbeTransport()':
> : undefined reference to `Debug::getDebugOut()'
> ip/.libs/libip.a(tools.o)(.text+0xd9): In function `Ip::ProbeTransport()':
> : undefined reference to `Debug::finishDebug()'
> ip/.libs/libip.a(tools.o)(.text+0xed): In function `Ip::ProbeTransport()':
> : undefined reference to `Debug::Levels'
> ip/.libs/libip.a(tools.o)(.text+0xf4): In function `Ip::ProbeTransport()':
> : undefined reference to `Debug::level'
> ip/.libs/libip.a(tools.o)(.text+0x115): In function `Ip::ProbeTransport()':
> : undefined reference to `Debug::getDebugOut()'
> ip/.libs/libip.a(tools.o)(.text+0x145): In function `Ip::ProbeTransport()':
> : undefined reference to `Debug::finishDebug()'
> ip/.libs/libip.a(tools.o)(.text+0x153): In function `Ip::ProbeTransport()':
> : undefined reference to `Debug::Levels'
> ip/.libs/libip.a(tools.o)(.text+0x15a): In function `Ip::ProbeTransport()':
> : undefined reference to `Debug::level'
> ip/.libs/libip.a(tools.o)(.text+0x165): In function `Ip::ProbeTransport()':
> : undefined reference to `Debug::getDebugOut()'
> ip/.libs/libip.a(tools.o)(.text+0x17c): In function `Ip::ProbeTransport()':
> : undefined reference to `Debug::finishDebug()'
> ip/.libs/libip.a(tools.o)(.text+0x192): In function `Ip::ProbeTransport()':
> : undefined reference to `Debug::Levels'
> ip/.libs/libip.a(tools.o)(.text+0x199): In function `Ip::ProbeTransport()':
> : undefined reference to `Debug::level'
> ip/.libs/libip.a(tools.o)(.text+0x1a4): In function `Ip::ProbeTransport()':
> : undefined reference to `Debug::getDebugOut()'
> ip/.libs/libip.a(tools.o)(.text+0x1bb): In function `Ip::ProbeTransport()':
> : undefined reference to `Debug::finishDebug()'
> *** Error code 1
> 
> Stop in /usr/ports/www/squid31/work/squid-3.1.14/src.
> *** Error code 1
> 
> Stop in /usr/ports/www/squid31/work/squid-3.1.14/src.
> *** Error code 1
> 
> Stop in /usr/ports/www/squid31/work/squid-3.1.14/src.
> *** Error code 1
> 
> Stop in /usr/ports/www/squid31/work/squid-3.1.14.
> *** Error code 1
> 
> Stop in /usr/ports/www/squid31.
> *** Error code 1
> 
> Stop in /usr/ports/www/squid31.
> 
> ------------------------------------
> 
> Dei um deinstall no libtool, e recompilei ( cd /usr/ports/devel/libtool ;
> make install ), mas o erro persiste quando vou compilar o squid.
> Já apaguei os arquivos/diretórios que estão em /usr/ports/distfiles/ e
> baixei o port novamente, mas o erro persiste.
> Alguma idéia?
> 
> Valeu!!
> 
> 
> Tiago.


Eu fiz o teste em um 8-stable (8.2-Release + as atualizações e correções da série 8) com as opções default do port e não tive qualquer problema compilando o squid.

Quais opções você selecionou na hora de compilar o squid ? (cd /usr/ports/www/squid31; make config)

-l


Mais detalhes sobre a lista de discussão freebsd