View Issue Details

IDProjectCategoryView StatusLast Update
0000063easycwmpHelppublic2015-06-30 12:59
Reporterlinpf Assigned Tomohamed.kallel  
PrioritynormalSeverityminorReproducibilityhave not tried
Status resolvedResolutionno change required 
PlatformLinuxOSUbuntuOS Version14.04.1
Summary0000063: Trying to compile easycwmp
DescriptionHello,

I am new to easycwmp and I need your help in order to try EasyCwmp.

Got this following error message while compiling OpenWrt firmware.

In file included from ../src/cwmp.c:17:0:
../src/json.h:16:26: fatal error: json-c/json.h: No such file or directory

Search the web and find the exact same issue as http://support.easycwmp.org/view.php?id=9 and also can not quite follow the provided answer.

The main problem is that I can not go to Library and select libjson-c.

I provided the screenshot for your reference. Thanks.
Additional InformationOnly libjson libary is there. No libjson-c
TagsNo tags attached.
e-mail notification

Activities

linpf

2015-06-28 03:58

reporter  

mohamed.kallel

2015-06-28 18:12

administrator   ~0000219

Last edited: 2015-06-28 19:58

you have to download libjson-c package from the OpenWRT svn repository. If you do not find how to get or build the libjson-c, please post your question on openwrt forum (it s the adequate place for a such question) and you will got answer (inchallah ;-))

mohamed.kallel

2015-06-28 19:16

administrator   ~0000220

It works for me

As indicated in the official openwrt dev website ( https://dev.openwrt.org/wiki/GetSource ), I get the OpenWRT (attitude adjusment) with:

git clone git://git.openwrt.org/12.09/openwrt.git



and then I can see the libjosn-c in the make menuconfig (see attached screen shot).

may be you have made some wrong manip some where. may be you have to start form a clean version

mohamed.kallel

2015-06-28 19:16

administrator  

linpf

2015-06-29 23:22

reporter   ~0000224

Hi Kallel,

Thank you for your help. I certainly have followed your advice and sucessfully built easycwmp.
The thing is it can not build right firmware for me to load as I am supposed to use QSDK ( https://www.codeaurora.org/xwiki/bin/QSDK/WebHome )to build code for the firmware. Maybe to run easycwmp I will need to fix Makefile as now it seems two packages both want to either go to same folder or the same Makefile. It is too complex and confusing for me to "configure it all out". I have already post my problem to the OpenWrt forum and hope someone knows the answer will response.

Regards,

Lin.

Issue History

Date Modified Username Field Change
2015-06-28 03:58 linpf New Issue
2015-06-28 03:58 linpf File Added: Screenshot from 2015-06-28 09:48:15.png
2015-06-28 18:12 mohamed.kallel Note Added: 0000219
2015-06-28 19:16 mohamed.kallel Note Added: 0000220
2015-06-28 19:16 mohamed.kallel File Added: Screenshotmakemenuconfiglibjsonc.png
2015-06-28 19:58 mohamed.kallel Note Edited: 0000219
2015-06-29 23:22 linpf Note Added: 0000224
2015-06-30 12:59 mohamed.kallel Status new => resolved
2015-06-30 12:59 mohamed.kallel Resolution open => no change required
2015-06-30 12:59 mohamed.kallel Assigned To => mohamed.kallel