I compile nginx with google-perftools 1.8.1<br><br> ./configure --with-cc-opt=-ltcmalloc<br> make<br><br>It fail in 1.0.2 ~ 1.1.0 :<br>objs/src/core/ngx_shmtx.o: In function `ngx_shmtx_unlock':<br>/root/nginx-1.1.0/src/core/ngx_shmtx.c:170: undefined reference to `sem_post'<br>
objs/src/core/ngx_shmtx.o: In function `ngx_shmtx_lock':<br>/root/nginx-1.1.0/src/core/ngx_shmtx.c:115: undefined reference to `sem_wait'<br>objs/src/core/ngx_shmtx.o: In function `ngx_shmtx_destory':<br>/root/nginx-1.1.0/src/core/ngx_shmtx.c:46: undefined reference to `sem_destroy'<br>
objs/src/core/ngx_shmtx.o: In function `ngx_shmtx_create':<br>/root/nginx-1.1.0/src/core/ngx_shmtx.c:27: undefined reference to `sem_init'<br><br><br>--<br>Thanks, <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>