Solaris 9
gcc 3.3.1
yaml2byte.c: In function bytestring_alloc': yaml2byte.c:42: warning: integer constant is too large for "long" type yaml2byte.c: In function
bytestring_append’:
yaml2byte.c:56: warning: integer constant is too large for “long” type
yaml2byte.c: In function bytestring_extend': yaml2byte.c:89: warning: integer constant is too large for "long" type yaml2byte.c:90: warning: integer constant is too large for "long" type yaml2byte.c:92: error:
YAMLBYTE_ANCHOR’ undeclared (first use in this
function)
yaml2byte.c:92: error: (Each undeclared identifier is reported only once
yaml2byte.c:92: error: for each function it appears in.)
yaml2byte.c:96: error: YAMLBYTE_ALIAS' undeclared (first use in this function) yaml2byte.c: In function
syck_yaml2byte_handler’:
yaml2byte.c:134: error: YAMLBYTE_ANCHOR' undeclared (first use in this function) yaml2byte.c:139: error:
YAMLBYTE_TRANSFER’ undeclared (first use in
this function)
yaml2byte.c:153: error: YAMLBYTE_SCALAR' undeclared (first use in this function) yaml2byte.c:163: error:
YAMLBYTE_CONTINUE’ undeclared (first use in
this function)
yaml2byte.c:172: error: YAMLBYTE_NEWLINE' undeclared (first use in this function) yaml2byte.c:176: error:
YAMLBYTE_NULLCHAR’ undeclared (first use in
this function)
yaml2byte.c:187: error: YAMLBYTE_SEQUENCE' undeclared (first use in this function) yaml2byte.c:194: error:
YAMLBYTE_END_BRANCH’ undeclared (first use in
this function)
yaml2byte.c:197: error: YAMLBYTE_MAPPING' undeclared (first use in this function) make[1]: *** [yaml2byte.o] Error 1 make[1]: Leaving directory
/usr/local/src/ruby-1.8.1/ext/syck’
make: *** [all] Error 1
I see an include for yamlbyte.h in yaml2byte.c. Is this a dynamically
generated file of some sort? Because I don’t see it.
/usr/local/src/ruby-1.8.1/config.h:16:1: warning: "_FILE_OFFSET_BITS"
redefined
Wasn’t a patch submitted to fix this warning already? I seem to
remember it being submitted on the core list.
Regards,
Dan