interpret_protos.h not autogenerated whith --with-machine-code
Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=2766
Reported by Mikael Brandström mikael@brandstrom.org
When compiling pike (7.3.14 recently checked out from cvs) using top level makefile with the option --with-machine-code compilation fails with the following output:
Compiling /opt/shared/cvs_exports/cvs.roxen.com/Pike/7.3/src/language.c
In file included from language.yacc:134:
/opt/shared/cvs_exports/cvs.roxen.com/Pike/7.3/src/opcodes.h:60:
interpret_protos.h: No such file or directory
language.yacc: In function `yyparse':
language.yacc:567: `F_RETURN' undeclared (first use in this function)
language.yacc:567: (Each undeclared identifier is reported only once
language.yacc:567: for each function it appears in.)
language.yacc:857: `F_POP_VALUE' undeclared (first use in this function)
language.yacc:1340: `F_CONSTANT' undeclared (first use in this function)
language.yacc:1553: `F_ASSIGN' undeclared (first use in this function)
language.yacc:2679: `F_FOREACH' undeclared (first use in this function)
language.yacc:2782: `F_SWITCH' undeclared (first use in this function)
language.yacc:2861: `F_PUSH_ARRAY' undeclared (first use in this function)
language.yacc:2867: `F_ARRAY_LVALUE' undeclared (first use in this function)
language.yacc:2925: `F_LOR' undeclared (first use in this function)
language.yacc:2926: `F_LAND' undeclared (first use in this function)
language.yacc:2974: `F_INC' undeclared (first use in this function)
language.yacc:2975: `F_DEC' undeclared (first use in this function)
language.yacc:2982: `F_POST_INC' undeclared (first use in this function)
language.yacc:2983: `F_POST_DEC' undeclared (first use in this function)
language.yacc:3108: `F_INDEX' undeclared (first use in this function)
language.yacc:3111: `F_RANGE' undeclared (first use in this function)
language.yacc:3156: `F_ARROW' undeclared (first use in this function)
language.yacc:3202: `F_UNDEFINED' undeclared (first use in this function)
language.yacc:3365: `F_MAGIC_INDEX' undeclared (first use in this function)
language.yacc:3369: `F_MAGIC_SET_INDEX' undeclared (first use in this function)
language.yacc:3372: `F_MAGIC_INDICES' undeclared (first use in this function)
language.yacc:3375: `F_MAGIC_VALUES' undeclared (first use in this function)
language.yacc:3535: `F_CATCH' undeclared (first use in this function)
language.yacc:3542: `F_SSCANF' undeclared (first use in this function)
WARNING: Compiler failure! Trying without optimization!
/opt/shared/cvs_exports/cvs.roxen.com/Pike/7.3/build/linux-2.4.17-i686/smartlink
gcc -I. -I/opt/shared/cvs_exports/cvs.roxen.com/Pike/7.3/src
-I/usr/local/inclu
de -I/usr/X11R6/include
-I/opt/shared/cvs_exports/cvs.roxen.com/Pike/7.3/src -I/
opt/shared/cvs_exports/cvs.roxen.com/Pike/7.3/build/linux-2.4.17-i686 -g
-mcpu=i
686 -I/usr/local/include -I/usr/X11R6/include
-I/opt/shared/cvs_exports/cvs.rox
en.com/Pike/7.3/src
-I/opt/shared/cvs_exports/cvs.roxen.com/Pike/7.3/build/linux
-2.4.17-i686 -W -Wall -Wno-unused -Wcomment -Wformat
-Wimplicit-function-declar
ation -Wmultichar -Wswitch -Wuninitialized -Wpointer-arith
-Wchar-subscripts -Wn
o-long-long -c
/opt/shared/cvs_exports/cvs.roxen.com/Pike/7.3/src/language.c -o
language.o
In file included from language.yacc:134:
/opt/shared/cvs_exports/cvs.roxen.com/Pike/7.3/src/opcodes.h:60:
interpret_proto
s.h: No such file or directory
make[3]: *** [language.o] Error 1
make[3]: Leaving directory
`/opt/shared/cvs_exports/cvs.roxen.com/Pike/7.3/build
/linux-2.4.17-i686'
make[2]: ***
[/opt/shared/cvs_exports/cvs.roxen.com/Pike/7.3/build/linux-2.4.17-
i686/tpike] Error 2
make[2]: Leaving directory
`/opt/shared/cvs_exports/cvs.roxen.com/Pike/7.3/build
/linux-2.4.17-i686'
make[1]: *** [configure] Error 2
There are no rules Makefile.in to create interpret_protos.h as far as I can see.