opened
emcek
username_0
I try compile pianobar on low cost chip HW arm board.
I've install needed libraries (maybe not all):

```
sudo apt-get install libpthread-stubs0-dev libao-dev libao4 libcurl3-gnutls libcurl3 libgcrypt11-dev libgcrypt20-dev libjson-c-dev libjson-c2 libjson0 libjson0-dev ffmpeg libavfilter-dev libcurl4-gnutls-dev libavformat-dev libavcodec-extra57 libavcodec-extra pkg-config
```

Due to issue #614 I use 2016.06.02 release, but I got some warrnings:
```
chip@chip:~/pianobar-2016.06.02$ make
    CC  src/main.c
    CC  src/player.c
    CC  src/settings.c
    CC  src/terminal.c
    CC  src/ui_act.c
    CC  src/ui.c
    CC  src/ui_readline.c
    CC  src/ui_dispatch.c
    CC  src/libpiano/crypt.c
    CC  src/libpiano/piano.c
    CC  src/libpiano/request.c
    CC  src/libpiano/response.c
src/libpiano/response.c: In function 'PianoJsonStrdup':
src/libpiano/response.c:37:2: warning: 'json_object_object_get' is deprecated (declared at /usr/include/json-c/json_object.h:271) [-Wdeprecated-declarations]
  return strdup (json_object_get_string (json_object_object_get (j, key)));
  ^
src/libpiano/response.c: In function 'PianoJsonParseStation':
src/libpiano/response.c:43:2: warning: 'json_object_object_get' is deprecated (declared at /usr/include/json-c/json_object.h:271) [-Wdeprecated-declarations]
  s->isCreator = !json_object_get_boolean (json_object_object_get (j,
  ^
src/libpiano/response.c:45:2: warning: 'json_object_object_get' is deprecated (declared at /usr/include/json-c/json_object.h:271) [-Wdeprecated-declarations]
  s->isQuickMix = json_object_get_boolean (json_object_object_get (j,
  ^
src/libpiano/response.c: In function 'PianoResponse':
src/libpiano/response.c:87:2: warning: 'json_object_object_get' is deprecated (declared at /usr/include/json-c/json_object.h:271) [-Wdeprecated-declarations]
  status = json_object_object_get (j, "stat");
  ^
src/libpiano/response.c:95:3: warning: 'json_object_object_get' is deprecated (declared at /usr/include/json-c/json_object.h:271) [-Wdeprecated-declarations]
   json_object *code = json_object_object_get (j, "code");
   ^
src/libpiano/response.c:117:2: warning: 'json_object_object_get' is deprecated (declared at /usr/include/json-c/json_object.h:271) [-Wdeprecated-declarations]
  result = json_object_object_get (j, "result");
  ^
src/libpiano/response.c:131:8: warning: 'json_object_object_get' is deprecated (declared at /usr/include/json-c/json_object.h:271) [-Wdeprecated-declarations]
        json_object_object_get (result, "syncTime"));
        ^
src/libpiano/response.c:152:8: warning: 'json_object_object_get' is deprecated (declared at /usr/include/json-c/json_object.h:271) [-Wdeprecated-declarations]
        json_object_object_get (result, "partnerId"));
        ^
src/libpiano/response.c:175:4: warning: 'json_object_object_get' is deprecated (declared at /usr/include/json-c/json_object.h:271) [-Wdeprecated-declarations]
    json_object *stations = json_object_object_get (result,
    ^
src/libpiano/response.c:190:6: warning: 'json_object_object_get' is deprecated (declared at /usr/include/json-c/json_object.h:271) [-Wdeprecated-declarations]
      mix = json_object_object_get (s, "quickMixStationIds");
      ^
src/libpiano/response.c:222:4: warning: 'json_object_object_get' is deprecated (declared at /usr/include/json-c/json_object.h:271) [-Wdeprecated-declarations]
    json_object *items = json_object_object_get (result, "items");
    ^
src/libpiano/response.c:233:5: warning: 'json_object_object_get' is deprecated (declared at /usr/include/json-c/json_object.h:271) [-Wdeprecated-declarations]
     if (json_object_object_get (s, "artistName") == NULL) {
     ^
src/libpiano/response.c:243:5: warning: 'json_object_object_get' is deprecated (declared at /usr/include/json-c/json_object.h:271) [-Wdeprecated-declarations]
     json_object *map = json_object_object_get (s, "audioUrlMap");
     ^
src/libpiano/response.c:247:6: warning: 'json_object_object_get' is deprecated (declared at /usr/include/json-c/json_object.h:271) [-Wdeprecated-declarations]
      map = json_object_object_get (map, qualityMap[reqData->quality]);
      ^
src/libpiano/response.c:251:9: warning: 'json_object_object_get' is deprecated (declared at /usr/include/json-c/json_object.h:271) [-Wdeprecated-declarations]
         json_object_object_get (map, "encoding"));
         ^
src/libpiano/response.c:277:7: warning: 'json_object_object_get' is deprecated (declared at /usr/include/json-c/json_object.h:271) [-Wdeprecated-declarations]
       json_object_object_get (s, "trackGain"));
       ^
src/libpiano/response.c:279:7: warning: 'json_object_object_get' is deprecated (declared at /usr/include/json-c/json_object.h:271) [-Wdeprecated-declarations]
       json_object_object_get (s, "trackLength"));
       ^
src/libpiano/response.c:280:5: warning: 'json_object_object_get' is deprecated (declared at /usr/include/json-c/json_object.h:271) [-Wdeprecated-declarations]
     switch (json_object_get_int (json_object_object_get (s,
     ^
src/libpiano/response.c:343:4: warning: 'json_object_object_get' is deprecated (declared at /usr/include/json-c/json_object.h:271) [-Wdeprecated-declarations]
    json_object *artists = json_object_object_get (result, "artists");
    ^
src/libpiano/response.c:362:4: warning: 'json_object_object_get' is deprecated (declared at /usr/include/json-c/json_object.h:271) [-Wdeprecated-declarations]
    json_object *songs = json_object_object_get (result, "songs");
    ^
src/libpiano/response.c:417:4: warning: 'json_object_object_get' is deprecated (declared at /usr/include/json-c/json_object.h:271) [-Wdeprecated-declarations]
    json_object *categories = json_object_object_get (result, "categories");
    ^
src/libpiano/response.c:432:6: warning: 'json_object_object_get' is deprecated (declared at /usr/include/json-c/json_object.h:271) [-Wdeprecated-declarations]
      json_object *stations = json_object_object_get (c,
      ^
src/libpiano/response.c:483:4: warning: 'json_object_object_get' is deprecated (declared at /usr/include/json-c/json_object.h:271) [-Wdeprecated-declarations]
    json_object *explanations = json_object_object_get (result,
    ^
src/libpiano/response.c:494:8: warning: 'json_object_object_get' is deprecated (declared at /usr/include/json-c/json_object.h:271) [-Wdeprecated-declarations]
        json_object_object_get (e, "focusTraitName"));
        ^
src/libpiano/response.c:515:6: warning: 'json_object_object_get' is deprecated (declared at /usr/include/json-c/json_object.h:271) [-Wdeprecated-declarations]
      json_object_object_get (result, "isExplicitContentFilterEnabled"));
      ^
src/libpiano/response.c:531:4: warning: 'json_object_object_get' is deprecated (declared at /usr/include/json-c/json_object.h:271) [-Wdeprecated-declarations]
    json_object *music = json_object_object_get (result, "music");
    ^
src/libpiano/response.c:534:5: warning: 'json_object_object_get' is deprecated (declared at /usr/include/json-c/json_object.h:271) [-Wdeprecated-declarations]
     json_object *songs = json_object_object_get (music, "songs");
     ^
src/libpiano/response.c:555:5: warning: 'json_object_object_get' is deprecated (declared at /usr/include/json-c/json_object.h:271) [-Wdeprecated-declarations]
     json_object *artists = json_object_object_get (music,
     ^
src/libpiano/response.c:577:4: warning: 'json_object_object_get' is deprecated (declared at /usr/include/json-c/json_object.h:271) [-Wdeprecated-declarations]
    json_object *feedback = json_object_object_get (result,
    ^
src/libpiano/response.c:582:6: warning: 'json_object_object_get' is deprecated (declared at /usr/include/json-c/json_object.h:271) [-Wdeprecated-declarations]
      json_object * const val = json_object_object_get (feedback,
      ^
src/libpiano/response.c:603:9: warning: 'json_object_object_get' is deprecated (declared at /usr/include/json-c/json_object.h:271) [-Wdeprecated-declarations]
         json_object_object_get (s, "isPositive")) ?
         ^
    CC  src/libpiano/list.c
  LINK  pianobar
```

Do I miss any library?
json problem during compilation
issue
closed
PromyLOPh
username_1
issue