volumio@volumio:~/cava/mpd_oled$ PLAYER=MPD LDLIBS="-li2c" make g++ -o mpd_oled main.o timer.o status.o status_msg.o utils.o display.o programopts.o ultragetopt.o ArduiPi_OLED.o Adafruit_GFX.o bcm2835.o bcm2835_i2c.o -li2c -lmpdclient -lpthread /usr/bin/ld: status.o: in function `get_volumio_status[abi:cxx11]()': status.cpp:(.text+0x99c): undefined reference to `curl_easy_init' /usr/bin/ld: status.cpp:(.text+0x9ac): undefined reference to `curl_easy_setopt' /usr/bin/ld: status.cpp:(.text+0x9bc): undefined reference to `curl_easy_setopt' /usr/bin/ld: status.cpp:(.text+0x9cc): undefined reference to `curl_easy_setopt' /usr/bin/ld: status.cpp:(.text+0x9dc): undefined reference to `curl_easy_setopt' /usr/bin/ld: status.cpp:(.text+0x9ec): undefined reference to `curl_easy_setopt' /usr/bin/ld: status.o:status.cpp:(.text+0x9fc): more undefined references to `curl_easy_setopt' follow /usr/bin/ld: status.o: in function `get_volumio_status[abi:cxx11]()': status.cpp:(.text+0xa28): undefined reference to `curl_easy_perform' /usr/bin/ld: status.cpp:(.text+0xa40): undefined reference to `curl_easy_getinfo' /usr/bin/ld: status.cpp:(.text+0xa48): undefined reference to `curl_easy_cleanup' /usr/bin/ld: status.o: in function `mpd_info::set_vals_volumio(mpd_connection*)': status.cpp:(.text+0xd18): undefined reference to `Json::Reader::Reader()' /usr/bin/ld: status.cpp:(.text+0xd24): undefined reference to `Json::Value::Value(Json::ValueType)' /usr/bin/ld: status.cpp:(.text+0xd38): undefined reference to `Json::Reader::parse(std::__cxx11::basic_string, std::allocator > const&, Json::Value&, bool)' /usr/bin/ld: status.cpp:(.text+0xd4c): undefined reference to `Json::Value::operator[](char const*)' /usr/bin/ld: status.cpp:(.text+0xd50): undefined reference to `Json::Value::isInt() const' /usr/bin/ld: status.cpp:(.text+0xd68): undefined reference to `Json::Value::operator[](char const*)' /usr/bin/ld: status.cpp:(.text+0xd74): undefined reference to `Json::Value::asString[abi:cxx11]() const' /usr/bin/ld: status.cpp:(.text+0xd9c): undefined reference to `Json::Value::operator[](char const*)' /usr/bin/ld: status.cpp:(.text+0xda0): undefined reference to `Json::Value::isInt() const' /usr/bin/ld: status.cpp:(.text+0xdb4): undefined reference to `Json::Value::operator[](char const*)' /usr/bin/ld: status.cpp:(.text+0xdb8): undefined reference to `Json::Value::asInt() const' /usr/bin/ld: status.cpp:(.text+0xdd8): undefined reference to `Json::Value::operator[](char const*)' /usr/bin/ld: status.cpp:(.text+0xddc): undefined reference to `Json::Value::isInt() const' /usr/bin/ld: status.cpp:(.text+0xdf0): undefined reference to `Json::Value::operator[](char const*)' /usr/bin/ld: status.cpp:(.text+0xdf4): undefined reference to `Json::Value::asInt() const' /usr/bin/ld: status.cpp:(.text+0xe04): undefined reference to `Json::Value::operator[](char const*)' /usr/bin/ld: status.cpp:(.text+0xe10): undefined reference to `Json::Value::asString[abi:cxx11]() const' /usr/bin/ld: status.cpp:(.text+0xeac): undefined reference to `Json::Value::operator[](char const*)' /usr/bin/ld: status.cpp:(.text+0xeb8): undefined reference to `Json::Value::asString[abi:cxx11]() const' /usr/bin/ld: status.cpp:(.text+0xfbc): undefined reference to `Json::Value::~Value()' /usr/bin/ld: status.cpp:(.text+0x1164): undefined reference to `Json::Value::operator[](char const*)' /usr/bin/ld: status.cpp:(.text+0x1168): undefined reference to `Json::Value::asInt() const' /usr/bin/ld: status.cpp:(.text+0x12a4): undefined reference to `Json::Value::~Value()' /usr/bin/ld: status.o: in function `mpd_info::init()': status.cpp:(.text+0x1740): undefined reference to `Json::Reader::Reader()' /usr/bin/ld: status.cpp:(.text+0x174c): undefined reference to `Json::Value::Value(Json::ValueType)' /usr/bin/ld: status.cpp:(.text+0x1760): undefined reference to `Json::Reader::parse(std::__cxx11::basic_string, std::allocator > const&, Json::Value&, bool)' /usr/bin/ld: status.cpp:(.text+0x1774): undefined reference to `Json::Value::~Value()' /usr/bin/ld: status.cpp:(.text+0x1934): undefined reference to `Json::Value::operator[](char const*)' /usr/bin/ld: status.cpp:(.text+0x1938): undefined reference to `Json::Value::isInt() const' /usr/bin/ld: status.cpp:(.text+0x194c): undefined reference to `Json::Value::operator[](char const*)' /usr/bin/ld: status.cpp:(.text+0x1950): undefined reference to `Json::Value::asInt() const' /usr/bin/ld: status.cpp:(.text+0x19a0): undefined reference to `Json::Value::~Value()' collect2: error: ld returned 1 exit status make: *** [Makefile:31: mpd_oled] Error 1