iannsp/githubit — Issue #2: `make` on osx 10.6
Author: augustohp
Created: 2011-12-16 23:32:47+00:00
State: open

Returns this output (fail):

```
gcc src/ghstuff.c src/ghissue.c src/ghcurl.c src/ghjson.c src/githubit.c -o bin/githubit -lcurl -ljansson
In file included from src/ghstuff.c:3:
src/ghtype.h:2:21: error: jansson.h: No such file or directory
In file included from src/ghstuff.c:3:
src/ghtype.h:28: error: expected specifier-qualifier-list before 'json_t'
In file included from src/ghissue.c:4:
src/ghtype.h:2:21: error: jansson.h: No such file or directory
In file included from src/ghissue.c:4:
src/ghtype.h:28: error: expected specifier-qualifier-list before 'json_t'
In file included from src/ghissue.c:9:
src/ghjson.h:3: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
src/ghjson.h:4: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
src/ghissue.c: In function 'ghissue_list':
src/ghissue.c:39: error: 'json_t' undeclared (first use in this function)
src/ghissue.c:39: error: (Each undeclared identifier is reported only once
src/ghissue.c:39: error: for each function it appears in.)
src/ghissue.c:39: error: 'json' undeclared (first use in this function)
src/ghissue.c:40: error: 'item' undeclared (first use in this function)
src/ghissue.c:54: error: 'ghout' has no member named 'json'
src/ghissue.c:56: error: 'ghout' has no member named 'json'
src/ghissue.c:62: warning: assignment makes pointer from integer without a cast
src/ghissue.c:63: warning: assignment makes pointer from integer without a cast
src/ghissue.c:65: warning: assignment makes pointer from integer without a cast
In file included from src/ghcurl.c:2:
src/ghtype.h:2:21: error: jansson.h: No such file or directory
In file included from src/ghcurl.c:2:
src/ghtype.h:28: error: expected specifier-qualifier-list before 'json_t'
In file included from src/ghjson.c:3:
src/ghtype.h:2:21: error: jansson.h: No such file or directory
In file included from src/ghjson.c:3:
src/ghtype.h:28: error: expected specifier-qualifier-list before 'json_t'
src/ghjson.c: In function 'ghstringparse':
src/ghjson.c:10: error: 'json_t' undeclared (first use in this function)
src/ghjson.c:10: error: (Each undeclared identifier is reported only once
src/ghjson.c:10: error: for each function it appears in.)
src/ghjson.c:10: error: 'root' undeclared (first use in this function)
src/ghjson.c:11: error: 'json_error_t' undeclared (first use in this function)
src/ghjson.c:11: error: expected ';' before 'error'
src/ghjson.c:12: error: 'error' undeclared (first use in this function)
src/ghjson.c:13: error: 'ghout' has no member named 'json'
src/ghjson.c:14: error: 'ghout' has no member named 'json'
src/ghjson.c: At top level:
src/ghjson.c:17: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
src/ghjson.c:29: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
In file included from src/githubit.c:3:
src/ghtype.h:2:21: error: jansson.h: No such file or directory
In file included from src/githubit.c:3:
src/ghtype.h:28: error: expected specifier-qualifier-list before 'json_t'
make: *** [all] Error 1
```