That define should be in the autogenerated file src/case_info.h, so my guess is that it has become corrupt. It should exist in a source dist. Check if the makefile has tried to generate it, and how that went.
/ Martin Stjernholm, Roxen IS
Previous text:
2003-08-27 02:38: Subject: Compile-error CASE_INFO_SHIFT0_HIGH
when trying to compile the released 7.4.20 pike source on a mandrake system, i get the following error:
system info: Mandrake Linux release 9.0 (dolphin) for i586 gcc version 3.2 (Mandrake Linux 9.0 3.2-1mdk) libc.so.6 -> libc-2.2.5.so libpthread.so.0 -> libpthread-0.9.so
make output: (sorry for the german errormessages)
Compiling /opt/pike-7.4/pike.src/Pike-v7.4.20/src/builtin_functions.c /opt/pike-7.4/pike.src/Pike-v7.4.20/src/builtin_functions.c: In function `find_ci_shift0': /opt/pike-7.4/pike.src/Pike-v7.4.20/src/builtin_functions.c:287: `CASE_INFO_SHIFT0_HIGH' undeclared (first use in this function) /opt/pike-7.4/pike.src/Pike-v7.4.20/src/builtin_functions.c:287: (Each undeclared identifier is reported only once /opt/pike-7.4/pike.src/Pike-v7.4.20/src/builtin_functions.c:287: for each function it appears in.) WARNING: Compiler failure! Trying without optimization! cc1: warning: -Wuninitialized is not supported without -O /opt/pike-7.4/pike.src/Pike-v7.4.20/src/builtin_functions.c: In function `find_ci_shift0': /opt/pike-7.4/pike.src/Pike-v7.4.20/src/builtin_functions.c:287: `CASE_INFO_SHIFT0_HIGH' undeclared (first use in this function) /opt/pike-7.4/pike.src/Pike-v7.4.20/src/builtin_functions.c:287: (Each undeclared identifier is reported only once /opt/pike-7.4/pike.src/Pike-v7.4.20/src/builtin_functions.c:287: for each function it appears in.) Compilation command was: /opt/pike-7.4/pike.src/Pike-v7.4.20/build/linux-2.4.19-16mdk-i686/smartlink gcc -DPIKE_SRC_ROOT=/opt/pike-7.4/pike.src/Pike-v7.4.20 -I. -I/opt/pike-7.4/pike.src/Pike-v7.4.20/src -I/usr/X11R6/include -g -mcpu=i686 -I/usr/X11R6/include -W -Wall -Wno-unused -Wcomment -Wformat -Wimplicit-function-declaration -Wmultichar -Wswitch -Wuninitialized -Wpointer-arith -Wchar-subscripts -Wno-long-long -c /opt/pike-7.4/pike.src/Pike-v7.4.20/src/builtin_functions.c -o builtin_functions.o make[3]: *** [builtin_functions.o] Fehler 1 make[3]: Verlassen des Verzeichnisses Verzeichnis =BB/opt/pike-7.4/pike.src/Pike-v7.4.20/build/linux-2.4.19-16mdk-i686=AB make[2]: *** [pike] Fehler 2 make[2]: Verlassen des Verzeichnisses Verzeichnis =BB/opt/pike-7.4/pike.src/Pike-v7.4.20/build/linux-2.4.19-16mdk-i686=AB make[1]: *** [all] Fehler 2 make[1]: Verlassen des Verzeichnisses Verzeichnis =BB/opt/pike-7.4/pike.src/Pike-v7.4.20/build/linux-2.4.19-16mdk-i686=AB make: *** [compile] Fehler 2
greetings, martin.
Pike Conference 2003 - Sep 25-27 - http://pike.ida.liu.se/conferences/2003/
/ Brevbäraren