Welcome! Log In Create A New Profile

Advanced

Re: Compilation error on CentOS-5.7

Iqbal Aroussi
February 27, 2012 11:26AM
Hi Maxim,

it worked great, you saved my day you're a great guy.

Bestest Regards
*


--
*
*Iqbal Aroussi*
*+212 665 025 032*
*iqbal@aroussi.name*



On Mon, Feb 27, 2012 at 16:15, Maxim Dounin <mdounin@mdounin.ru> wrote:

> Hello!
>
> On Mon, Feb 27, 2012 at 03:51:09PM +0000, Iqbal Aroussi wrote:
>
> > Hi,
> >
> > I was able to compile nginx alone without problems. however it doesn't
> > compile when I add *nginx_udplog_module-1.0.0* support "*
> > --add-module=/root/nginx_udplog_module-1.0.0*"
> > any hints ?
> >
> > Best Regards
> >
> > gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter
> > -Wunused-function -Wunused-variable -Wunused-value -Werror -g -O2 -g
> -pipe
> > -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
> > --param=ssp-buffer-size=4 -m64 -mtune=generic -I src/core -I src/event
> -I
> > src/event/modules -I src/os/unix -I /usr/include/libxml2 -I objs -I
> > src/http -I src/http/modules -I src/http/modules/perl -I src/mail \
> > -o objs/addon/nginx_udplog_module-1.0.0/ngx_http_udplog_module.o \
> > /root/nginx_udplog_module-1.0.0/ngx_http_udplog_module.c
> > /root/nginx_udplog_module-1.0.0/ngx_http_udplog_module.c: In function
> > ‘ngx_udplog_init_endpoint’:
> > /root/nginx_udplog_module-1.0.0/ngx_http_udplog_module.c:284: error:
> > incompatible types in assignment
> > /root/nginx_udplog_module-1.0.0/ngx_http_udplog_module.c: In function
> > ‘ngx_http_udplogger_send’:
> > /root/nginx_udplog_module-1.0.0/ngx_http_udplog_module.c:338: error:
> > invalid type argument of ‘->’
> > /root/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.12'
> > make: *** [build] Error 2
>
> It looks like the udplog module version you are using is way too
> old and doesn't contain this 2 years old fix for and API change
> in nginx 0.8.32:
>
>
> https://github.com/vkholodkov/nginx-udplog-module/commit/e7b8145b96ae9f5be94f0ab0008a8c59cd13c7b8
>
> You may want to get more recent one from Valery's github.
>
> Maxim Dounin
>
> _______________________________________________
> nginx mailing list
> nginx@nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx
>
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

Compilation error on CentOS-5.7

Iqbal Aroussi February 27, 2012 09:50AM

Re: Compilation error on CentOS-5.7

Adam Landas February 27, 2012 09:52AM

Re: Compilation error on CentOS-5.7

Iqbal Aroussi February 27, 2012 10:02AM

Re: Compilation error on CentOS-5.7

pradeepmohan September 25, 2013 03:47AM

Re: Compilation error on CentOS-5.7

trojan2748 February 27, 2012 09:53AM

Re: Compilation error on CentOS-5.7

Maxim Dounin February 27, 2012 10:12AM

Re: Compilation error on CentOS-5.7

Edho Arief February 27, 2012 10:18AM

Re: Compilation error on CentOS-5.7

Iqbal Aroussi February 27, 2012 10:30AM

Re: Compilation error on CentOS-5.7

Iqbal Aroussi February 27, 2012 10:42AM

Re: Compilation error on CentOS-5.7

Iqbal Aroussi February 27, 2012 10:52AM

Re: Compilation error on CentOS-5.7

Joshua Zhu February 27, 2012 11:12AM

Re: Compilation error on CentOS-5.7

Maxim Dounin February 27, 2012 11:16AM

Re: Compilation error on CentOS-5.7

Iqbal Aroussi February 27, 2012 11:26AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 106
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 254 on July 05, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready