ngx_http_set_hashed_upstream.o #4

Closed
tmslnz opened this Issue Mar 8, 2011 · 3 comments

Comments

Projects
None yet
2 participants
@tmslnz

tmslnz commented Mar 8, 2011

Compiling from source with this module enabled was tripping it out:

gcc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Wunused-function -Wunused-variable -Wunused-value -Werror -g  -DNDK_SET_VAR -DNDK_UPSTREAM_LIST -DNDK_SET_VAR -DNDK_SET_VAR -DNDK_SET_VAR -DNDK_SET_VAR  -I src/core -I src/event -I src/event/modules -I src/os/unix -I /opt/src/W.Nginx/nginx/../modules/ngx_devel_kit/objs -I objs/addon/ndk -I /usr/include/libxml2 -I objs -I src/http -I src/http/modules -I /opt/src/W.Nginx/nginx/../modules/ngx_devel_kit/src -I src/mail \
        -o objs/addon/src/ngx_http_set_hashed_upstream.o \
        /opt/src/W.Nginx/nginx/../modules/set-misc-nginx-module/src/ngx_http_set_hashed_upstream.c
/opt/src/W.Nginx/nginx/../modules/set-misc-nginx-module/src/ngx_http_set_hashed_upstream.c: In function ‘ngx_http_set_misc_get_upstream_list’:
/opt/src/W.Nginx/nginx/../modules/set-misc-nginx-module/src/ngx_http_set_hashed_upstream.c:12: error: ‘ndk_upstreams’ undeclared (first use in this function)
/opt/src/W.Nginx/nginx/../modules/set-misc-nginx-module/src/ngx_http_set_hashed_upstream.c:12: error: (Each undeclared identifier is reported only once
/opt/src/W.Nginx/nginx/../modules/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 `/opt/src/W.Nginx/nginx'
make: *** [build] Error 2

Got it to compile successfully removing --add-module=set-misc-nginx-module

@agentzh

This comment has been minimized.

Show comment Hide comment
@agentzh

agentzh Mar 8, 2011

Owner

Sorry, this is a transient error caused by yesterday's NDK updates. Please try pulling the latest master of ngx_set_misc and compiling again. I've just fixed it in ngx_set_misc's git respos.

Owner

agentzh commented Mar 8, 2011

Sorry, this is a transient error caused by yesterday's NDK updates. Please try pulling the latest master of ngx_set_misc and compiling again. I've just fixed it in ngx_set_misc's git respos.

@tmslnz

This comment has been minimized.

Show comment Hide comment
@tmslnz

tmslnz Mar 8, 2011

Mmmm. I'm not an expert, so it's quite likely I'm doing something wrong here, but I am still getting the same error even after pulling your latest changes.

tmslnz commented Mar 8, 2011

Mmmm. I'm not an expert, so it's quite likely I'm doing something wrong here, but I am still getting the same error even after pulling your latest changes.

@agentzh

This comment has been minimized.

Show comment Hide comment
@agentzh

agentzh Mar 8, 2011

Owner

Please also pull from the ngx_devel_kit repos. Ensure you're at HEAD of both repositories ;)

Owner

agentzh commented Mar 8, 2011

Please also pull from the ngx_devel_kit repos. Ensure you're at HEAD of both repositories ;)

This issue was closed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment