[nhc-users] failure to compile on mips-sgi6.5
William S.
wstan at xs4all.nl
Thu Dec 11 20:55:27 EST 2003
I tried to compile according to the install directions.
Here is the output. Is there anything I can do to make it past
this point?
Thank you.
------------begin insert-----------
wstan at octane % ./configure --pt refix=/usr/NHC98
Configuring for nhc98... [ v1.16 (2003-03-08) ]
--------
Looking for already-installed Haskell compilers:
Looking for hbc... (not found)
Note: LMLDIR/HBCDIR variables must be set to enable detection of hbc.
Looking for ghc... (not found)
Looking for nhc98... (not found)
I am guessing that you want to use gcc to build hmake.
Now I'm creating targets/mips-IRIX6/hmake3.config for your installation.
Done.
--------
Configuration report for nhc98.
(You can re-run configure to change settings before proceeding.)
You wish (eventually) to install the following components in these locations:
(Installation directories are not created/checked at this stage.)
Final install root: /usr/NHC98
nhc98 binaries/libs: /usr/NHC98/lib/nhc98/mips-IRIX6
hmake binaries: /usr/NHC98/lib/hmake/mips-IRIX6
Interfaces/includes: /usr/NHC98/include/nhc98
Scripts: /usr/NHC98/bin
Man pages: /usr/NHC98/man/man1
Html documents: (none)
Now we check/create your build directories:
Config directory: targets/mips-IRIX6
Build directory root:
/usr/people/wstan/nhc98-1.16/targets (exists)
Object files build in:
/usr/people/wstan/nhc98-1.16/targets/mips-IRIX6 (exists)
Executables and libs:
/usr/people/wstan/nhc98-1.16/lib/mips-IRIX6 (created)
I am guessing you will build nhc98 with: gcc
nhc98comp uses RTS delimiters? yes
This machine's endian-ness is: -DHIGH_BYTE_FIRST (detected)
Executables need .exe suffix? no (detected)
Testing for the curses library: -lcurses (detected)
Testing for the readline library: no (detected)
Reading /usr/include/errno.h: updated DErrNo.hs
Default heap for compiled programs is: 100000 words (cached)
Adding Makefile config script to
/usr/people/wstan/nhc98-1.16/lib/mips-IRIX6...
Cannot open targets/mips-IRIX6/ghcsym: No such file or directory
Adding build scripts to
/usr/people/wstan/nhc98-1.16/script...
nhc98 hmake hmake-config hi greencard
Creating src/runtime/nhc98heap.c ...
Updating targets/mips-IRIX6/hmake3.config...
Saving current configuration in targets/mips-IRIX6/config.cache
Done.
wstan at octane % gmake
cd src/runtime; gmake install nhc98heap
gmake[1]: Entering directory `/usr/people/wstan/nhc98-1.16/src/runtime'
mkdir -p /usr/people/wstan/nhc98-1.16/targets/mips-IRIX6/obj/runtime
mkdir -p /usr/people/wstan/nhc98-1.16/targets/mips-IRIX6/obj/runtime/Kernel || /bin/true
mkdir -p /usr/people/wstan/nhc98-1.16/targets/mips-IRIX6/obj/runtime/Mk || /bin/true
mkdir -p /usr/people/wstan/nhc98-1.16/targets/mips-IRIX6/obj/runtime/Builtin || /bin/true
mkdir -p /usr/people/wstan/nhc98-1.16/targets/mips-IRIX6/obj/runtime/Integer || /bin/true
cd Kernel; gmake all
gmake[2]: Entering directory `/usr/people/wstan/nhc98-1.16/src/runtime/Kernel'
gcc -c -DHIGH_BYTE_FIRST -O3 -I/usr/people/wstan/nhc98-1.16/include -DVERSION="\"1.16\"" -o /usr/people/wstan/nhc98-1.16/targets/mips-IRIX6/obj/runtime/Kernel/mutator.o mutator.c
In file included from mark.h:10,
from mutator.c:13:
/usr/include/stdint.h:5:2: #error This header file is to be used only for c99 mode compilations
gmake[2]: *** [/usr/people/wstan/nhc98-1.16/targets/mips-IRIX6/obj/runtime/Kernel/mutator.o] Error 1
gmake[2]: Leaving directory `/usr/people/wstan/nhc98-1.16/src/runtime/Kernel'
gmake[1]: *** [ofiles] Error 2
gmake[1]: Leaving directory `/usr/people/wstan/nhc98-1.16/src/runtime'
gmake: *** [targets/mips-IRIX6/runtime] Error 2
------------end insert-----------
--
Bill
Amsterdam, NL
More information about the Nhc-users
mailing list