Comments (2)
I am getting same error:
make all-am
make[1]: Entering directory '/home/uss/Work/Trade_Server/cpptrade-master'
g++ -O2 -g -Wall -I/home/uss/Work/Trade_Server/libevhtp-develop/build/include -I/home/uss/Work/Trade_Server/libevhtp-develop/include -I/home/uss/Work/Trade_Server/univalue-master/include -L/home/uss/Work/Trade_Server/univalue-master/lib -pthread -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*)': /home/uss/Work/Trade_Server/cpptrade-master/obsrv.cc:153: undefined reference to
evhtp_request_set_hook'
obsrv.o: In function upload_headers_cb(evhtp_request*, evhtp_kvs*, void*)': /home/uss/Work/Trade_Server/cpptrade-master/obsrv.cc:245: undefined reference to
evhtp_request_set_hook'
obsrv.o: In function main': /home/uss/Work/Trade_Server/cpptrade-master/obsrv.cc:405: undefined reference to
evhtp_callback_set_hook'
collect2: error: ld returned 1 exit status
Makefile:685: recipe for target 'obsrv' failed
make[1]: *** [obsrv] Error 1
make[1]: Leaving directory '/home/uss/Work/Trade_Server/cpptrade-master'
Makefile:577: recipe for target 'all' failed
make: *** [all] Error 2
Kindly help
from cpptrade.
I solved this error by downloading the evhtp from git.
and manually compiling and installing as described in git
Also perform "sudo make install" to install all files in /usr/local
from cpptrade.
Related Issues (9)
- rocksdb is used for what here? HOT 1
- univalue.h not found error HOT 4
- error: ‘evhtp_set_regex_cb’ was not declared in this scope HOT 2
- Issue on mac os x 10.10.5 HOT 1
- Compile errors, cannot convert. HOT 1
- Runing testcli.js is not working HOT 1
- cannot compile cpptrade on ubuntu 16.04 HOT 2
- Make check giving me error
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cpptrade.