Skip to content
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

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

Open
ijanetyuan2017 opened this issue Oct 17, 2023 · 2 comments

Comments

@ijanetyuan2017
Copy link

ijanetyuan2017 commented Oct 17, 2023

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

ijanetyuan2017 commented Oct 17, 2023

image
sorry this is error code source file

@u5surf
Copy link
Collaborator

u5surf commented Dec 31, 2023

@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
...

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