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

centos7 build error #7

Open
kenser opened this issue Apr 2, 2021 · 1 comment
Open

centos7 build error #7

kenser opened this issue Apr 2, 2021 · 1 comment

Comments

@kenser
Copy link

kenser commented Apr 2, 2021

CentOS Linux release 7.7.1908 (Core)
objs/src/http/ngx_http.o:/root/cache/openresty-1.19.3.1/build/nginx-1.19.3/src/http/ngx_http.c:625: first defined here
objs/addon/ngx_http_js_challenge_module/ngx_http_js_challenge.o: In function ngx_http_create_locations_list': /root/cache/openresty-1.19.3.1/build/nginx-1.19.3/src/http/ngx_http.c:1018: multiple definition of ngx_http_html_default_types'
objs/src/http/ngx_http.o:/root/cache/openresty-1.19.3.1/build/nginx-1.19.3/src/http/ngx_http.c:907: first defined here
collect2: error: ld returned 1 exit status
make[2]: *** [objs/nginx] Error 1
I tried to compile it to nginx, but got an error.

@galenguyer
Copy link

This is likely because you ran ./configure with --add-module. Using --add-dynamic-module should succeed.

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