Re: Error compiling new hugs

Josef Svenningsson <[email protected]>
Newsgroups gmane.comp.lang.haskell.hugs.bugs
Message-ID <[email protected]>
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
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.