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

Compilation error #485

Open
LLL2000L opened this issue Nov 23, 2023 · 0 comments
Open

Compilation error #485

LLL2000L opened this issue Nov 23, 2023 · 0 comments

Comments

@LLL2000L
Copy link

Hello, I got an error when compiling make: [33%] Linking C executable http_server
/usr/bin/ld: /usr/lib/x86_64-linux-gnu/libevent.a(evutil_rand.o): in function arc4_stir': (.text+0x2e2): undefined reference to sysctl'
collect2: error: ld returned 1 exit status
make[2]: ***[bin/CMakeFiles/http_server.dir/build.make:150:bin/http_server] Error 1
make[1]: ***[CMakeFiles/Makefile2:289:bin/CMakeFiles/http_server.dir/all] Error 2
make: ***[Makefile:146:all] Error 2
I still can't find the reason. What's the solution? I would be grateful if you could answer my question

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

1 participant