From bug-octave-request Mon Jun 14 00:13:18 1993 Subject: batch mode From: deleeuw at laplace dot sscnet dot ucla dot edu (Jan Deleeuw) To: bug-octave Date: Sun, 13 Jun 1993 22:12:30 -0700 (PDT) laplace is a Sun Sparc 2, with SunOS 4.1.3. It uses f2c (not f77), gcc, g++, gld, gas. At the final link, when it is building octave 0.72, it says xstopx.o(.text+b0): undefined reference to `do_stop__' and indeed nm tells me that xstopx.o contains 00000000 t ___gnu_compiled_c U _abort 00000000 T _do_stop_ U _getpid U _kill 00000000 t gcc2_compiled. So I give do_stop in do_stop.c an extra underbar at the end, which now gives (laplace) nm do_stop.o 00000000 t ___gnu_compiled_c U _abort 00000000 T _do_stop__ U _getpid U _kill 00000000 t gcc2_compiled. and it links allright.