Re: Error compiling new hugs

"Sigbjorn Finne" <[email protected]>
Newsgroups gmane.comp.lang.haskell.hugs.bugs
Message-ID <068701c3b37a$539d5df0$1e32a8c0@sofxp>
I'm assuming that you ran the configure script with --enable-timer
(and really depend on that interpreter benchmarking feature.)

If so, try adding

#if WANT_TIMER
#include "timer.c"
#endif

somewhere after the #includes in runhugs.c

--sigbjorn

----- Original Message ----- 
From: "Josef Svenningsson" <[email protected]>
To: <[email protected]>
Sent: Tuesday, November 25, 2003 09:11
Subject: Error compiling new hugs


> Hi,
>
> Just downloaded the latest hugs release. I got the following error while
> make'ing:
>
> [lots of gcc'ing]
> gcc -c -g  -O2 server.c
> gcc  runhugs.o server.o builtin.o compiler.o errors.o evaluator.o ffi.o
> goal.o input.o machdep.o machine.o module.o opts.o output.o plugin.o
> script.o static.o storage.o strutil.o subst.o type.o version.o  -lreadline
> -lncurses -lm   -o runhugs
> evaluator.o: In function `evaluator':
> /users/cs/josefs/multi/home/src/hugs/hugs98-Nov2003/src/evaluator.c:96:
> undefined reference to `updateTimers'
> collect2: ld returned 1 exit status
> make: *** [runhugs] Error 1
>
> > uname -a
> SunOS 5.7 Generic_106541-16 sun4u sparc SUNW,Ultra-5_10
> > gcc -v
> gcc version 2.95.3 20010315 (release)
>
> Just tell if you need any more info to track down the problem.
>
> /Josef
> _______________________________________________
> Hugs-Bugs mailing list
> [email protected]
> http://www.haskell.org/mailman/listinfo/hugs-bugs
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.