On Ubuntu 20.04, I try to make git master version of nginx, but failed with the following errors:
$ git log -1 commit f02e2a734ef472f0dcf83ab2e8ce96d1acead8a5 (HEAD -> master, origin/master, origin/branches/default, origin/HEAD) Author: Ruslan Ermilov <[email protected]> Date: Thu Apr 22 16:12:52 2021 +0300 Restored zeroing of ngx_channel_t in ngx_pass_open_channel(). Due to structure's alignment, some uninitialized memory contents may have been passed between processes. Zeroing was removed in 0215ec9aaa8a. Reported by Johnny Wang. $ ./auto/configure $(./auto/configure --help | egrep -o -- '--with[^= ]+ ' | xargs) $ make make -f objs/Makefile make[1]: Entering directory '/home/werner/Public/repo/github.com/nginx/nginx.git' cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/mail -I src/stream \ -o objs/src/misc/ngx_cpp_test_module.o \ src/misc/ngx_cpp_test_module.cpp src/misc/ngx_cpp_test_module.cpp:11:12: fatal error: ngx_http.h: No such file or directory 11 | #include <ngx_http.h> | ^~~~~~~~~~~~ compilation terminated. make[1]: *** [objs/Makefile:1060: objs/src/misc/ngx_cpp_test_module.o] Error 1 make[1]: Leaving directory '/home/werner/Public/repo/github.com/nginx/nginx.git' make: *** [Makefile:10: build] Error 2 Any hints for solving this problem will be highly appreciated. Regards -- Assoc. Prof. Hongyi Zhao <[email protected]> Theory and Simulation of Materials Hebei Vocational University of Technology and Engineering NO. 552 North Gangtie Road, Xingtai, China _______________________________________________ nginx-devel mailing list [email protected] http://mailman.nginx.org/mailman/listinfo/nginx-devel
