It works!!<br><br>Thank you<br><br><div class="gmail_quote">2011/8/4 Maxim Dounin <span dir="ltr"><<a href="mailto:mdounin@mdounin.ru">mdounin@mdounin.ru</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hello!<br>
<div class="im"><br>
On Thu, Aug 04, 2011 at 09:03:01AM +0800, Wendal Chen wrote:<br>
<br>
> I compile nginx with  google-perftools 1.8.1<br>
><br>
>     ./configure  --with-cc-opt=-ltcmalloc<br>
<br>
</div>You've passed "-ltcmalloc" as compiler flag, while it's linker<br>
one.  The only effect that it confuses ./configure which does<br>
compile and link in one step while doing tests.<br>
<br>
If you want to build nginx with tcmalloc library linked, use<br>
<br>
    ./configure --with-ld-opt=-ltcmalloc<br>
<br>
instead.<br>
<br>
Maxim Dounin<br>
<br>
_______________________________________________<br>
nginx mailing list<br>
<a href="mailto:nginx@nginx.org">nginx@nginx.org</a><br>
<a href="http://mailman.nginx.org/mailman/listinfo/nginx" target="_blank">http://mailman.nginx.org/mailman/listinfo/nginx</a><br>
</blockquote></div><br><br clear="all"><br>-- <br>Wendal Chen<br><a href="http://t.sina.com.cn/1068040557?s=6uyXnP" target="_blank"><img alt="" src="http://service.t.sina.com.cn/widget/qmd/1068040557/e0a18d12/3.png?rnd=1302310535458" border="0"></a><br>
<br>