coova / coova-chilli

CoovaChilli is an open-source software access controller for captive portal hotspots.
Other
516 stars 258 forks source link

Compile Error on OpenWrt json_object #64

Closed edy-c closed 9 years ago

edy-c commented 9 years ago

Hi,

compiling Coova Chilli on OpenWrt commit b7384ce55606c2a673c96e6986e1f72a8927671d produces the following errors:

_uClibc-0.9.33.2/coova-chilli-1.3.1.3/bstring/.libs/libbstring.so ../bstring/.libs/libbstring.so -lrt ./.libs/libchilli.so: undefined reference to json_object_to_json_string' ./.libs/libchilli.so: undefined reference tojson_object_new_string' ./.libs/libchilli.so: undefined reference to `json_object_put' collect2: error: ld returned 1 exit status

commit b7bd125beb4652a58001b667c4c6ce6e9c1b6459 is fine, no errors.

Thanks in advance

Edy

jobezic commented 9 years ago

You have to add --enable-libjson when running configure.

edy-c commented 9 years ago

Thanks,

with --enable-libjson compile is fine, no errors.