Nginx-0.8.44 + uwsgi-0.9.5.4 make error

Hi,

I am following the The uWSGI project — uWSGI 2.0 documentation and
LEMP Server on Debian 5 (Lenny) | Linode Docs
, try to make uwsgi workable with nginx. But some error come out while
make stop.

objs/addon/nginx/ngx_http_uwsgi_module.o
objs/ngx_modules.o
-lcrypt -lpcre -lcrypto -lz
objs/addon/nginx/ngx_http_uwsgi_module.o:(.data+0x0): multiple
definition of ngx_http_uwsgi_module' objs/src/http/modules/ngx_http_uwsgi_module.o:(.data+0x0): first defined here objs/src/os/unix/ngx_process.o: In function ngx_process_get_status’:
/opt/src/nginx-0.8.44/src/os/unix/ngx_process.c:490: warning:
sys_errlist' is deprecated; use strerror’ or strerror_r' instead /opt/src/nginx-0.8.44/src/os/unix/ngx_process.c:490: warning: sys_nerr’
is deprecated; use strerror' or strerror_r’ instead
collect2: ld returned 1 exit status
make[1]: *** [objs/nginx] Error 1
make[1]: Leaving directory `/opt/src/nginx-0.8.44’
make: *** [install] Error 2

But using the stable version of nginx is OK with some warning.

Why? Any bug?

Thanks in advance.

Posted at Nginx Forum:

Hi,

objs/addon/nginx/ngx_http_uwsgi_module.o:(.data+0x0): multiple
definition of `ngx_http_uwsgi_module’

This error explains all :slight_smile: uwsgi module was imported in nginx-0.8.40, so
you
don’t need to add it separately via “–add-module”.

Best regards,
Piotr S. < [email protected] >