Wendal Chen
August 03, 2011 09:04PM
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
Subject Author Posted

Fail to complie nginx with google-perftools

Wendal Chen August 03, 2011 09:04PM

Re: Fail to complie nginx with google-perftools

Maxim Dounin August 03, 2011 09:40PM

Re: Fail to complie nginx with google-perftools

Wendal Chen August 04, 2011 12:02AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 156
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready