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

"error: ‘EVENT_LOG_DEBUG’ undeclared" while making #8

Open
mraerino opened this issue May 30, 2014 · 2 comments
Open

"error: ‘EVENT_LOG_DEBUG’ undeclared" while making #8

mraerino opened this issue May 30, 2014 · 2 comments

Comments

@mraerino
Copy link

There are 4 errors thrown when I try to compile rs-serve.
I installed all of the dependencies that were given in the readme.

Here is the complete make log when issuing make for the second time:

~/rs-serve$ make
[SUBMODULE] lib/evhtp/
Submodule 'lib/evhtp' () registered for path 'lib/evhtp'
[DEPS] libevhtp
Build Type: Release
Std CFLAGS:  -Wall -fno-strict-aliasing -DPROJECT_VERSION="1.2.5" -D_BSD_SOURCE -D_POSIX_C_SOURCE=200112
Dbg CFLAGS: -g -Wall -fno-strict-aliasing -ggdb
Rel CFLAGS: -O3 -DNDEBUG -Wall -fno-strict-aliasing
-- Configuring done
-- Generating done
-- Build files have been written to: /home/marcus/rs-serve/lib/evhtp/build
make[1]: Entering directory `/home/marcus/rs-serve/lib/evhtp/build'
make[2]: Entering directory `/home/marcus/rs-serve/lib/evhtp/build'
make[3]: Entering directory `/home/marcus/rs-serve/lib/evhtp/build'
make[3]: Leaving directory `/home/marcus/rs-serve/lib/evhtp/build'
[100%] Built target libevhtp
make[2]: Leaving directory `/home/marcus/rs-serve/lib/evhtp/build'
make[1]: Leaving directory `/home/marcus/rs-serve/lib/evhtp/build'
[CC] process/main
src/process/main.c: In function ‘log_event_base_message’:
src/process/main.c:71:8: error: ‘EVENT_LOG_DEBUG’ undeclared (first use in this function)
src/process/main.c:71:8: note: each undeclared identifier is reported only once for each function it appears in
src/process/main.c:74:8: error: ‘EVENT_LOG_MSG’ undeclared (first use in this function)
src/process/main.c:77:8: error: ‘EVENT_LOG_ERR’ undeclared (first use in this function)
src/process/main.c:80:8: error: ‘EVENT_LOG_WARN’ undeclared (first use in this function)
make: *** [src/process/main.o] Error 1
@raucao
Copy link
Member

raucao commented May 31, 2014

Just tried to reproduce yours and ran into a different one on my box: #9

@mraerino
Copy link
Author

After I manually defined those missing statics, I ran into the error described in #9

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants