Skip to content

cannot compile 0.10.7 with uClibc++ #1158

Open
@neheb

Description

@neheb

Describe the bug

/home/mangix/devstuff/openwrt/staging_dir/toolchain-mips_24kc_gcc-9.3.0_musl/lib/gcc/mips-openwrt-linux-musl/9.3.0/../../../../mips-openwrt-linux-musl/bin/ld: src/lib_json/libjsoncpp.a(json_value.cpp.o): in function `Json::Value::operator<(Json::Value const&) const':
json_value.cpp:(.text+0x5dc): undefined reference to `bool std::operator< <Json::Value::CZString, Json::Value, std::less<Json::Value::CZString>, std::allocator<Json::Value> >(std::map<Json::Value::CZString, Json::Value, std::less<Json::Value::CZString>, std::allocator<Json::Value> > const&, std::map<Json::Value::CZString, Json::Value, std::less<Json::Value::CZString>, std::allocator<Json::Value> > const&)'
collect2: error: ld returned 1 exit status

This was after several changes with defines to get it to build. Also backported b082693

Maybe something else is needed...

Desktop (please complete the following information):

  • OS: OpenWrt
  • Meson version - latest. 0.54
  • Ninja version - latest 1.10

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions