I'm trying to build 1.8.1p3 on a Debian stable system (with some
limited upgrades to testing). I get the following errors and warnings
when I make:
ntalbott@proxytest:~/cvs/external-packages/cl-ruby/cl-ruby-1.8.1-
preview3$ make
gcc -g -O2 -I. -I. -c array.c
gcc -g -O2 -I. -I. -c bignum.c
gcc -g -O2 -I. -I. -c class.c
gcc -g -O2 -I. -I. -c compar.c
gcc -g -O2 -I. -I. -c dir.c
gcc -g -O2 -I. -I. -c dln.c
gcc -g -O2 -I. -I. -c enum.c
gcc -g -O2 -I. -I. -c error.c
gcc -g -O2 -I. -I. -c eval.c
In file included from /usr/include/asm/sigcontext.h:4,
from /usr/include/bits/sigcontext.h:28,
from /usr/include/signal.h:326,
from eval.c:93:
/usr/include/linux/compiler.h:17: warning: `__attribute_used__'
redefined
/usr/include/sys/cdefs.h:195: warning: this is the location of the
previous definition
gcc -g -O2 -I. -I. -c file.c
gcc -g -O2 -I. -I. -c gc.c
gcc -g -O2 -I. -I. -c hash.c
gcc -g -O2 -I. -I. -c inits.c
gcc -g -O2 -I. -I. -c io.c
gcc -g -O2 -I. -I. -c marshal.c
gcc -g -O2 -I. -I. -c math.c
gcc -g -O2 -I. -I. -c numeric.c
gcc -g -O2 -I. -I. -c object.c
gcc -g -O2 -I. -I. -c pack.c
gcc -g -O2 -I. -I. -c parse.c
/usr/share/bison/bison.simple: In function `ruby_yyparse':
/usr/share/bison/bison.simple:562: `YYFLAG' undeclared (first use in
this function)
/usr/share/bison/bison.simple:562: (Each undeclared identifier is
reported only once
/usr/share/bison/bison.simple:562: for each function it appears in.)
parse.c:6865: `YYNTBASE' undeclared (first use in this function)
make: *** [parse.o] Error 1
I get the warning regarding __attribute_used__ when compiling
1.8.1preview2, but it does not have the error about YYFLAG and YYNTBASE
(and compiles and runs fine).
Any ideas?
Nathaniel
<:((><