-
Notifications
You must be signed in to change notification settings - Fork 47
Description
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 ?