Antw: Re: nginx sticky module compile error
Dalibor Jotanovic
Dalibor.Jotanovic at herold.at
Thu Jun 16 15:20:42 MSD 2011
Hi,
yes, it's working now. I've installed the openssl devel package. and
checking for OpenSSL sha1 crypto library
says "found"
make succeeds.
thanks for that great support!
Cheers,
DJ
>>> "Dalibor Jotanovic" <Dalibor.Jotanovic at herold.at> 6/16/2011 12:57 >>>
Hi,
you are right!
checking for OpenSSL sha1 crypto library ... not found
Let me try to install the correct libs and recompile.
To be continued..
DJ
>>> Maxim Dounin <mdounin at mdounin.ru> 6/16/2011 12:15 >>>
Hello!
On Thu, Jun 16, 2011 at 12:01:26PM +0200, Dalibor Jotanovic wrote:
> Hi,
>
> sure, here it is:
>
> gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter
> -Wunused-function -Wunused-variable -Wunused-value -Werror -g -I
> src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I
> src/http -I src/http/modules -I src/mail \
> -o objs/addon/nginx-sticky-module-1.0-rc2/ngx_http_sticky_misc.o \
> ../modules/nginx-sticky-module-1.0-rc2//ngx_http_sticky_misc.c
> In file included from
> ../modules/nginx-sticky-module-1.0-rc2//ngx_http_sticky_misc.c:11:
> src/core/ngx_sha1.h:18:17: error: sha.h: No such file or directory
> In file included from
> ../modules/nginx-sticky-module-1.0-rc2//ngx_http_sticky_misc.c:11:
> src/core/ngx_sha1.h:22: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
> ‘__attribute__’ before ‘ngx_sha1_t’
> ../modules/nginx-sticky-module-1.0-rc2//ngx_http_sticky_misc.c: In
> function ‘ngx_http_sticky_misc_md5’:
> ../modules/nginx-sticky-module-1.0-rc2//ngx_http_sticky_misc.c:115:
> error: ‘MD5_DIGEST_LENGTH’ undeclared (first use in this function)
> ../modules/nginx-sticky-module-1.0-rc2//ngx_http_sticky_misc.c:115:
> error: (Each undeclared identifier is reported only once
> ../modules/nginx-sticky-module-1.0-rc2//ngx_http_sticky_misc.c:115:
> error: for each function it appears in.)
> cc1: warnings being treated as errors
> ../modules/nginx-sticky-module-1.0-rc2//ngx_http_sticky_misc.c:115:
> warning: unused variable ‘hash’
> ../modules/nginx-sticky-module-1.0-rc2//ngx_http_sticky_misc.c: In
> function ‘ngx_http_sticky_misc_sha1’:
> ../modules/nginx-sticky-module-1.0-rc2//ngx_http_sticky_misc.c:133:
> error: ‘ngx_sha1_t’ undeclared (first use in this function)
> ../modules/nginx-sticky-module-1.0-rc2//ngx_http_sticky_misc.c:133:
> error: expected ‘;’ before ‘sha1’
> ../modules/nginx-sticky-module-1.0-rc2//ngx_http_sticky_misc.c:134:
> error: ‘SHA_DIGEST_LENGTH’ undeclared (first use in this function)
> ../modules/nginx-sticky-module-1.0-rc2//ngx_http_sticky_misc.c:142:
> warning: implicit declaration of function ‘SHA1_Init’
> ../modules/nginx-sticky-module-1.0-rc2//ngx_http_sticky_misc.c:142:
> error: ‘sha1’ undeclared (first use in this function)
> ../modules/nginx-sticky-module-1.0-rc2//ngx_http_sticky_misc.c:143:
> warning: implicit declaration of function ‘SHA1_Update’
> ../modules/nginx-sticky-module-1.0-rc2//ngx_http_sticky_misc.c:144:
> warning: implicit declaration of function ‘SHA1_Final’
> ../modules/nginx-sticky-module-1.0-rc2//ngx_http_sticky_misc.c:134:
> warning: unused variable ‘hash’
> make[1]: ***
> [objs/addon/nginx-sticky-module-1.0-rc2/ngx_http_sticky_misc.o] Error 1
> make[1]: Leaving directory `/root/src/nginx-1.0.4'
> make: *** [build] Error 2
>
> Seems that the error is a different one, i wasn't aware of that.
> However, compiling fails..
It seems that you don't have any library with SHA1 functions
required for sticky module. Configure script should write
something like 'sha1: not found' (but it doesn't fail as SHA1 is
considered to be optional by nginx itself).
Easiest way to fix this is to install OpenSSL library (and
headers).
Maxim Dounin
>
> Cheers,
> DJ
>
> >>> Maxim Dounin <mdounin at mdounin.ru> 6/16/2011 11:45 >>>
> Hello!
>
> On Thu, Jun 16, 2011 at 10:33:19AM +0200, Dalibor Jotanovic wrote:
>
> > Hi,
> >
> > actually, not it is not. We have the same error in 1.0.4, as stated.
>
> Please provide output of make for 1.0.4 if you think it isn't.
>
> Maxim Dounin
>
> >
> > Cheers,
> > DJ
> >
> > >>> Maxim Dounin <mdounin at mdounin.ru> 6/16/2011 9:59 >>>
> > Hello!
> >
> > On Thu, Jun 16, 2011 at 09:56:15AM +0200, Stephan Wolfauer wrote:
> >
> > > Hello,
> > >
> > > we have problems compiling the nginx-sticky module (downloaded
> from
> > > http://code.google.com/p/nginx-sticky-module/downloads/list) in
> > nginx
> > > version 1.0.3 and 1.0.4. Here is the output of the "make" command:
>
> > >
> > > gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter
> > > -Wunused-function -Wunused-variable -Wunused-value -Werror -g -I
> > > src/core -I src/event -I src/event/modules -I src/os/unix -I objs
> \
> > > -o objs/src/core/ngx_crypt.o \
> > > src/core/ngx_crypt.c
> > > cc1: warnings being treated as errors
> > > src/core/ngx_crypt.c: In function \u2018ngx_crypt_apr1\u2019:
> > > src/core/ngx_crypt.c:76: warning: pointer targets in passing
> argument
> > 2
> > > of \u2018ngx_m
> d5_update\u2019 differ in signedness
> > > make[1]: *** [objs/src/core/ngx_crypt.o] Error 1
> > > make[1]: Leaving directory `/root/src/nginx-1.0.3'
> > > make: *** [build] Error 2
> > > Does anybody know how to fix this error?
> >
> > This is fixed in 1.0.4.
> >
> > Maxim Dounin
> >
> > _______________________________________________
> > nginx mailing list
> > nginx at nginx.org
> > http://nginx.org/mailman/listinfo/nginx
> >
> > HEROLD Business Data GmbH
> > Guntramsdorfer Straße 105
> > A-2340 Mödling
> >
> > FN 233171z
> > Landesgericht Wiener Neustadt
> >
> > Besuchen Sie uns online und mobil www.herold.at!
> >
> > Weitere Informationen zu unseren Produkten finden Sie unter:
> > http://mobile.herold.at
> > http://daten.herold.at
> >
> > Werden Sie Fan von HEROLD auf Facebook!
> >
> >
> > Bitte beachten Sie auch unsere Tochter- und Partner-Unternehmen:
> > www.clearsense.at
> > www.tupalo.com
> > www.aboutmedia.at
> > www.love.at
> > www.reise-hero.at
> > www.urlauburlaub.at
> >
> > Diese E-Mail kann vertrauliche und/oder rechtlich geschützte
> > Informationen enthalten. Wenn Sie nicht der richtige Adressat sind
> oder
> > diese E-Mail irrtümlich erhalten haben, informieren Sie bitte sofort
> den
> > Absender und vernichten Sie diese E-Mail. Das unerlaubte Kopieren
> sowie
> > die unbefugte Weitergabe dieser Mail sind nicht gestattet.
> >
> > This e-mail may contain confidential and/or privileged information.
> If
> > you are not the intended recipient (or have received this e-mail in
> > error) please notify the sender immediately and delete this e-mail.
> Any
> > unauthorized copying, disclosure or distribution of the material in
> this
> > e-mail is strictly forbidden.
>
> > _______________________________________________
> > nginx mailing list
> > nginx at nginx.org
> > http://nginx.org/mailman/listinfo/nginx
>
>
> _______________________________________________
> nginx mailing list
> nginx at nginx.org
> http://nginx.org/mailman/listinfo/nginx
>
> HEROLD Business Data GmbH
> Guntramsdorfer Straße 105
> A-2340 Mödling
>
> FN 233171z
> Landesgericht Wiener Neustadt
>
> Besuchen Sie uns online und mobil www.herold.at!
>
> Weitere Informationen zu unseren Produkten finden Sie unter:
> http://mobile.herold.at
> http://daten.herold.at
>
> Werden Sie Fan von HEROLD auf Facebook!
>
>
> Bitte beachten Sie auch unsere Tochter- und Partner-Unternehmen:
> www.clearsense.at
> www.tupalo.com
> www.aboutmedia.at
> www.love.at
> www.reise-hero.at
> www.urlauburlaub.at
>
> Diese E-Mail kann vertrauliche und/oder rechtlich geschützte
> Informationen enthalten. Wenn Sie nicht der richtige Adressat sind oder
> diese E-Mail irrtümlich erhalten haben, informieren Sie bitte sofort den
> Absender und vernichten Sie diese E-Mail. Das unerlaubte Kopieren sowie
> die unbefugte Weitergabe dieser Mail sind nicht gestattet.
>
> This e-mail may contain confidential and/or privileged information. If
> you are not the intended recipient (or have received this e-mail in
> error) please notify the sender immediately and delete this e-mail. Any
> unauthorized copying, disclosure or distribution of the material in this
> e-mail is strictly forbidden.
> _______________________________________________
> nginx mailing list
> nginx at nginx.org
> http://nginx.org/mailman/listinfo/nginx
_______________________________________________
nginx mailing list
nginx at nginx.org
http://nginx.org/mailman/listinfo/nginx
HEROLD Business Data GmbH
Guntramsdorfer Straße 105
A-2340 Mödling
FN 233171z
Landesgericht Wiener Neustadt
Besuchen Sie uns online und mobil auf www.herold.at!
Weitere Informationen zu unseren Produkten finden Sie unter:
http://mobile.herold.at
http://daten.herold.at
Werden Sie Fan von HEROLD auf Facebook!
Bitte beachten Sie auch unsere Tochter- und Partner-Unternehmen:
www.clearsense.at
www.tupalo.com
www.aboutmedia.at
www.love.at
www.reise-hero.at
www.urlauburlaub.at
Diese E-Mail kann vertrauliche und/oder rechtlich geschützte Informationen enthalten. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich erhalten haben, informieren Sie bitte sofort den Absender und vernichten Sie diese E-Mail. Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail sind nicht gestattet.
This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and delete this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden.
Click here to report this email as spam.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://nginx.org/pipermail/nginx/attachments/20110616/376ac525/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/gif
Size: 1993 bytes
Desc: not available
URL: <http://nginx.org/pipermail/nginx/attachments/20110616/376ac525/attachment-0002.gif>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/gif
Size: 1096 bytes
Desc: not available
URL: <http://nginx.org/pipermail/nginx/attachments/20110616/376ac525/attachment-0003.gif>
More information about the nginx
mailing list