[MacRuby-devel] An error occurs by the build of MacRuby with r4229.

Watson watson1978 at gmail.com
Wed Jun 16 16:12:38 PDT 2010


Thank you for your quick reply.
I found out that this problem is fixed.


Thank you!

2010/6/17 Laurent Sansonetti <lsansonetti at apple.com>:
> Sorry about that... can you retry with r4232 ?
>
> Thanks,
> Laurent
>
> On Jun 16, 2010, at 3:37 PM, Watson wrote:
>
>> The error occurred when I builded the MacRuby r4229.
>> Please fix a this error.
>>
>> $ RC_ARCHS=x86_64 rake jobs=2 2>&1 | tee build_log.txt
>> $ cat build_log.txt
>> ----------- snip -----------
>> /usr/bin/gcc-4.2 -std=c99 -I. -I./include -arch x86_64 -fno-common
>> -pipe -g -Wall -fexceptions -O3 -Wno-deprecated-declarations -Werror
>> -DMACRUBY_STATIC -c eval.c -o .static-objs/eval.o
>> /usr/bin/gcc-4.2 -std=c99 -I. -I./include -arch x86_64 -fno-common
>> -pipe -g -Wall -fexceptions -O3 -Wno-deprecated-declarations -Werror
>> -DMACRUBY_STATIC -c file.c -o .static-objs/file.o
>> In file included from file.c:22:
>> encoding.h:22:30: error: unicode/ustring.h: No such file or directory
>> In file included from file.c:22:
>> encoding.h:60: error: expected specifier-qualifier-list before ‘UChar’
>> encoding.h:121: error: expected declaration specifiers or ‘...’ before ‘UChar’
>> encoding.h:122: error: expected declaration specifiers or ‘...’ before ‘UChar’
>> encoding.h:348: error: expected declaration specifiers or ‘...’ before ‘UChar’
>> encoding.h:351: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
>> ‘__attribute__’ before ‘rb_str_get_uchar’
>> encoding.h:352: error: expected declaration specifiers or ‘...’ before ‘UChar’
>> cc1: warnings being treated as errors
>> encoding.h:353: warning: type defaults to ‘int’ in declaration of ‘UChar’
>> encoding.h:353: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token
>> encoding.h:354: warning: type defaults to ‘int’ in declaration of ‘UChar’
>> encoding.h:354: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token
>> /usr/bin/gcc-4.2 -std=c99 -I. -I./include -arch x86_64 -fno-common
>> -pipe -g -Wall -fexceptions -O3 -Wno-deprecated-declarations -Werror
>> -DMACRUBY_STATIC -c load.c -o .static-objs/load.o
>> file.c: In function ‘rb_file_join’:
>> file.c:2818: error: ‘UChar’ undeclared (first use in this function)
>> file.c:2818: error: (Each undeclared identifier is reported only once
>> file.c:2818: error: for each function it appears in.)
>> file.c:2818: error: expected ‘;’ before ‘sep_char’
>> file.c:2843: warning: implicit declaration of function ‘rb_str_get_uchar’
>> file.c:2843: error: ‘sep_char’ undeclared (first use in this function)
>> rake aborted!
>> Command failed with status (1): [/usr/bin/gcc-4.2 -std=c99 -I. -I./include ...]
>>
>> (See full trace by running task with --trace)
>> _______________________________________________
>> MacRuby-devel mailing list
>> MacRuby-devel at lists.macosforge.org
>> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
>
> _______________________________________________
> MacRuby-devel mailing list
> MacRuby-devel at lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
>


More information about the MacRuby-devel mailing list