vozlt / nginx-module-vts

Nginx virtual host traffic status module
BSD 2-Clause "Simplified" License
3.17k stars 456 forks source link

I encountered the following Syntax error while compiling the vts source code in windows environment #280

Open ijanetyuan2017 opened 8 months ago

ijanetyuan2017 commented 8 months ago

I encountered the following Syntax error while compiling the vts source code. like this: image

my nginx source code version :nginx-branches-stable-1.24. vts source code version : nginx-module-vts-0.2.2. openssl version: openssl-1.1.1m. pre version : pcre-8.45. strawberry-perl-5.32.1.1-64bit zlib version : zlib-1.3 the errors like : 1:The identifier "ngx_http_vhost_traffic_status_escape_json" on line 16 of the file ngx_http_vhost_traffic_status_string.h has a syntax error. syntax error is ';' 2 : on line 16 Missing ")" (before "*"). Has anyone encountered the same error? Please kindly share your advice.

ijanetyuan2017 commented 8 months ago

image sorry this is error code source file

u5surf commented 6 months ago

@ijanetyuan2017 Sorry for late comment. We're not sure what happened on your local code. We consider that remote repository doesn't have any problem because the latest CI had passed.

https://github.com/vozlt/nginx-module-vts/actions/runs/7370209846/job/20056318860

Do you find any difference between your code and remote repository code?

% git remote get-url upstream
https://github.com/vozlt/nginx-module-vts
% git diff upstream/master
...