ruby18 not compiling on -CURRENT

Sean McNeil sean at mcneil.com
Tue Jul 13 11:13:46 PDT 2004


Here is the error I get on my amd64 box running -CURRENT:

cc -O -pipe   -fPIC -I. -I. -c array.c
In file included from missing.h:133,
                 from ruby.h:670,
                 from main.c:13:
/usr/include/varargs.h:34:2: #error "<varargs.h> is obsolete with this
version of GCC."
/usr/include/varargs.h:35:2: #error "Change your code to use <stdarg.h>
instead."
In file included from ruby.h:670,
                 from main.c:13:
missing.h:135: warning: conflicting types for built-in function
`snprintf'
*** Error code 1
In file included from missing.h:133,
                 from ruby.h:670,
                 from array.c:15:
/usr/include/varargs.h:34:2: #error "<varargs.h> is obsolete with this
version of GCC."
/usr/include/varargs.h:35:2: #error "Change your code to use <stdarg.h>
instead."
In file included from ruby.h:670,
                 from array.c:15:
missing.h:135: warning: conflicting types for built-in function
`snprintf'
array.c: In function `rb_ary_new3':
array.c:160: error: syntax error before "va_dcl"
array.c:167: error: syntax error before "ary"
array.c:182: error: declaration for parameter `elts' but no such
parameter
array.c:165: error: declaration for parameter `i' but no such parameter
array.c:164: error: declaration for parameter `ary' but no such
parameter
array.c:184: warning: declaration of `ary' shadows a parameter
*** Error code 1
2 errors
*** Error code 2

Stop in /usr/ports/lang/ruby18.
** Command failed [exit code 1]: /usr/bin/script -qa
/tmp/portupgrade37339.95 make
** Fix the problem and try again.




More information about the freebsd-ports mailing list