Skip to content

/usr/local/lib64/libkinetic_client.so: undefined reference to `google::FlagRegisterer::FlagRegisterer(char const*, char const*, char const*, char const*, void*, void*)' #51

@colyli

Description

@colyli

I use latest version of gflags, glog, kinetic-cpp-client and h-flat. When I compile h-flat, I get a failure message:
[ 24%] Linking CXX executable hflat
/usr/local/lib64/libkinetic_client.so: undefined reference to `google::FlagRegisterer::FlagRegisterer(char const*, char const*, char const*, char const*, void*, void*)'
collect2: error: ld returned 1 exit status
CMakeFiles/hflat.dir/build.make:665: recipe for target 'hflat' failed
make[2]: *** [hflat] Error 1
CMakeFiles/Makefile2:104: recipe for target 'CMakeFiles/hflat.dir/all' failed
make[1]: *** [CMakeFiles/hflat.dir/all] Error 2
Makefile:83: recipe for target 'all' failed
make: *** [all] Error 2

It seems from libkinetic_client.so, there is an unreferenced symbol. Can anybody give me some hints to pass compiling ? Thanks in advance.

Coly

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions