[gambit-list] GSC from MacosX installer

Denis Fourt denis.prog at hotmail.com
Fri Nov 22 15:43:17 EST 2013


When compiling with gsc from the macosx installer I get the following error messages (at the end):
Though I have no problem with the homebrew installation. (running os 10.6 gcc 4.2)

Thanks

Denis

In file included from test.c:34:
/Library/Gambit-C/v4.7.0/include/gambit.h:473:20: error: limits.h: No such file or directory
/Library/Gambit-C/v4.7.0/include/gambit.h:752:19: error: wchar.h: No such file or directory
/Library/Gambit-C/v4.7.0/include/gambit.h:797:19: error: float.h: No such file or directory
/Library/Gambit-C/v4.7.0/include/gambit.h:880:2: error: #error "The definition for ___CHAR_WIDTH is missing"
/Library/Gambit-C/v4.7.0/include/gambit.h:884:2: error: #error "The definition for ___SHORT_WIDTH is missing"
/Library/Gambit-C/v4.7.0/include/gambit.h:888:2: error: #error "The definition for ___INT_WIDTH is missing"
/Library/Gambit-C/v4.7.0/include/gambit.h:892:2: error: #error "The definition for ___LONG_WIDTH is missing"
/Library/Gambit-C/v4.7.0/include/gambit.h:900:2: error: #error "The definition for ___FLOAT_WIDTH is missing"
/Library/Gambit-C/v4.7.0/include/gambit.h:904:2: error: #error "The definition for ___DOUBLE_WIDTH is missing"
/Library/Gambit-C/v4.7.0/include/gambit.h:1305:20: error: setjmp.h: No such file or directory
/Library/Gambit-C/v4.7.0/include/gambit.h:6713:18: error: math.h: No such file or directory
In file included from test.c:34:
/Library/Gambit-C/v4.7.0/include/gambit.h:6720: error: expected specifier-qualifier-list before ‘jmp_buf’
/Library/Gambit-C/v4.7.0/include/gambit.h:7044: error: expected specifier-qualifier-list before ‘___F64’
/Library/Gambit-C/v4.7.0/include/gambit.h:8300: error: expected declaration specifiers or ‘...’ before ‘___S8’
/Library/Gambit-C/v4.7.0/include/gambit.h:8305: error: expected declaration specifiers or ‘...’ before ‘___U8’
/Library/Gambit-C/v4.7.0/include/gambit.h:8310: error: expected declaration specifiers or ‘...’ before ‘___S16’
/Library/Gambit-C/v4.7.0/include/gambit.h:8315: error: expected declaration specifiers or ‘...’ before ‘___U16’
/Library/Gambit-C/v4.7.0/include/gambit.h:8320: error: expected declaration specifiers or ‘...’ before ‘___S32’
/Library/Gambit-C/v4.7.0/include/gambit.h:8325: error: expected declaration specifiers or ‘...’ before ‘___U32’
/Library/Gambit-C/v4.7.0/include/gambit.h:8340: error: expected declaration specifiers or ‘...’ before ‘___F32’
/Library/Gambit-C/v4.7.0/include/gambit.h:8345: error: expected declaration specifiers or ‘...’ before ‘___F64’
/Library/Gambit-C/v4.7.0/include/gambit.h:8380: error: expected declaration specifiers or ‘...’ before ‘wchar_t’
/Library/Gambit-C/v4.7.0/include/gambit.h:8607: error: expected declaration specifiers or ‘...’ before ‘wchar_t’
/Library/Gambit-C/v4.7.0/include/gambit.h:8612: error: expected declaration specifiers or ‘...’ before ‘wchar_t’
/Library/Gambit-C/v4.7.0/include/gambit.h:8617: error: expected declaration specifiers or ‘...’ before ‘wchar_t’
/Library/Gambit-C/v4.7.0/include/gambit.h:8657: error: expected ‘)’ before ‘x’
/Library/Gambit-C/v4.7.0/include/gambit.h:8662: error: expected ‘)’ before ‘x’
/Library/Gambit-C/v4.7.0/include/gambit.h:8667: error: expected ‘)’ before ‘x’
/Library/Gambit-C/v4.7.0/include/gambit.h:8672: error: expected ‘)’ before ‘x’
/Library/Gambit-C/v4.7.0/include/gambit.h:8677: error: expected ‘)’ before ‘x’
/Library/Gambit-C/v4.7.0/include/gambit.h:8682: error: expected ‘)’ before ‘x’
/Library/Gambit-C/v4.7.0/include/gambit.h:8697: error: expected ‘)’ before ‘x’
/Library/Gambit-C/v4.7.0/include/gambit.h:8702: error: expected ‘)’ before ‘x’
/Library/Gambit-C/v4.7.0/include/gambit.h:8737: error: expected ‘)’ before ‘x’
/Library/Gambit-C/v4.7.0/include/gambit.h:8965: error: expected ‘)’ before ‘*’ token
/Library/Gambit-C/v4.7.0/include/gambit.h:8970: error: expected ‘)’ before ‘*’ token
/Library/Gambit-C/v4.7.0/include/gambit.h:8975: error: expected ‘)’ before ‘*’ token
test.c: In function ‘___H__20_test_2e_o1’:
test.c:73: error: nested functions are disabled, use -fnested-functions to re-enable
test.c:73: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘___s32_temp’
test.c:73: error: ‘___s32_temp’ undeclared (first use in this function)
test.c:73: error: (Each undeclared identifier is reported only once
test.c:73: error: for each function it appears in.)
test.c:73: error: nested functions are disabled, use -fnested-functions to re-enable
test.c:73: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘___u32_temp’
test.c:73: error: ‘___u32_temp’ undeclared (first use in this function)
test.c:73: error: ‘___F64’ undeclared (first use in this function)
test.c:73: error: expected ‘;’ before ‘___F64V1’
test.c:73: error: expected ‘;’ before ‘___F64V2’
test.c:73: error: expected ‘;’ before ‘___F64V3’
test.c:115: error: ‘___global_state_struct’ has no member named ‘handler_wrong_nargs’
test.c:154: error: ‘___global_state_struct’ has no member named ‘handler_wrong_nargs’
test.c:175: error: ‘___global_state_struct’ has no member named ‘handler_stack_limit’
test.c:206: error: ‘___global_state_struct’ has no member named ‘handler_stack_limit’
test.c:208: error: ‘___global_state_struct’ has no member named ‘handler_not_proc_glo’
test.c:241: error: ‘___global_state_struct’ has no member named ‘handler_stack_limit’
test.c:244: error: ‘___global_state_struct’ has no member named ‘handler_not_proc_glo’
test.c:266: error: ‘___global_state_struct’ has no member named ‘handler_stack_limit’
test.c:269: error: ‘___global_state_struct’ has no member named ‘handler_not_proc_glo’
test.c:277: error: ‘___F64V1’ undeclared (first use in this function)
test.c:277: error: expected expression before ‘)’ token
test.c:278: error: ‘___F64V2’ undeclared (first use in this function)
test.c:278: error: expected expression before ‘)’ token
test.c:279: error: ‘___F64V3’ undeclared (first use in this function)
test.c:280: error: expected expression before ‘)’ token
test.c:281: error: ‘___global_state_struct’ has no member named ‘handler_heap_limit’
test.c:291: error: ‘___global_state_struct’ has no member named ‘handler_stack_limit’
test.c:305: error: ‘___global_state_struct’ has no member named ‘handler_stack_limit’
test.c:307: error: ‘___global_state_struct’ has no member named ‘handler_not_proc_glo’
test.c:330: error: ‘___global_state_struct’ has no member named ‘handler_wrong_nargs’
test.c:333: error: ‘___global_state_struct’ has no member named ‘handler_stack_limit’
test.c:335: error: ‘___global_state_struct’ has no member named ‘handler_not_proc_glo’
test.c:339: warning: comparison between pointer and integer
*** ERROR IN (console)@1.1 -- C compilation or link failed while compiling "test.scm" 		 	   		  


More information about the Gambit-list mailing list