Welcome! Log In Create A New Profile

Advanced

Failed to make nginx master on Ubuntu 20.04.

Hongyi Zhao
May 02, 2021 10:14AM
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 <ru@nginx.com>
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 <hongyi.zhao@gmail.com>
Theory and Simulation of Materials
Hebei Vocational University of Technology and Engineering
NO. 552 North Gangtie Road, Xingtai, China
_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

Failed to make nginx master on Ubuntu 20.04.

Hongyi Zhao 153 May 02, 2021 10:14AM

Re: Failed to make nginx master on Ubuntu 20.04.

Maxim Dounin 29 May 02, 2021 06:04PM

Re: Failed to make nginx master on Ubuntu 20.04.

Hongyi Zhao 52 May 03, 2021 02:50AM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 82
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready