-
Notifications
You must be signed in to change notification settings - Fork 48
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
Issues while compling #7
Comments
I am getting same error: Kindly help |
I solved this error by downloading the evhtp from git. |
I get the following -
g++ -O2 -Wall -g -I/usr/local/include/evhtp -pthread -L/usr/lib -o obsrv srvapi.o obsrv.o Market.o Order.o HttpUtil.o libobcommon.a -levhtp -lunivalue -levent_core -levent_openssl -lssl -lcrypto -luuid
obsrv.o: In function
reqInit(evhtp_request*, ReqState*, HttpApiEntry const*) [clone .constprop.71]': ~/cpptrade/obsrv.cc:153: undefined reference to
evhtp_request_set_hook'obsrv.o: In function
upload_headers_cb(evhtp_request*, evhtp_kvs*, void*)': ~/cpptrade/obsrv.cc:245: undefined reference to
evhtp_request_set_hook'obsrv.o: In function
main': ~/cpptrade/obsrv.cc:405: undefined reference to
evhtp_callback_set_hook'collect2: error: ld returned 1 exit status
Makefile:685: recipe for target 'obsrv' failed
No idea why. I've compiled successfuly the libevthp, but something (some reference is not found there).
Any idea ?
The text was updated successfully, but these errors were encountered: