when we execute 'make' command, we meet error message as follows.
./rt-app/src/rt-app_parse_config.c:773: undefined reference to `is_error'
Let's append <json-c/bits.h> header file into rt-app_parse_config.c
Signed-off-by: Geunsik Lim geunsik.lim@samsung.com [fix minor typo] [use json-c path instead of json] Signed-off-by: Vincent Guittot vincent.guittot@linaro.org
Signed-off-by: Vincent Guittot vincent.guittot@linaro.org --- src/rt-app_parse_config.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/rt-app_parse_config.c b/src/rt-app_parse_config.c index f4ac5cf..ef802f1 100644 --- a/src/rt-app_parse_config.c +++ b/src/rt-app_parse_config.c @@ -18,7 +18,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - +#include <json-c/bits.h> #include "rt-app_parse_config.h"
#define PFX "[json] "