Code Monkey home page Code Monkey logo

Comments (2)

nirajrussspacetech avatar nirajrussspacetech commented on July 21, 2024

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.

nirajrussspacetech avatar nirajrussspacetech commented on July 21, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.