MSYS build - stage 2 problem

Gour gour at mail.inet.hr
Thu Feb 19 13:54:45 EST 2004


Simon Marlow (simonmar at microsoft.com) wrote:

> This symbol is supposed to be defined in RtsStartup.c.  It is inside
> #ifdef HAVE_TERMIOS_H, and so is the reference from Linker.c.  Do you
> HAVE_TERMIOS_H or not?

The only relevant reference(s) for HAVE_TERMIOS_H are in mk/config.h(in):

/* Define to 1 if you have the <termios.h> header file. */
/* #undef HAVE_TERMIOS_H */

Should I comment out this line?

Of course, there is no termios.h on my Win98 system.

It looks like HAVE_TERMIOS_H is not defined anywhere, so I wonder how it is
included in the build process?

Here is the result of looking for HAVE_TERMIOS_H occurences in ghc build tree:

file:/home/gour/win/ghc/ghc-6.2/libraries/base/include/HsBase.h
file:/home/gour/win/ghc/ghc-6.2/hslibs/posix/cbits/HsPosix.h
file:/home/gour/win/ghc/ghc-6.2/libraries/unix/include/HsUnix.h
file:/home/gour/win/ghc/ghc-6.2/ghc/rts/RtsStartup.c
file:/home/gour/win/ghc/ghc-6.2/aclocal.m4
file:/home/gour/win/ghc/ghc-6.2/ghc/includes/config.h
file:/home/gour/win/ghc/ghc-6.2/mk/config.h
file:/home/gour/win/ghc/ghc-6.2/mk/config.h.in
file:/home/gour/win/ghc/ghc-6.2/configure
file:/home/gour/win/ghc/ghc-6.2/configure.org


Any idea?

Sincerely,
Gour

-- 
Gour
gour at mail.inet.hr
Registered Linux User #278493



More information about the Cvs-ghc mailing list