openresty / openresty/encrypted-session-nginx-module

make error

Open
#19 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C
Stars
203
Forks
50
Avg merge
1h 25m
Merged PRs (30d)
2

Description

objs/addon/src/ngx_http_encrypted_session_module.o:(.data+0x0): multiple definition of 'ngx_http_encrypted_session_module'
objs/addon/src/ngx_http_encrypted_session_module.o:(.data+0x0): first defined here
objs/addon/src/ngx_http_encrypted_session_cipher.o: In function 'ngx_http_encrypted_session_aes_mac_encrypt':
/opt/encrypted-session-nginx-module-0.08/src/ngx_http_encrypted_session_cipher.c:29: multiple definition of `ngx_http_encrypted_session_aes_mac_encrypt'
objs/addon/src/ngx_http_encrypted_session_cipher.o:/opt/encrypted-session-nginx-module-0.08/src/ngx_http_encrypted_session_cipher.c:29: first defined here
objs/addon/src/ngx_http_encrypted_session_cipher.o: In function 'ngx_http_encrypted_session_aes_mac_decrypt':
/opt/encrypted-session-nginx-module-0.08/src/ngx_http_encrypted_session_cipher.c:143: multiple definition of 'ngx_http_encrypted_session_aes_mac_decrypt'
objs/addon/src/ngx_http_encrypted_session_cipher.o:/opt/encrypted-session-nginx-module-0.08/src/ngx_http_encrypted_session_cipher.c:143: first defined here

openresty-1.13.6.2

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the build failure with openresty-1.13.6.2 and inspect how src/ngx_http_encrypted_session_module.o and src/ngx_http_encrypted_session_cipher.o are included in the module build. Check the module's build configuration and confirm that the build completes without duplicate-definition errors.

Written by the indexing model from the issue text.

Assessment

Tech stack
c, nginx
Domain
backend, build-system
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.