Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Jul 2004 11:13:41 -0700
From:      Sean McNeil <sean@mcneil.com>
To:        knu@FreeBSD.org, freebsd-ports@freebsd.org
Subject:   ruby18 not compiling on -CURRENT
Message-ID:  <1089742421.1220.0.camel@server.mcneil.com>

next in thread | raw e-mail | index | archive | help
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.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1089742421.1220.0.camel>