Error compiling new hugs

Josef Svenningsson josefs at cs.chalmers.se
Wed Nov 26 12:27:27 EST 2003


On Tue, 25 Nov 2003, Sigbjorn Finne wrote:

> I'm assuming that you ran the configure script with --enable-timer
> (and really depend on that interpreter benchmarking feature.)
>
Correct.

> If so, try adding
>
> #if WANT_TIMER
> #include "timer.c"
> #endif
>
> somewhere after the #includes in runhugs.c
>
Yep, that solved the problem. Thanks alot for the quick reply!

However, I get another problem now:

[lots of stuff omitted]
Compiling ../../hugsdir/libraries/Network/BSD.hs
runhugs: Error occurred
ERROR "../../hugsdir/libraries/Network/BSD.hs" - Error while importing DLL
"/users/cs/group_multi/home/src/hugs/hugs98-Nov2003/hugsdir/libraries/Network/BSD.so":
ld.so.1: ../ffihugs: fatal: relocation error: file
/users/cs/group_multi/home/src/hugs/hugs98-Nov2003/hugsdir/libraries/Network/BSD.so:
symbol endnetent: referenced symbol not found


And it goes on like this saying that some symbol was missing in a dynamic
library. What to do?

	/Josef


More information about the Hugs-Bugs mailing list