HELP: ngx_http_token_module compile failed

gcc -c -O -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
/usr/local/include -I objs -I src/http -I src/http/modules -o
objs/src/http/modules/ngx_http_upstream_ip_hash_module.o
src/http/modules/ngx_http_upstream_ip_hash_module.c
gcc -c -O -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
/usr/local/include -I objs -I src/http -I src/http/modules -I
src/mail -o objs/addon/nginx-token/ngx_http_token_module.o
/usr/local/pureftp_user/nginx-token/ngx_http_token_module.c
/usr/local/pureftp_user/nginx-token/ngx_http_token_module.c: In function
‘ngx_http_token_handler’:
/usr/local/pureftp_user/nginx-token/ngx_http_token_module.c:148: error:
‘ngx_http_upstream_conf_t’ has no member named ‘schema’
/usr/local/pureftp_user/nginx-token/ngx_http_token_module.c: In function
‘ngx_http_token_merge_loc_conf’:
/usr/local/pureftp_user/nginx-token/ngx_http_token_module.c:358: error:
‘ngx_http_upstream_conf_t’ has no member named ‘schema’
/usr/local/pureftp_user/nginx-token/ngx_http_token_module.c:358: error:
‘ngx_http_upstream_conf_t’ has no member named ‘schema’
/usr/local/pureftp_user/nginx-token/ngx_http_token_module.c: In function
‘ngx_http_token_server’:
/usr/local/pureftp_user/nginx-token/ngx_http_token_module.c:374: error:
‘ngx_http_upstream_conf_t’ has no member named ‘schema’
/usr/local/pureftp_user/nginx-token/ngx_http_token_module.c:390: error:
‘ngx_http_upstream_conf_t’ has no member named ‘schema’
/usr/local/pureftp_user/nginx-token/ngx_http_token_module.c:391: error:
‘ngx_http_upstream_conf_t’ has no member named ‘schema’
*** Error code 1

Stop in /usr/local/pureftp_user/nginx-0.7.65.

Posted at Nginx Forum:

The software ,including nginx and the module, are downloaded from

I write a config file and come to the above error while do making… is
there any suggestion on the next step?
Thanks.

Posted at Nginx Forum:

cat config

ngx_addon_name=ngx_http_token_module
HTTP_MODULES=“$HTTP_MODULES ngx_http_token_module”
NGX_ADDON_SRCS=“$NGX_ADDON_SRCS $ngx_addon_dir/ngx_http_token_module.c”
#CORE_LIBS=“$CORE_LIBS -lm”

=============
the config file is not in place in the downloaded zip file, I wrote one
as above.

Any one can help on this?

Posted at Nginx Forum: