Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

getting 'ndk_upstreams' undeclared in ngx_http_set_hashed_upstream.c #3

Closed
megaphone opened this Issue · 2 comments

2 participants

@megaphone

Hi, I'm getting the following error when I try to make nginx:

/root/set-misc-nginx-module/src/ngx_http_set_hashed_upstream.c: In function ‘ngx_http_set_misc_get_upstream_list’:
/root/set-misc-nginx-module/src/ngx_http_set_hashed_upstream.c:12: error: ‘ndk_upstreams’ undeclared (first use in this function)
/root/set-misc-nginx-module/src/ngx_http_set_hashed_upstream.c:12: error: (Each undeclared identifier is reported only once
/root/set-misc-nginx-module/src/ngx_http_set_hashed_upstream.c:12: error: for each function it appears in.)
make[1]: *** [objs/addon/src/ngx_http_set_hashed_upstream.o] Error 1
make[1]: Leaving directory `/root/nginx-0.8.54'

I configured nginx by including the ngx_devel_kit module as well as the set-misc-nginx-module.
Any suggestions?

@megaphone

Actually it looks like the ndk_upstreams global var was removed/renamed by simpl on feb 15 in this commit: simpl/ngx_devel_kit@941cb25

@agentzh
Owner

already fixed in git master HEAD. please try again :)

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.