8000 Link faild with undefined reference to `MHD_is_feature_supported' · Issue #267 · cinemast/libjson-rpc-cpp · GitHub
[go: up one dir, main page]

Skip to content
Link faild with undefined reference to `MHD_is_feature_supported' #267
@Arryboom

Description

@Arryboom
  • OS: Centos 7.3 x64
  • Envir: G 5ABE CC 7.3,CMake 3.14.2,libmicrohttpd-0.9.63(compile install)

the Old libmicrohttpd installed by yum on centos doesn't support epool,so I have to download the lastest version of libmicrohttpd then compile and install manully.then I try to compile libjsonrpccpp and got following error:


[ 51%] Built target libjsonrpcstub
Scanning dependencies of target jsonrpcstub
[ 53%] Building CXX object src/stubgenerator/CMakeFiles/jsonrpcstub.dir/main.cpp.o
[ 54%] Linking CXX executable ../../bin/jsonrpcstub
[ 54%] Built target jsonrpcstub
Scanning dependencies of target redisserversample
[ 55%] Building CXX object src/examples/CMakeFiles/redisserversample.dir/redisserver.cpp.o
[ 56%] Linking CXX executable ../../bin/redisserversample
../../lib/libjsonrpccpp-server.so.1.2.0: undefined reference to `MHD_is_feature_supported'
collect2: error: ld returned 1 exit status
make[2]: *** [bin/redisserversample] Error 1
make[1]: *** [src/examples/CMakeFiles/redisserversample.dir/all] Error 2
make: *** [all] Error 2

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0