I compile nginx with google-perftools 1.8.1
./configure --with-cc-opt=-ltcmalloc
make
It fail in 1.0.2 ~ 1.1.0 :
objs/src/core/ngx_shmtx.o: In function `ngx_shmtx_unlock':
/root/nginx-1.1.0/src/core/ngx_shmtx.c:170: undefined reference to
`sem_post'
objs/src/core/ngx_shmtx.o: In function `ngx_shmtx_lock':
/root/nginx-1.1.0/src/core/ngx_shmtx.c:115: undefined reference to
`sem_wait'
objs/src/core/ngx_shmtx.o: In function `ngx_shmtx_destory':
/root/nginx-1.1.0/src/core/ngx_shmtx.c:46: undefined reference to
`sem_destroy'
objs/src/core/ngx_shmtx.o: In function `ngx_shmtx_create':
/root/nginx-1.1.0/src/core/ngx_shmtx.c:27: undefined reference to `sem_init'
--
Thanks,
Wendal Chen
http://t.sina.com.cn/1068040557?s=6uyXnP
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx