Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

make on osx 10.6 #2

Open
augustohp opened this issue Dec 16, 2011 · 1 comment
Open

make on osx 10.6 #2

augustohp opened this issue Dec 16, 2011 · 1 comment

Comments

@augustohp
Copy link

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
@iannsp
Copy link
Owner

iannsp commented Dec 18, 2011

rode primeiro o install-dependency.sh que resolve a dependencia do janson

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants