keenerd/jshon — Issue #2: CENTOS 5 build issues
Author: digitalrinaldo
Created: 2011-12-29 18:57:46+00:00
State: open

Just started to look into this.

[root@nikita24 jshon]# make
gcc -c -std=c99 -Wall -pedantic -Wextra -Werror jshon.c
jshon.c:8:21: error: jansson.h: No such file or directory
cc1: warnings being treated as errors
jshon.c:72: warning: implicit declaration of function 'JSON_INDENT'
jshon.c:72: error: initializer element is not constant
jshon.c:84: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
jshon.c:85: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
jshon.c:112: error: expected ')' before '*' token
jshon.c:124: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
jshon.c:138: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
jshon.c:148: error: expected specifier-qualifier-list before 'json_t'
jshon.c: In function 'MAPPUSH':
jshon.c:169: error: 'mapping' has no member named 'stk'
jshon.c:169: warning: implicit declaration of function 'stack_safe_peek'