I did try it and had problems again as I said in my other post.
I suspect bison might be the culprit - it seems I cannot find the required version (I can only find 1.25).
Well, I had exactly this problem the other day, and when I changed parse.y, and then changed it back, everything worked, and Peter said that it was the fault of an out-of-date file that now bison was forced to recompile (or something like that).
Try 'touch'ing parse.c and parse.y, so that the two of them both get recompiled. Maybe that will help.
I did do that, and it seems that the compilation is proceeding now....
It did proceed further, but it failed with a different error now:
This is the output.
make[1]: Entering directory `/export/home/local/src/GNU/gcc-2.8.1/p/rts' echo 'VARLIST="PROG1"' > gnuvers.conf echo 'PROG1='2.8 >> gnuvers.conf sh /export/home/local/src/GNU/gcc-2.8.1/p/rts/gnuvers.sh gnuvers.conf /export/ho me/local/src/GNU/gcc-2.8.1/p/rts/rts-version.in rm -f gnuvers.conf mv version.c rts-version.c ../../xgcc -B../../ -c -DGPC -Wall -Wpointer-arith -Wmissing-prototypes -Wmissi ng-declarations -g -I. -I../.. -I/export/home/local/src/GNU/gcc-2.8.1/p/rts/.. /.. -I/export/home/local/src/GNU/gcc-2.8.1/p/rts/../../config rts-version.c ../../xgcc -B../../ -c -DGPC -Wall -Wpointer-arith -Wmissing-prototypes -Wmissi ng-declarations -g -I. -I../.. -I/export/home/local/src/GNU/gcc-2.8.1/p/rts/.. /.. -I/export/home/local/src/GNU/gcc-2.8.1/p/rts/../../config rts-write.c rts-write.c:69: warning: no previous prototype for `_p_write' ../../xgcc -B../../ -c -DGPC -Wall -Wpointer-arith -Wmissing-prototypes -Wmissi ng-declarations -g -I. -I../.. -I/export/home/local/src/GNU/gcc-2.8.1/p/rts/.. /.. -I/export/home/local/src/GNU/gcc-2.8.1/p/rts/../../config rts-read.c rts-read.c:69: warning: no previous prototype for `_p_read' rts-read.c:152: warning: `_p_GetByt' was used with no prototype before its defin ition ../../xgcc -B../../ -c -DGPC -Wall -Wpointer-arith -Wmissing-prototypes -Wmissi ng-declarations -g -I. -I../.. -I/export/home/local/src/GNU/gcc-2.8.1/p/rts/.. /.. -I/export/home/local/src/GNU/gcc-2.8.1/p/rts/../../config rts-block.c rts-block.c:33: warning: no previous prototype for `_p_blockread' rts-block.c:67: warning: no previous prototype for `_p_blockwrite' ../../xgcc -B../../ -c -DGPC -Wall -Wpointer-arith -Wmissing-prototypes -Wmissi ng-declarations -g -I. -I../.. -I/export/home/local/src/GNU/gcc-2.8.1/p/rts/.. /.. -I/export/home/local/src/GNU/gcc-2.8.1/p/rts/../../config rts-file.c ../../xgcc -B../../ -c -DGPC -Wall -Wpointer-arith -Wmissing-prototypes -Wmissi ng-declarations -g -I. -I../.. -I/export/home/local/src/GNU/gcc-2.8.1/p/rts/.. /.. -I/export/home/local/src/GNU/gcc-2.8.1/p/rts/../../config rts-random.c rts-random.c:85: warning: no previous prototype for `_p_truncate' rts-random.c: In function `_p_seekall': rts-random.c:143: warning: suggest explicit braces to avoid ambiguous `else' ../../xgcc -B../../ -c -DGPC -Wall -Wpointer-arith -Wmissing-prototypes -Wmissi ng-declarations -g -I. -I../.. -I/export/home/local/src/GNU/gcc-2.8.1/p/rts/.. /.. -I/export/home/local/src/GNU/gcc-2.8.1/p/rts/../../config rts-heap.c ../../xgcc -B../../ -c -DGPC -Wall -Wpointer-arith -Wmissing-prototypes -Wmissi ng-declarations -g -I. -I../.. -I/export/home/local/src/GNU/gcc-2.8.1/p/rts/.. /.. -I/export/home/local/src/GNU/gcc-2.8.1/p/rts/../../config rts-setup.c rts-setup.c:28: warning: no previous prototype for `_p_setup' rts-setup.c:33: warning: no previous prototype for `_p_final' ../../xgcc -B../../ -c -DGPC -Wall -Wpointer-arith -Wmissing-prototypes -Wmissing-declarations -g -I. -I../.. -I/export/home/local/src/GNU/gcc-2.8.1/p/rts/.. /.. -I/export/home/local/src/GNU/gcc-2.8.1/p/rts/../../config rts-rt0.c rts-rt0.c: In function `_p_initialize': rts-rt0.c:216: warning: implicit declaration of function `index' rts-rt0.c:241: warning: implicit declaration of function `setlinebuf' rts-rt0.c: In function `_p_makename': rts-rt0.c:402: warning: int format, pid_t arg (arg 4) ../../xgcc -B../../ -c -DGPC -Wall -Wpointer-arith -Wmissing-prototypes -Wmissi ng-declarations -g -I. -I../.. -I/export/home/local/src/GNU/gcc-2.8.1/p/rts/.. /.. -I/export/home/local/src/GNU/gcc-2.8.1/p/rts/../../config choose-temp.c choose-temp.c: In function `try': choose-temp.c:88: warning: implicit declaration of function `access' choose-temp.c: At top level: choose-temp.c:100: warning: no previous prototype for `choose_temp_base' choose-temp.c: In function `choose_temp_base': choose-temp.c:108: warning: implicit declaration of function `getenv' choose-temp.c:129: warning: implicit declaration of function `malloc' choose-temp.c:144: warning: implicit declaration of function `mktemp' ../../xgcc -B../../ -c -DGPC -Wall -Wpointer-arith -Wmissing-prototypes -Wmissi ng-declarations -g -I. -I../.. -I/export/home/local/src/GNU/gcc-2.8.1/p/rts/.. /.. -I/export/home/local/src/GNU/gcc-2.8.1/p/rts/../../config rts-error.c rts-error.c:171: warning: no previous prototype for `malloc_warning' rts-error.c:257: warning: no previous prototype for `_p_error' ../../xgcc -B../../ -c -DGPC -Wall -Wpointer-arith -Wmissing-prototypes -Wmissing-declarations -g -I. -I../.. -I/export/home/local/src/GNU/gcc-2.8.1/p/rts/.. /.. -I/export/home/local/src/GNU/gcc-2.8.1/p/rts/../../config rts-times.c ../../xgcc -B../../ -c -DGPC -Wall -Wpointer-arith -Wmissing-prototypes -Wmissi ng-declarations -g -I. -I../.. -I/export/home/local/src/GNU/gcc-2.8.1/p/rts/.. /.. -I/export/home/local/src/GNU/gcc-2.8.1/p/rts/../../config rts-misc.c rts-misc.c:89: warning: no previous prototype for `_p_collect' ../../xgcc -B../../ -c -DGPC -Wall -Wpointer-arith -Wmissing-prototypes -Wmissi ng-declarations -g -I. -I../.. -I/export/home/local/src/GNU/gcc-2.8.1/p/rts/.. /.. -I/export/home/local/src/GNU/gcc-2.8.1/p/rts/../../config rts-set.c ../../xgcc -B../../ -c -DGPC -Wall -Wpointer-arith -Wmissing-prototypes -Wmissi ng-declarations -g -I. -I../.. -I/export/home/local/src/GNU/gcc-2.8.1/p/rts/.. /.. -I/export/home/local/src/GNU/gcc-2.8.1/p/rts/../../config rts-string.c rts-string.c:193: warning: no previous prototype for `_p_string' rts-string.c:396: warning: no previous prototype for `_p_writestr' rts-wrtinc.c: In function `_p_writestr': In file included from rts-string.c:450: rts-wrtinc.c:78: warning: implicit declaration of function `bcopy' rts-string.c: At top level: rts-string.c:509: warning: no previous prototype for `_p_readstr' rts-string.c:614: warning: no previous prototype for `_p_val_byteint_check' rts-string.c:615: warning: no previous prototype for `_p_val_shortint_check' rts-string.c:616: warning: no previous prototype for `_p_val_integer_check' rts-string.c:617: warning: no previous prototype for `_p_val_medint_check' rts-string.c:618: warning: no previous prototype for `_p_val_longint_check' rts-string.c:619: warning: no previous prototype for `_p_val_bytecard_check' rts-string.c:620: warning: no previous prototype for `_p_val_shortcard_check' rts-string.c:621: warning: no previous prototype for `_p_val_cardinal_check' rts-string.c:622: warning: no previous prototype for `_p_val_medcard_check' rts-string.c:623: warning: no previous prototype for `_p_val_longcard_check' rts-string.c:624: warning: no previous prototype for `_p_val_byteint_nocheck' rts-string.c:625: warning: no previous prototype for `_p_val_shortint_nocheck' rts-string.c:626: warning: no previous prototype for `_p_val_integer_nocheck' rts-string.c:627: warning: no previous prototype for `_p_val_medint_nocheck' rts-string.c:628: warning: no previous prototype for `_p_val_longint_nocheck' rts-string.c:629: warning: no previous prototype for `_p_val_bytecard_nocheck' rts-string.c:630: warning: no previous prototype for `_p_val_shortcard_nocheck' rts-string.c:631: warning: no previous prototype for `_p_val_cardinal_nocheck' rts-string.c:632: warning: no previous prototype for `_p_val_medcard_nocheck' rts-string.c:633: warning: no previous prototype for `_p_val_longcard_nocheck' rts-string.c:662: warning: no previous prototype for `_p_val_shortreal' rts-string.c:663: warning: no previous prototype for `_p_val_real' rts-string.c:664: warning: no previous prototype for `_p_val_longreal' ../../xgcc -B../../ -c -DGPC -Wall -Wpointer-arith -Wmissing-prototypes -Wmissi ng-declarations -g -I. -I../.. -I/export/home/local/src/GNU/gcc-2.8.1/p/rts/.. /.. -I/export/home/local/src/GNU/gcc-2.8.1/p/rts/../../config rts-bind.c rts-bind.c: In function `_p_bind': rts-bind.c:212: warning: implicit declaration of function `rindex' rts-bind.c:212: warning: assignment makes pointer from integer without a cast rts-bind.c:247: warning: implicit declaration of function `bcopy' ../../xgpc -B../../ --automake -c -DGPC -Wall -Wpointer-arith -Wmissing-prototy pes -Wmissing-declarations -g -I. -I../.. -I/export/home/local/src/GNU/gcc-2.8 .1/p/rts/../.. -I/export/home/local/src/GNU/gcc-2.8.1/p/rts/../../config rts-bas e.p rts-base.p:28: warning: missing program header rts-base.p:28: no exported interface matching `Rts_base' rts-base.p:30: parse error before `Interface' rts-base.p:34: no exported interface matching `Interface' rts-base.p:34: warning: missing comma rts-base.p:34: parse error before `Const' rts-base.p:36: no exported interface matching `Bits_big_endian' rts-base.p:36: warning: missing comma rts-base.p:36: parse error before `=' rts-base.p:39: no exported interface matching `True' rts-base.p:39: warning: missing comma rts-base.p:41: parse error before `Bytes_big_endian' rts-base.p:41: no exported interface matching `Bytes_big_endian' rts-base.p:41: warning: missing comma rts-base.p:41: parse error before `=' rts-base.p:44: no exported interface matching `True' rts-base.p:44: warning: missing comma rts-base.p:46: parse error before `Words_big_endian' rts-base.p:46: no exported interface matching `Words_big_endian' rts-base.p:46: warning: missing comma rts-base.p:46: parse error before `=' rts-base.p:49: no exported interface matching `True' rts-base.p:49: warning: missing comma rts-base.p:51: parse error before `Need_word_alignment' rts-base.p:51: no exported interface matching `Need_word_alignment' rts-base.p:51: warning: missing comma rts-base.p:51: parse error before `=' rts-base.p:52: no exported interface matching `False' rts-base.p:52: warning: missing comma rts-base.p:54: parse error before `Implementation' rts-base.p:56: no exported interface matching `Implementation' rts-base.p:56: warning: missing comma rts-base.p:56: parse error before `End' make[1]: *** [rts-base.o] Error 1 make[1]: Leaving directory `/export/home/local/src/GNU/gcc-2.8.1/p/rts' make: *** [libgpc.a] Error 2
Regards,
Clyde Meli
I did do that, and it seems that the compilation is proceeding now....
It did proceed further, but it failed with a different error now:
Well, the other thing Peter suggested to me was this:
in version.c, make this change:
char *version_string = "2.8.0"
or 2.8.1, depending on what you're using. This took away all my problems with the rts files. Of course, bear in mind that I don't actually know what's going on, and these are just a couple things that kludged my system into working.
| clavicle@niagara.com "The LORD is my strength and my | www.niagara.com/~clavicle song; he has become my salvation." | Exodus 15:2b