Compilation error on CentOS-5.7

pradeepmohan nginx-forum at nginx.us
Wed Sep 25 07:47:39 UTC 2013


Hi,

Im getting following error while add new module nginx_udplog_module-1.0.0
after nginx installation. Please  

Note :  nginx version nginx-1.0.4.tar.gz
.
/root/SETUP-PACKAGE-BCK/nginx_udplog_module-1.0.0/ngx_http_udplog_module.c:
In function ‘ngx_udplog_init_endpoint’:
/root/SETUP-PACKAGE-BCK/nginx_udplog_module-1.0.0/ngx_http_udplog_module.c:284:
error: incompatible types in assignment
/root/SETUP-PACKAGE-BCK/nginx_udplog_module-1.0.0/ngx_http_udplog_module.c:
In function ‘ngx_http_udplogger_send’:
/root/SETUP-PACKAGE-BCK/nginx_udplog_module-1.0.0/ngx_http_udplog_module.c:338:
error: invalid type argument of ‘->’
/root/SETUP-PACKAGE-BCK/nginx_udplog_module-1.0.0/ngx_http_udplog_module.c:338:
error: incompatible type for argument 2 of ‘ngx_log_error_core’
make[1]: *** [objs/addon/nginx_udplog_module-1.0.0/ngx_http_udplog_module.o]
Error 1
make[1]: Leaving directory `/root/nginx-1.0.4'
make: *** [build] Error 2

Thanks,
PradeeMohan

Posted at Nginx Forum: http://forum.nginx.org/read.php?2,223048,243119#msg-243119



More information about the nginx mailing list