From: Geunsik Lim geunsik.lim@samsung.com
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/bits.h> header file into rt-app_parse_config.c
Signed-off-by: Geunsik Lim geunsik.lim@samsung.com --- 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 96e5517..f4ecb61 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/bits.h> #include "rt-app_parse_config.h"
#define PFX "[json] "
Hi,
On 25 August 2015 at 08:52, Geunsik Lim geunsik.lim@gmail.com wrote:
From: Geunsik Lim geunsik.lim@samsung.com
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'
Could you give us more information about your setup because i don't face the issue with mine ? Which sha1 of rt-app tree are you using ? Are you cross compiling rt-app or compiling it on the target ? Which json lib are you using ? we are using libjson-c package on debian system
Thanks, Vincent
Let's append <json/bits.h> header file into rt-app_parse_config.c
Signed-off-by: Geunsik Lim geunsik.lim@samsung.com
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 96e5517..f4ecb61 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/bits.h> #include "rt-app_parse_config.h"
#define PFX "[json] "
1.7.9.5