Skip to content

getting 'ndk_upstreams' undeclared in ngx_http_set_hashed_upstream.c #3

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
megaphone opened this issue Mar 8, 2011 · 2 comments
Closed

Comments

@megaphone
Copy link

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
Copy link
Author

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

@agentzh
Copy link
Member

agentzh commented Mar 8, 2011

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
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants