> ...
> Then I made this change to storage.c
> 
> diff -c -r1.42 storage.c
> *** storage.c   1998/01/26 04:13:30     1.42
> --- storage.c   1998/06/28 01:58:53
> ***************
> *** 1771,1776 ****
> --- 1771,1778 ----
>       jmp_buf  regs;                      /* save registers on stack         */
>       setjmp(regs);
>   
> +     _flush_user_windows();               /* no really, save those registers */
> + 
>       gcStarted();
>       topos = 0;                          /* clear to-space in flat resource */
>       for (i=0; i<marksSize; ++i)         /* initialise mark set to empty    */
> 
> (and added -lthread to LIBS in the Makefile)
> 
> and the problem seemed to go away.

Many thanks for investigating the error immediately!! Unfortunately,
my system does not know `_flush_user_windows'. 

jod 17> make install
gcc -c -g -O2   storage.c
gcc  hugs.o storage.o input.o static.o type.o compiler.o plugin.o builtin.o machine.o 
output.o  -lm -ldl -lthread -o hugs 
Undefined                       first referenced
 symbol                             in file
_flush_user_windows                 storage.o
ld: fatal: Symbol referencing errors. No output written to hugs
make: *** [hugs] Error 1
jod 18> uname -a
SunOS jod 5.6 Generic sun4u sparc SUNW,Ultra-1

I also searched the manual page of libthread: _flush_user_windows is not
mentioned there.

Any suggestions? Ralf

Reply via email to