install SML/NJ 110.0.7 in Ubuntu

View: New views
5 Messages — Rating Filter:   Alert me  

install SML/NJ 110.0.7 in Ubuntu

by kentri9 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

I am trying to install SML/NJ 110.0.7 (the current release version) in
Ubuntu 9.0.4. The cpu is AMD Athlon XP 2000+.

When I run install.sh, it yields the below error messages.
I assume that I should edit src/runtime/objs/mk.x86-linux, but
I do not know what I should change.

Any help is appreciated.


####################
$ config/install.sh
SML root is /home/kemu/Desktop/janus_110_2
installing version 110
creating /home/kemu/Desktop/janus_110_2/bin
creating /home/kemu/Desktop/janus_110_2/bin/.heap
creating /home/kemu/Desktop/janus_110_2/bin/.run
creating /home/kemu/Desktop/janus_110_2/lib
creating /home/kemu/Desktop/janus_110_2/src
/home/kemu/Desktop/janus_110_2/bin/.arch-n-opsys reports ARCH=x86; OPSYS=linux; HEAP_SUFFIX=x86-linux
unpacking run-time source files
compiling the run-time system
(make RUNTIME="run.x86-linux" VERSION="v-x86-linux" CC="gcc -ansi" CFLAGS="-O2" CPP="gcc -x c -E -P -ansi" TARGET=X86 DEFS="  -DHOST_X86 -DTARGET_X86 -DOPSYS_UNIX -DOPSYS_LINUX -D_POSIX_SOURCE -D_BSD_SOURCE -DVREGS -DCALLEESAVE=3" XOBJS="" XLIBS="" LD_LIBS="" run.x86-linux)
make[1]: Entering directory `/home/kemu/Desktop/janus_110_2/src/runtime/objs'
(make MAKE="make" clean)
make[2]: Entering directory `/home/kemu/Desktop/janus_110_2/src/runtime/objs'
rm -f v-* run.* interactive-run \
                gen-sizes gen-offsets gen-regmask gen-bc-instr-def \
                gen-unix-signals gen-unix-sigtbl \
                ml-sizes.h reg-mask.h mlstate-offsets.h bc-instr-def.h \
                system-signals.h unix-sigtbl.c \
                *.o prim.s primops.s
(cd ../memory; make MAKE="make" clean)
make[3]: Entering directory `/home/kemu/Desktop/janus_110_2/src/runtime/memory'
rm -f v-* *.o libmem.a
make[3]: Leaving directory `/home/kemu/Desktop/janus_110_2/src/runtime/memory'
(cd ../c-libs; make MAKE="make" clean)
make[3]: Entering directory `/home/kemu/Desktop/janus_110_2/src/runtime/c-libs'
for dir in posix-os smlnj-runtime smlnj-signals smlnj-sockets smlnj-prof smlnj-time smlnj-date smlnj-math smlnj-mp posix-error posix-filesys posix-io posix-procenv posix-process posix-signal posix-sysdb posix-tty smlnj-ccalls; do \
          (cd $dir; echo "cleaning $dir"; make MAKE="make" clean) ; \
        done
cleaning posix-os
make[4]: Entering directory `/home/kemu/Desktop/janus_110_2/src/runtime/c-libs/posix-os'
rm -f v-* *.o libposix-os.a
make[4]: Leaving directory `/home/kemu/Desktop/janus_110_2/src/runtime/c-libs/posix-os'
cleaning smlnj-runtime
make[4]: Entering directory `/home/kemu/Desktop/janus_110_2/src/runtime/c-libs/smlnj-runtime'
rm -f v-* *.o libsmlnj-runt.a
make[4]: Leaving directory `/home/kemu/Desktop/janus_110_2/src/runtime/c-libs/smlnj-runtime'
cleaning smlnj-signals
make[4]: Entering directory `/home/kemu/Desktop/janus_110_2/src/runtime/c-libs/smlnj-signals'
rm -f v-* *.o libsmlnj-sig.a
make[4]: Leaving directory `/home/kemu/Desktop/janus_110_2/src/runtime/c-libs/smlnj-signals'
cleaning smlnj-sockets
make[4]: Entering directory `/home/kemu/Desktop/janus_110_2/src/runtime/c-libs/smlnj-sockets'
rm -f v-* *.o libsmlnj-sock.a
make[4]: Leaving directory `/home/kemu/Desktop/janus_110_2/src/runtime/c-libs/smlnj-sockets'
cleaning smlnj-prof
make[4]: Entering directory `/home/kemu/Desktop/janus_110_2/src/runtime/c-libs/smlnj-prof'
rm -f v-* *.o libsmlnj-prof.a
make[4]: Leaving directory `/home/kemu/Desktop/janus_110_2/src/runtime/c-libs/smlnj-prof'
cleaning smlnj-time
make[4]: Entering directory `/home/kemu/Desktop/janus_110_2/src/runtime/c-libs/smlnj-time'
rm -f v-* *.o libsmlnj-time.a
make[4]: Leaving directory `/home/kemu/Desktop/janus_110_2/src/runtime/c-libs/smlnj-time'
cleaning smlnj-date
make[4]: Entering directory `/home/kemu/Desktop/janus_110_2/src/runtime/c-libs/smlnj-date'
rm -f v-* *.o libsmlnj-date.a
make[4]: Leaving directory `/home/kemu/Desktop/janus_110_2/src/runtime/c-libs/smlnj-date'
cleaning smlnj-math
make[4]: Entering directory `/home/kemu/Desktop/janus_110_2/src/runtime/c-libs/smlnj-math'
rm -f v-* *.o libsmlnj-math.a
make[4]: Leaving directory `/home/kemu/Desktop/janus_110_2/src/runtime/c-libs/smlnj-math'
cleaning smlnj-mp
make[4]: Entering directory `/home/kemu/Desktop/janus_110_2/src/runtime/c-libs/smlnj-mp'
rm -f v-* *.o libsmlnj-mp.a
make[4]: Leaving directory `/home/kemu/Desktop/janus_110_2/src/runtime/c-libs/smlnj-mp'
cleaning posix-error
make[4]: Entering directory `/home/kemu/Desktop/janus_110_2/src/runtime/c-libs/posix-error'
rm -f v-* *.o libposix-error.a
make[4]: Leaving directory `/home/kemu/Desktop/janus_110_2/src/runtime/c-libs/posix-error'
cleaning posix-filesys
make[4]: Entering directory `/home/kemu/Desktop/janus_110_2/src/runtime/c-libs/posix-filesys'
rm -f v-* *.o ml_pathconf.h libposix-filesys.a
make[4]: Leaving directory `/home/kemu/Desktop/janus_110_2/src/runtime/c-libs/posix-filesys'
cleaning posix-io
make[4]: Entering directory `/home/kemu/Desktop/janus_110_2/src/runtime/c-libs/posix-io'
rm -f v-* *.o libposix-io.a
make[4]: Leaving directory `/home/kemu/Desktop/janus_110_2/src/runtime/c-libs/posix-io'
cleaning posix-procenv
make[4]: Entering directory `/home/kemu/Desktop/janus_110_2/src/runtime/c-libs/posix-procenv'
rm -f v-* *.o ml_sysconf.h libposix-procenv.a
make[4]: Leaving directory `/home/kemu/Desktop/janus_110_2/src/runtime/c-libs/posix-procenv'
cleaning posix-process
make[4]: Entering directory `/home/kemu/Desktop/janus_110_2/src/runtime/c-libs/posix-process'
rm -f v-* *.o libposix-process.a
make[4]: Leaving directory `/home/kemu/Desktop/janus_110_2/src/runtime/c-libs/posix-process'
cleaning posix-signal
make[4]: Entering directory `/home/kemu/Desktop/janus_110_2/src/runtime/c-libs/posix-signal'
rm -f v-* *.o libposix-signal.a
make[4]: Leaving directory `/home/kemu/Desktop/janus_110_2/src/runtime/c-libs/posix-signal'
cleaning posix-sysdb
make[4]: Entering directory `/home/kemu/Desktop/janus_110_2/src/runtime/c-libs/posix-sysdb'
rm -f v-* *.o libposix-sysdb.a
make[4]: Leaving directory `/home/kemu/Desktop/janus_110_2/src/runtime/c-libs/posix-sysdb'
cleaning posix-tty
make[4]: Entering directory `/home/kemu/Desktop/janus_110_2/src/runtime/c-libs/posix-tty'
rm -f v-* *.o libposix-tty.a
make[4]: Leaving directory `/home/kemu/Desktop/janus_110_2/src/runtime/c-libs/posix-tty'
cleaning smlnj-ccalls
make[4]: Entering directory `/home/kemu/Desktop/janus_110_2/src/runtime/c-libs/smlnj-ccalls'
rm -f v-* *.o *.s libsmlnj-ccalls.a
make[4]: Leaving directory `/home/kemu/Desktop/janus_110_2/src/runtime/c-libs/smlnj-ccalls'
rm -f v-* *.o
make[3]: Leaving directory `/home/kemu/Desktop/janus_110_2/src/runtime/c-libs'
(cd ../gc; make MAKE="make" clean)
make[3]: Entering directory `/home/kemu/Desktop/janus_110_2/src/runtime/gc'
rm -f v-* *.o libgc.a libmp-gc.a
make[3]: Leaving directory `/home/kemu/Desktop/janus_110_2/src/runtime/gc'
(cd ../mp; make MAKE="make" clean)
make[3]: Entering directory `/home/kemu/Desktop/janus_110_2/src/runtime/mp'
rm -f v-* *.o libmp.a
make[3]: Leaving directory `/home/kemu/Desktop/janus_110_2/src/runtime/mp'
make[2]: Leaving directory `/home/kemu/Desktop/janus_110_2/src/runtime/objs'
echo "v-x86-linux" > v-x86-linux
gcc -ansi -c -I../config -I../objs -I../include ../config/gen-common.c
../config/gen-common.c: In function ‘OpenFile’:
../config/gen-common.c:21: warning: incompatible implicit declaration of built-in function ‘exit’
gcc -ansi -DHOST_X86 -DTARGET_X86 -DOPSYS_UNIX -DOPSYS_LINUX -D_POSIX_SOURCE -D_BSD_SOURCE -DVREGS -DCALLEESAVE=3 -I../config -I../objs -I../include -o gen-sizes ../config/gen-sizes.c gen-common.o
../config/gen-sizes.c: In function ‘main’:
../config/gen-sizes.c:62: warning: incompatible implicit declaration of built-in function ‘exit’
../config/gen-sizes.c:67: warning: incompatible implicit declaration of built-in function ‘exit’
../config/gen-sizes.c:71: warning: incompatible implicit declaration of built-in function ‘exit’
../config/gen-sizes.c:101: warning: incompatible implicit declaration of built-in function ‘exit’
../config/gen-sizes.c:136: warning: incompatible implicit declaration of built-in function ‘exit’
./gen-sizes
gcc -ansi -c -O2 -DHOST_X86 -DTARGET_X86 -DOPSYS_UNIX -DOPSYS_LINUX -D_POSIX_SOURCE -D_BSD_SOURCE -DVREGS -DCALLEESAVE=3 -I../objs -I../include ../kernel/main.c
gcc -ansi -c -O2 -DHOST_X86 -DTARGET_X86 -DOPSYS_UNIX -DOPSYS_LINUX -D_POSIX_SOURCE -D_BSD_SOURCE -DVREGS -DCALLEESAVE=3 -I../objs -I../include -I../c-libs ../c-libs/c-libraries.c
../c-libs/c-libraries.c: In function ‘InitCFunList’:
../c-libs/c-libraries.c:49: warning: incompatible implicit declaration of built-in function ‘sprintf’
gcc -ansi -c -I../config -I../objs -I../include -DHOST_X86 -DTARGET_X86 -DOPSYS_UNIX -DOPSYS_LINUX -D_POSIX_SOURCE -D_BSD_SOURCE -DVREGS -DCALLEESAVE=3 ../config/unix-signals.c
../config/unix-signals.c: In function ‘SortSignalTbl’:
../config/unix-signals.c:87: warning: incompatible implicit declaration of built-in function ‘malloc’
gcc -ansi -I../config -I../objs -I../include -DHOST_X86 -DTARGET_X86 -DOPSYS_UNIX -DOPSYS_LINUX -D_POSIX_SOURCE -D_BSD_SOURCE -DVREGS -DCALLEESAVE=3 -o gen-unix-signals ../config/gen-unix-signals.c unix-signals.o gen-common.o
../config/gen-unix-signals.c: In function ‘main’:
../config/gen-unix-signals.c:46: warning: incompatible implicit declaration of built-in function ‘exit’
./gen-unix-signals
gcc -ansi -c -O2 -DHOST_X86 -DTARGET_X86 -DOPSYS_UNIX -DOPSYS_LINUX -D_POSIX_SOURCE -D_BSD_SOURCE -DVREGS -DCALLEESAVE=3 -I../objs -I../include ../c-libs/unix-raise-syserr.c
../c-libs/unix-raise-syserr.c: In function ‘RaiseSysError’:
../c-libs/unix-raise-syserr.c:60: warning: incompatible implicit declaration of built-in function ‘sprintf’
gcc -ansi -c -O2 -DHOST_X86 -DTARGET_X86 -DOPSYS_UNIX -DOPSYS_LINUX -D_POSIX_SOURCE -D_BSD_SOURCE -DVREGS -DCALLEESAVE=3 -I../objs -I../include ../kernel/ml-options.c
gcc -ansi -c -O2 -DHOST_X86 -DTARGET_X86 -DOPSYS_UNIX -DOPSYS_LINUX -D_POSIX_SOURCE -D_BSD_SOURCE -DVREGS -DCALLEESAVE=3 -I../objs -I../include ../kernel/new-boot.c
../kernel/new-boot.c: In function ‘BuildFileList’:
../kernel/new-boot.c:109: warning: incompatible implicit declaration of built-in function ‘strlen’
../kernel/new-boot.c: In function ‘LoadBinFile’:
../kernel/new-boot.c:239: warning: incompatible implicit declaration of built-in function ‘strlen’
../kernel/new-boot.c:268: warning: incompatible implicit declaration of built-in function ‘memcpy’
../kernel/new-boot.c: In function ‘EnterPerID’:
../kernel/new-boot.c:307: warning: incompatible implicit declaration of built-in function ‘memcpy’
gcc -ansi -c -O2 -DHOST_X86 -DTARGET_X86 -DOPSYS_UNIX -DOPSYS_LINUX -D_POSIX_SOURCE -D_BSD_SOURCE -DVREGS -DCALLEESAVE=3 -I../objs -I../include ../kernel/load-ml.c
gcc -ansi -DHOST_X86 -DTARGET_X86 -DOPSYS_UNIX -DOPSYS_LINUX -D_POSIX_SOURCE -D_BSD_SOURCE -DVREGS -DCALLEESAVE=3 -I../config -I../objs -I../include -o gen-regmask ../config/gen-regmask.c gen-common.o
../config/gen-regmask.c: In function ‘main’:
../config/gen-regmask.c:79: warning: incompatible implicit declaration of built-in function ‘exit’
./gen-regmask
gcc -ansi -c -O2 -DHOST_X86 -DTARGET_X86 -DOPSYS_UNIX -DOPSYS_LINUX -D_POSIX_SOURCE -D_BSD_SOURCE -DVREGS -DCALLEESAVE=3 -I../objs -I../include ../kernel/run-ml.c
../kernel/run-ml.c: In function ‘RunML’:
../kernel/run-ml.c:157: warning: incompatible implicit declaration of built-in function ‘sprintf’
../kernel/run-ml.c: In function ‘UncaughtExn’:
../kernel/run-ml.c:286: warning: incompatible implicit declaration of built-in function ‘sprintf’
../kernel/run-ml.c:286: warning: format ‘%d’ expects type ‘int’, but argument 3 has type ‘long int’
../kernel/run-ml.c:290: warning: field precision should have type ‘int’, but argument 3 has type ‘long unsigned int’
../kernel/run-ml.c:303: warning: incompatible implicit declaration of built-in function ‘strlen’
../kernel/run-ml.c:304: warning: field precision should have type ‘int’, but argument 3 has type ‘long unsigned int’
gcc -ansi -c -O2 -DHOST_X86 -DTARGET_X86 -DOPSYS_UNIX -DOPSYS_LINUX -D_POSIX_SOURCE -D_BSD_SOURCE -DVREGS -DCALLEESAVE=3 -I../objs -I../include ../kernel/globals.c
gcc -ansi -c -O2 -DHOST_X86 -DTARGET_X86 -DOPSYS_UNIX -DOPSYS_LINUX -D_POSIX_SOURCE -D_BSD_SOURCE -DVREGS -DCALLEESAVE=3 -I../objs -I../include ../kernel/ml-state.c
gcc -ansi -c -O2 -DHOST_X86 -DTARGET_X86 -DOPSYS_UNIX -DOPSYS_LINUX -D_POSIX_SOURCE -D_BSD_SOURCE -DVREGS -DCALLEESAVE=3 -I../objs -I../include ../kernel/error.c
gcc -ansi -c -O2 -DHOST_X86 -DTARGET_X86 -DOPSYS_UNIX -DOPSYS_LINUX -D_POSIX_SOURCE -D_BSD_SOURCE -DVREGS -DCALLEESAVE=3 -I../objs -I../include ../kernel/timers.c
gcc -ansi -c -O2 -DHOST_X86 -DTARGET_X86 -DOPSYS_UNIX -DOPSYS_LINUX -D_POSIX_SOURCE -D_BSD_SOURCE -DVREGS -DCALLEESAVE=3 -I../objs -I../include ../kernel/unix-timers.c
gcc -ansi -c -O2 -DHOST_X86 -DTARGET_X86 -DOPSYS_UNIX -DOPSYS_LINUX -D_POSIX_SOURCE -D_BSD_SOURCE -DVREGS -DCALLEESAVE=3 -I../objs -I../include ../kernel/qualify-name.c
../kernel/qualify-name.c: In function ‘QualifyImageName’:
../kernel/qualify-name.c:19: warning: incompatible implicit declaration of built-in function ‘strlen’
../kernel/qualify-name.c:27: warning: incompatible implicit declaration of built-in function ‘strcat’
gcc -ansi -c -O2 -DHOST_X86 -DTARGET_X86 -DOPSYS_UNIX -DOPSYS_LINUX -D_POSIX_SOURCE -D_BSD_SOURCE -DVREGS -DCALLEESAVE=3 -I../objs -I../include ../kernel/swap-bytes.c
gcc -ansi -c -O2 -DHOST_X86 -DTARGET_X86 -DOPSYS_UNIX -DOPSYS_LINUX -D_POSIX_SOURCE -D_BSD_SOURCE -DVREGS -DCALLEESAVE=3 -I../objs -I../include ../mach-dep/unix-fault.c
gcc -ansi -c -O2 -DHOST_X86 -DTARGET_X86 -DOPSYS_UNIX -DOPSYS_LINUX -D_POSIX_SOURCE -D_BSD_SOURCE -DVREGS -DCALLEESAVE=3 -I../objs -I../include ../mach-dep/signal-util.c
gcc -ansi -I../config -I../objs -I../include -DHOST_X86 -DTARGET_X86 -DOPSYS_UNIX -DOPSYS_LINUX -D_POSIX_SOURCE -D_BSD_SOURCE -DVREGS -DCALLEESAVE=3 -o gen-unix-sigtbl ../config/gen-unix-sigtbl.c unix-signals.o gen-common.o
../config/gen-unix-sigtbl.c: In function ‘main’:
../config/gen-unix-sigtbl.c:48: warning: incompatible implicit declaration of built-in function ‘exit’
./gen-unix-sigtbl
gcc -ansi -c -O2 -DHOST_X86 -DTARGET_X86 -DOPSYS_UNIX -DOPSYS_LINUX -D_POSIX_SOURCE -D_BSD_SOURCE -DVREGS -DCALLEESAVE=3 -I../objs -I../include ../mach-dep/unix-signal.c
gcc -ansi -c -O2 -DHOST_X86 -DTARGET_X86 -DOPSYS_UNIX -DOPSYS_LINUX -D_POSIX_SOURCE -D_BSD_SOURCE -DVREGS -DCALLEESAVE=3 -I../objs -I../include ../mach-dep/unix-prof.c
gcc -ansi -DHOST_X86 -DTARGET_X86 -DOPSYS_UNIX -DOPSYS_LINUX -D_POSIX_SOURCE -D_BSD_SOURCE -DVREGS -DCALLEESAVE=3 -I../config -I../objs -I../include -o gen-offsets ../config/gen-offsets.c gen-common.o
../config/gen-offsets.c: In function ‘main’:
../config/gen-offsets.c:54: warning: format ‘%d’ expects type ‘int’, but argument 4 has type ‘long unsigned int’
../config/gen-offsets.c:55: warning: format ‘%d’ expects type ‘int’, but argument 4 has type ‘long unsigned int’
../config/gen-offsets.c:56: warning: format ‘%d’ expects type ‘int’, but argument 4 has type ‘long unsigned int’
../config/gen-offsets.c:57: warning: format ‘%d’ expects type ‘int’, but argument 4 has type ‘long unsigned int’
../config/gen-offsets.c:58: warning: format ‘%d’ expects type ‘int’, but argument 4 has type ‘long unsigned int’
../config/gen-offsets.c:77: warning: format ‘%d’ expects type ‘int’, but argument 3 has type ‘long unsigned int’
../config/gen-offsets.c:84: warning: format ‘%d’ expects type ‘int’, but argument 4 has type ‘long unsigned int’
../config/gen-offsets.c:90: warning: format ‘%d’ expects type ‘int’, but argument 4 has type ‘long unsigned int’
../config/gen-offsets.c:96: warning: format ‘%d’ expects type ‘int’, but argument 4 has type ‘long unsigned int’
../config/gen-offsets.c:97: warning: format ‘%d’ expects type ‘int’, but argument 4 has type ‘long unsigned int’
../config/gen-offsets.c:98: warning: format ‘%d’ expects type ‘int’, but argument 4 has type ‘long unsigned int’
../config/gen-offsets.c:99: warning: format ‘%d’ expects type ‘int’, but argument 4 has type ‘long unsigned int’
../config/gen-offsets.c:100: warning: format ‘%d’ expects type ‘int’, but argument 4 has type ‘long unsigned int’
./gen-offsets
gcc -x c -E -P -ansi -D_ASM_ -DHOST_X86 -DTARGET_X86 -DOPSYS_UNIX -DOPSYS_LINUX -D_POSIX_SOURCE -D_BSD_SOURCE -DVREGS -DCALLEESAVE=3 -I../bytecode -I../objs -I../include ../mach-dep/X86.prim.asm > prim.s
../mach-dep/X86.prim.asm:116:1: error: pasting "ML_X86Frame" and ":" does not give a valid preprocessing token
../mach-dep/X86.prim.asm:183:1: error: pasting "sigh_return_a" and ":" does not give a valid preprocessing token
../mach-dep/X86.prim.asm:194:1: error: pasting "sigh_resume" and ":" does not give a valid preprocessing token
../mach-dep/X86.prim.asm:205:1: error: pasting "pollh_return_a" and ":" does not give a valid preprocessing token
../mach-dep/X86.prim.asm:214:1: error: pasting "pollh_resume" and ":" does not give a valid preprocessing token
../mach-dep/X86.prim.asm:222:1: error: pasting "handle_a" and ":" does not give a valid preprocessing token
../mach-dep/X86.prim.asm:228:1: error: pasting "return_a" and ":" does not give a valid preprocessing token
../mach-dep/X86.prim.asm:240:1: error: pasting "request_fault" and ":" does not give a valid preprocessing token
../mach-dep/X86.prim.asm:249:1: error: pasting "bind_cfun_a" and ":" does not give a valid preprocessing token
../mach-dep/X86.prim.asm:256:1: error: pasting "build_literals_a" and ":" does not give a valid preprocessing token
../mach-dep/X86.prim.asm:263:1: error: pasting "callc_a" and ":" does not give a valid preprocessing token
../mach-dep/X86.prim.asm:270:1: error: pasting "set_request" and ":" does not give a valid preprocessing token
../mach-dep/X86.prim.asm:333:1: error: pasting "$" and "(" does not give a valid preprocessing token
../mach-dep/X86.prim.asm:340:1: error: pasting "saveregs" and ":" does not give a valid preprocessing token
../mach-dep/X86.prim.asm:457:1: error: pasting "$" and "(" does not give a valid preprocessing token
../mach-dep/X86.prim.asm:461:1: error: pasting "restoreregs" and ":" does not give a valid preprocessing token
../mach-dep/X86.prim.asm:467:1: error: pasting "$" and "(" does not give a valid preprocessing token
../mach-dep/X86.prim.asm:557:1: error: pasting "array_a" and ":" does not give a valid preprocessing token
../mach-dep/X86.prim.asm:568:1: error: pasting "$" and "(" does not give a valid preprocessing token
../mach-dep/X86.prim.asm:569:1: error: pasting "$" and "(" does not give a valid preprocessing token
../mach-dep/X86.prim.asm:594:1: error: pasting "create_r_a" and ":" does not give a valid preprocessing token
../mach-dep/X86.prim.asm:607:1: error: pasting "$" and "(" does not give a valid preprocessing token
../mach-dep/X86.prim.asm:608:1: error: pasting "$" and "(" does not give a valid preprocessing token
../mach-dep/X86.prim.asm:626:1: error: pasting "create_b_a" and ":" does not give a valid preprocessing token
../mach-dep/X86.prim.asm:640:1: error: pasting "$" and "(" does not give a valid preprocessing token
../mach-dep/X86.prim.asm:641:1: error: pasting "$" and "(" does not give a valid preprocessing token
../mach-dep/X86.prim.asm:660:1: error: pasting "create_s_a" and ":" does not give a valid preprocessing token
../mach-dep/X86.prim.asm:674:1: error: pasting "$" and "(" does not give a valid preprocessing token
../mach-dep/X86.prim.asm:675:1: error: pasting "$" and "(" does not give a valid preprocessing token
../mach-dep/X86.prim.asm:697:1: error: pasting "create_v_a" and ":" does not give a valid preprocessing token
../mach-dep/X86.prim.asm:708:1: error: pasting "$" and "(" does not give a valid preprocessing token
../mach-dep/X86.prim.asm:709:1: error: pasting "$" and "(" does not give a valid preprocessing token
../mach-dep/X86.prim.asm:718:1: error: pasting "$" and "(" does not give a valid preprocessing token
../mach-dep/X86.prim.asm:735:1: error: pasting "try_lock_a" and ":" does not give a valid preprocessing token
../mach-dep/X86.prim.asm:747:1: error: pasting "unlock_a" and ":" does not give a valid preprocessing token
../mach-dep/X86.prim.asm:786:1: error: pasting "FPEEnable" and ":" does not give a valid preprocessing token
../mach-dep/X86.prim.asm:804:1: error: pasting "fegetround" and ":" does not give a valid preprocessing token
../mach-dep/X86.prim.asm:813:1: error: pasting "fesetround" and ":" does not give a valid preprocessing token
../mach-dep/X86.prim.asm:826:1: error: pasting "savefpregs" and ":" does not give a valid preprocessing token
../mach-dep/X86.prim.asm:832:1: error: pasting "restorefpregs" and ":" does not give a valid preprocessing token
../mach-dep/X86.prim.asm:841:1: error: pasting "floor_a" and ":" does not give a valid preprocessing token
../mach-dep/X86.prim.asm:863:1: error: pasting "logb_a" and ":" does not give a valid preprocessing token
../mach-dep/X86.prim.asm:880:1: error: pasting "scalb_a" and ":" does not give a valid preprocessing token
../mach-dep/X86.prim.asm:892:1: error: pasting "$" and "(" does not give a valid preprocessing token
make[1]: *** [prim.o] Error 1
make[1]: Leaving directory `/home/kemu/Desktop/janus_110_2/src/runtime/objs'
make: *** [all] Error 2
!!! run-time system build failed for some reason

Re: install SML/NJ 110.0.7 in Ubuntu

by John Reppy :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

You should install 110.71, which is much more recent than 110.0.7.  
You can
find it at

        http://smlnj.org/dist/working/110.71/index.html

On Sep 30, 2009, at 5:33 PM, kentri9 wrote:

>
> Hi,
>
> I am trying to install SML/NJ 110.0.7 (the current release version) in
> Ubuntu 9.0.4. The cpu is AMD Athlon XP 2000+.
>
> When I run install.sh, it yields the below error messages.
> I assume that I should edit src/runtime/objs/mk.x86-linux, but
> I do not know what I should change.
>
> Any help is appreciated.
>
>
> ####################
> $ config/install.sh
> SML root is /home/kemu/Desktop/janus_110_2
> installing version 110
> creating /home/kemu/Desktop/janus_110_2/bin
> creating /home/kemu/Desktop/janus_110_2/bin/.heap
> creating /home/kemu/Desktop/janus_110_2/bin/.run
> creating /home/kemu/Desktop/janus_110_2/lib
> creating /home/kemu/Desktop/janus_110_2/src
> /home/kemu/Desktop/janus_110_2/bin/.arch-n-opsys reports ARCH=x86;
> OPSYS=linux; HEAP_SUFFIX=x86-linux
> unpacking run-time source files
> compiling the run-time system
> (make RUNTIME="run.x86-linux" VERSION="v-x86-linux" CC="gcc -ansi"
> CFLAGS="-O2" CPP="gcc -x c -E -P -ansi" TARGET=X86 DEFS="  -DHOST_X86
> -DTARGET_X86 -DOPSYS_UNIX -DOPSYS_LINUX -D_POSIX_SOURCE -D_BSD_SOURCE
> -DVREGS -DCALLEESAVE=3" XOBJS="" XLIBS="" LD_LIBS="" run.x86-linux)
> make[1]: Entering directory
> `/home/kemu/Desktop/janus_110_2/src/runtime/objs'
> (make MAKE="make" clean)
> make[2]: Entering directory
> `/home/kemu/Desktop/janus_110_2/src/runtime/objs'
> rm -f v-* run.* interactive-run \
> gen-sizes gen-offsets gen-regmask gen-bc-instr-def \
> gen-unix-signals gen-unix-sigtbl \
> ml-sizes.h reg-mask.h mlstate-offsets.h bc-instr-def.h \
> system-signals.h unix-sigtbl.c \
> *.o prim.s primops.s
> (cd ../memory; make MAKE="make" clean)
> make[3]: Entering directory
> `/home/kemu/Desktop/janus_110_2/src/runtime/memory'
> rm -f v-* *.o libmem.a
> make[3]: Leaving directory
> `/home/kemu/Desktop/janus_110_2/src/runtime/memory'
> (cd ../c-libs; make MAKE="make" clean)
> make[3]: Entering directory
> `/home/kemu/Desktop/janus_110_2/src/runtime/c-libs'
> for dir in posix-os smlnj-runtime smlnj-signals smlnj-sockets smlnj-
> prof
> smlnj-time smlnj-date smlnj-math smlnj-mp posix-error posix-filesys  
> posix-io
> posix-procenv posix-process posix-signal posix-sysdb posix-tty smlnj-
> ccalls;
> do \
>  (cd $dir; echo "cleaning $dir"; make MAKE="make" clean) ; \
> done
> cleaning posix-os
> make[4]: Entering directory
> `/home/kemu/Desktop/janus_110_2/src/runtime/c-libs/posix-os'
> rm -f v-* *.o libposix-os.a
> make[4]: Leaving directory
> `/home/kemu/Desktop/janus_110_2/src/runtime/c-libs/posix-os'
> cleaning smlnj-runtime
> make[4]: Entering directory
> `/home/kemu/Desktop/janus_110_2/src/runtime/c-libs/smlnj-runtime'
> rm -f v-* *.o libsmlnj-runt.a
> make[4]: Leaving directory
> `/home/kemu/Desktop/janus_110_2/src/runtime/c-libs/smlnj-runtime'
> cleaning smlnj-signals
> make[4]: Entering directory
> `/home/kemu/Desktop/janus_110_2/src/runtime/c-libs/smlnj-signals'
> rm -f v-* *.o libsmlnj-sig.a
> make[4]: Leaving directory
> `/home/kemu/Desktop/janus_110_2/src/runtime/c-libs/smlnj-signals'
> cleaning smlnj-sockets
> make[4]: Entering directory
> `/home/kemu/Desktop/janus_110_2/src/runtime/c-libs/smlnj-sockets'
> rm -f v-* *.o libsmlnj-sock.a
> make[4]: Leaving directory
> `/home/kemu/Desktop/janus_110_2/src/runtime/c-libs/smlnj-sockets'
> cleaning smlnj-prof
> make[4]: Entering directory
> `/home/kemu/Desktop/janus_110_2/src/runtime/c-libs/smlnj-prof'
> rm -f v-* *.o libsmlnj-prof.a
> make[4]: Leaving directory
> `/home/kemu/Desktop/janus_110_2/src/runtime/c-libs/smlnj-prof'
> cleaning smlnj-time
> make[4]: Entering directory
> `/home/kemu/Desktop/janus_110_2/src/runtime/c-libs/smlnj-time'
> rm -f v-* *.o libsmlnj-time.a
> make[4]: Leaving directory
> `/home/kemu/Desktop/janus_110_2/src/runtime/c-libs/smlnj-time'
> cleaning smlnj-date
> make[4]: Entering directory
> `/home/kemu/Desktop/janus_110_2/src/runtime/c-libs/smlnj-date'
> rm -f v-* *.o libsmlnj-date.a
> make[4]: Leaving directory
> `/home/kemu/Desktop/janus_110_2/src/runtime/c-libs/smlnj-date'
> cleaning smlnj-math
> make[4]: Entering directory
> `/home/kemu/Desktop/janus_110_2/src/runtime/c-libs/smlnj-math'
> rm -f v-* *.o libsmlnj-math.a
> make[4]: Leaving directory
> `/home/kemu/Desktop/janus_110_2/src/runtime/c-libs/smlnj-math'
> cleaning smlnj-mp
> make[4]: Entering directory
> `/home/kemu/Desktop/janus_110_2/src/runtime/c-libs/smlnj-mp'
> rm -f v-* *.o libsmlnj-mp.a
> make[4]: Leaving directory
> `/home/kemu/Desktop/janus_110_2/src/runtime/c-libs/smlnj-mp'
> cleaning posix-error
> make[4]: Entering directory
> `/home/kemu/Desktop/janus_110_2/src/runtime/c-libs/posix-error'
> rm -f v-* *.o libposix-error.a
> make[4]: Leaving directory
> `/home/kemu/Desktop/janus_110_2/src/runtime/c-libs/posix-error'
> cleaning posix-filesys
> make[4]: Entering directory
> `/home/kemu/Desktop/janus_110_2/src/runtime/c-libs/posix-filesys'
> rm -f v-* *.o ml_pathconf.h libposix-filesys.a
> make[4]: Leaving directory
> `/home/kemu/Desktop/janus_110_2/src/runtime/c-libs/posix-filesys'
> cleaning posix-io
> make[4]: Entering directory
> `/home/kemu/Desktop/janus_110_2/src/runtime/c-libs/posix-io'
> rm -f v-* *.o libposix-io.a
> make[4]: Leaving directory
> `/home/kemu/Desktop/janus_110_2/src/runtime/c-libs/posix-io'
> cleaning posix-procenv
> make[4]: Entering directory
> `/home/kemu/Desktop/janus_110_2/src/runtime/c-libs/posix-procenv'
> rm -f v-* *.o ml_sysconf.h libposix-procenv.a
> make[4]: Leaving directory
> `/home/kemu/Desktop/janus_110_2/src/runtime/c-libs/posix-procenv'
> cleaning posix-process
> make[4]: Entering directory
> `/home/kemu/Desktop/janus_110_2/src/runtime/c-libs/posix-process'
> rm -f v-* *.o libposix-process.a
> make[4]: Leaving directory
> `/home/kemu/Desktop/janus_110_2/src/runtime/c-libs/posix-process'
> cleaning posix-signal
> make[4]: Entering directory
> `/home/kemu/Desktop/janus_110_2/src/runtime/c-libs/posix-signal'
> rm -f v-* *.o libposix-signal.a
> make[4]: Leaving directory
> `/home/kemu/Desktop/janus_110_2/src/runtime/c-libs/posix-signal'
> cleaning posix-sysdb
> make[4]: Entering directory
> `/home/kemu/Desktop/janus_110_2/src/runtime/c-libs/posix-sysdb'
> rm -f v-* *.o libposix-sysdb.a
> make[4]: Leaving directory
> `/home/kemu/Desktop/janus_110_2/src/runtime/c-libs/posix-sysdb'
> cleaning posix-tty
> make[4]: Entering directory
> `/home/kemu/Desktop/janus_110_2/src/runtime/c-libs/posix-tty'
> rm -f v-* *.o libposix-tty.a
> make[4]: Leaving directory
> `/home/kemu/Desktop/janus_110_2/src/runtime/c-libs/posix-tty'
> cleaning smlnj-ccalls
> make[4]: Entering directory
> `/home/kemu/Desktop/janus_110_2/src/runtime/c-libs/smlnj-ccalls'
> rm -f v-* *.o *.s libsmlnj-ccalls.a
> make[4]: Leaving directory
> `/home/kemu/Desktop/janus_110_2/src/runtime/c-libs/smlnj-ccalls'
> rm -f v-* *.o
> make[3]: Leaving directory
> `/home/kemu/Desktop/janus_110_2/src/runtime/c-libs'
> (cd ../gc; make MAKE="make" clean)
> make[3]: Entering directory `/home/kemu/Desktop/janus_110_2/src/
> runtime/gc'
> rm -f v-* *.o libgc.a libmp-gc.a
> make[3]: Leaving directory `/home/kemu/Desktop/janus_110_2/src/
> runtime/gc'
> (cd ../mp; make MAKE="make" clean)
> make[3]: Entering directory `/home/kemu/Desktop/janus_110_2/src/
> runtime/mp'
> rm -f v-* *.o libmp.a
> make[3]: Leaving directory `/home/kemu/Desktop/janus_110_2/src/
> runtime/mp'
> make[2]: Leaving directory `/home/kemu/Desktop/janus_110_2/src/
> runtime/objs'
> echo "v-x86-linux" > v-x86-linux
> gcc -ansi -c -I../config -I../objs -I../include ../config/gen-common.c
> ../config/gen-common.c: In function ‘OpenFile’:
> ../config/gen-common.c:21: warning: incompatible implicit  
> declaration of
> built-in function ‘exit’
> gcc -ansi -DHOST_X86 -DTARGET_X86 -DOPSYS_UNIX -DOPSYS_LINUX -
> D_POSIX_SOURCE
> -D_BSD_SOURCE -DVREGS -DCALLEESAVE=3 -I../config -I../objs -I../
> include -o
> gen-sizes ../config/gen-sizes.c gen-common.o
> ../config/gen-sizes.c: In function ‘main’:
> ../config/gen-sizes.c:62: warning: incompatible implicit declaration  
> of
> built-in function ‘exit’
> ../config/gen-sizes.c:67: warning: incompatible implicit declaration  
> of
> built-in function ‘exit’
> ../config/gen-sizes.c:71: warning: incompatible implicit declaration  
> of
> built-in function ‘exit’
> ../config/gen-sizes.c:101: warning: incompatible implicit  
> declaration of
> built-in function ‘exit’
> ../config/gen-sizes.c:136: warning: incompatible implicit  
> declaration of
> built-in function ‘exit’
> ./gen-sizes
> gcc -ansi -c -O2 -DHOST_X86 -DTARGET_X86 -DOPSYS_UNIX -DOPSYS_LINUX
> -D_POSIX_SOURCE -D_BSD_SOURCE -DVREGS -DCALLEESAVE=3 -I../objs -I../
> include
> ../kernel/main.c
> gcc -ansi -c -O2 -DHOST_X86 -DTARGET_X86 -DOPSYS_UNIX -DOPSYS_LINUX
> -D_POSIX_SOURCE -D_BSD_SOURCE -DVREGS -DCALLEESAVE=3 -I../objs -I../
> include
> -I../c-libs ../c-libs/c-libraries.c
> ../c-libs/c-libraries.c: In function ‘InitCFunList’:
> ../c-libs/c-libraries.c:49: warning: incompatible implicit  
> declaration of
> built-in function ‘sprintf’
> gcc -ansi -c -I../config -I../objs -I../include -DHOST_X86 -
> DTARGET_X86
> -DOPSYS_UNIX -DOPSYS_LINUX -D_POSIX_SOURCE -D_BSD_SOURCE -DVREGS
> -DCALLEESAVE=3 ../config/unix-signals.c
> ../config/unix-signals.c: In function ‘SortSignalTbl’:
> ../config/unix-signals.c:87: warning: incompatible implicit  
> declaration of
> built-in function ‘malloc’
> gcc -ansi -I../config -I../objs -I../include -DHOST_X86 -DTARGET_X86
> -DOPSYS_UNIX -DOPSYS_LINUX -D_POSIX_SOURCE -D_BSD_SOURCE -DVREGS
> -DCALLEESAVE=3 -o gen-unix-signals ../config/gen-unix-signals.c
> unix-signals.o gen-common.o
> ../config/gen-unix-signals.c: In function ‘main’:
> ../config/gen-unix-signals.c:46: warning: incompatible implicit  
> declaration
> of built-in function ‘exit’
> ./gen-unix-signals
> gcc -ansi -c -O2 -DHOST_X86 -DTARGET_X86 -DOPSYS_UNIX -DOPSYS_LINUX
> -D_POSIX_SOURCE -D_BSD_SOURCE -DVREGS -DCALLEESAVE=3 -I../objs -I../
> include
> ../c-libs/unix-raise-syserr.c
> ../c-libs/unix-raise-syserr.c: In function ‘RaiseSysError’:
> ../c-libs/unix-raise-syserr.c:60: warning: incompatible implicit  
> declaration
> of built-in function ‘sprintf’
> gcc -ansi -c -O2 -DHOST_X86 -DTARGET_X86 -DOPSYS_UNIX -DOPSYS_LINUX
> -D_POSIX_SOURCE -D_BSD_SOURCE -DVREGS -DCALLEESAVE=3 -I../objs -I../
> include
> ../kernel/ml-options.c
> gcc -ansi -c -O2 -DHOST_X86 -DTARGET_X86 -DOPSYS_UNIX -DOPSYS_LINUX
> -D_POSIX_SOURCE -D_BSD_SOURCE -DVREGS -DCALLEESAVE=3 -I../objs -I../
> include
> ../kernel/new-boot.c
> ../kernel/new-boot.c: In function ‘BuildFileList’:
> ../kernel/new-boot.c:109: warning: incompatible implicit declaration  
> of
> built-in function ‘strlen’
> ../kernel/new-boot.c: In function ‘LoadBinFile’:
> ../kernel/new-boot.c:239: warning: incompatible implicit declaration  
> of
> built-in function ‘strlen’
> ../kernel/new-boot.c:268: warning: incompatible implicit declaration  
> of
> built-in function ‘memcpy’
> ../kernel/new-boot.c: In function ‘EnterPerID’:
> ../kernel/new-boot.c:307: warning: incompatible implicit declaration  
> of
> built-in function ‘memcpy’
> gcc -ansi -c -O2 -DHOST_X86 -DTARGET_X86 -DOPSYS_UNIX -DOPSYS_LINUX
> -D_POSIX_SOURCE -D_BSD_SOURCE -DVREGS -DCALLEESAVE=3 -I../objs -I../
> include
> ../kernel/load-ml.c
> gcc -ansi -DHOST_X86 -DTARGET_X86 -DOPSYS_UNIX -DOPSYS_LINUX -
> D_POSIX_SOURCE
> -D_BSD_SOURCE -DVREGS -DCALLEESAVE=3 -I../config -I../objs -I../
> include -o
> gen-regmask ../config/gen-regmask.c gen-common.o
> ../config/gen-regmask.c: In function ‘main’:
> ../config/gen-regmask.c:79: warning: incompatible implicit  
> declaration of
> built-in function ‘exit’
> ./gen-regmask
> gcc -ansi -c -O2 -DHOST_X86 -DTARGET_X86 -DOPSYS_UNIX -DOPSYS_LINUX
> -D_POSIX_SOURCE -D_BSD_SOURCE -DVREGS -DCALLEESAVE=3 -I../objs -I../
> include
> ../kernel/run-ml.c
> ../kernel/run-ml.c: In function ‘RunML’:
> ../kernel/run-ml.c:157: warning: incompatible implicit declaration of
> built-in function ‘sprintf’
> ../kernel/run-ml.c: In function ‘UncaughtExn’:
> ../kernel/run-ml.c:286: warning: incompatible implicit declaration of
> built-in function ‘sprintf’
> ../kernel/run-ml.c:286: warning: format ‘%d’ expects type ‘int’, but
> argument 3 has type ‘long int’
> ../kernel/run-ml.c:290: warning: field precision should have type  
> ‘int’, but
> argument 3 has type ‘long unsigned int’
> ../kernel/run-ml.c:303: warning: incompatible implicit declaration of
> built-in function ‘strlen’
> ../kernel/run-ml.c:304: warning: field precision should have type  
> ‘int’, but
> argument 3 has type ‘long unsigned int’
> gcc -ansi -c -O2 -DHOST_X86 -DTARGET_X86 -DOPSYS_UNIX -DOPSYS_LINUX
> -D_POSIX_SOURCE -D_BSD_SOURCE -DVREGS -DCALLEESAVE=3 -I../objs -I../
> include
> ../kernel/globals.c
> gcc -ansi -c -O2 -DHOST_X86 -DTARGET_X86 -DOPSYS_UNIX -DOPSYS_LINUX
> -D_POSIX_SOURCE -D_BSD_SOURCE -DVREGS -DCALLEESAVE=3 -I../objs -I../
> include
> ../kernel/ml-state.c
> gcc -ansi -c -O2 -DHOST_X86 -DTARGET_X86 -DOPSYS_UNIX -DOPSYS_LINUX
> -D_POSIX_SOURCE -D_BSD_SOURCE -DVREGS -DCALLEESAVE=3 -I../objs -I../
> include
> ../kernel/error.c
> gcc -ansi -c -O2 -DHOST_X86 -DTARGET_X86 -DOPSYS_UNIX -DOPSYS_LINUX
> -D_POSIX_SOURCE -D_BSD_SOURCE -DVREGS -DCALLEESAVE=3 -I../objs -I../
> include
> ../kernel/timers.c
> gcc -ansi -c -O2 -DHOST_X86 -DTARGET_X86 -DOPSYS_UNIX -DOPSYS_LINUX
> -D_POSIX_SOURCE -D_BSD_SOURCE -DVREGS -DCALLEESAVE=3 -I../objs -I../
> include
> ../kernel/unix-timers.c
> gcc -ansi -c -O2 -DHOST_X86 -DTARGET_X86 -DOPSYS_UNIX -DOPSYS_LINUX
> -D_POSIX_SOURCE -D_BSD_SOURCE -DVREGS -DCALLEESAVE=3 -I../objs -I../
> include
> ../kernel/qualify-name.c
> ../kernel/qualify-name.c: In function ‘QualifyImageName’:
> ../kernel/qualify-name.c:19: warning: incompatible implicit  
> declaration of
> built-in function ‘strlen’
> ../kernel/qualify-name.c:27: warning: incompatible implicit  
> declaration of
> built-in function ‘strcat’
> gcc -ansi -c -O2 -DHOST_X86 -DTARGET_X86 -DOPSYS_UNIX -DOPSYS_LINUX
> -D_POSIX_SOURCE -D_BSD_SOURCE -DVREGS -DCALLEESAVE=3 -I../objs -I../
> include
> ../kernel/swap-bytes.c
> gcc -ansi -c -O2 -DHOST_X86 -DTARGET_X86 -DOPSYS_UNIX -DOPSYS_LINUX
> -D_POSIX_SOURCE -D_BSD_SOURCE -DVREGS -DCALLEESAVE=3 -I../objs -I../
> include
> ../mach-dep/unix-fault.c
> gcc -ansi -c -O2 -DHOST_X86 -DTARGET_X86 -DOPSYS_UNIX -DOPSYS_LINUX
> -D_POSIX_SOURCE -D_BSD_SOURCE -DVREGS -DCALLEESAVE=3 -I../objs -I../
> include
> ../mach-dep/signal-util.c
> gcc -ansi -I../config -I../objs -I../include -DHOST_X86 -DTARGET_X86
> -DOPSYS_UNIX -DOPSYS_LINUX -D_POSIX_SOURCE -D_BSD_SOURCE -DVREGS
> -DCALLEESAVE=3 -o gen-unix-sigtbl ../config/gen-unix-sigtbl.c unix-
> signals.o
> gen-common.o
> ../config/gen-unix-sigtbl.c: In function ‘main’:
> ../config/gen-unix-sigtbl.c:48: warning: incompatible implicit  
> declaration
> of built-in function ‘exit’
> ./gen-unix-sigtbl
> gcc -ansi -c -O2 -DHOST_X86 -DTARGET_X86 -DOPSYS_UNIX -DOPSYS_LINUX
> -D_POSIX_SOURCE -D_BSD_SOURCE -DVREGS -DCALLEESAVE=3 -I../objs -I../
> include
> ../mach-dep/unix-signal.c
> gcc -ansi -c -O2 -DHOST_X86 -DTARGET_X86 -DOPSYS_UNIX -DOPSYS_LINUX
> -D_POSIX_SOURCE -D_BSD_SOURCE -DVREGS -DCALLEESAVE=3 -I../objs -I../
> include
> ../mach-dep/unix-prof.c
> gcc -ansi -DHOST_X86 -DTARGET_X86 -DOPSYS_UNIX -DOPSYS_LINUX -
> D_POSIX_SOURCE
> -D_BSD_SOURCE -DVREGS -DCALLEESAVE=3 -I../config -I../objs -I../
> include -o
> gen-offsets ../config/gen-offsets.c gen-common.o
> ../config/gen-offsets.c: In function ‘main’:
> ../config/gen-offsets.c:54: warning: format ‘%d’ expects type ‘int’,  
> but
> argument 4 has type ‘long unsigned int’
> ../config/gen-offsets.c:55: warning: format ‘%d’ expects type ‘int’,  
> but
> argument 4 has type ‘long unsigned int’
> ../config/gen-offsets.c:56: warning: format ‘%d’ expects type ‘int’,  
> but
> argument 4 has type ‘long unsigned int’
> ../config/gen-offsets.c:57: warning: format ‘%d’ expects type ‘int’,  
> but
> argument 4 has type ‘long unsigned int’
> ../config/gen-offsets.c:58: warning: format ‘%d’ expects type ‘int’,  
> but
> argument 4 has type ‘long unsigned int’
> ../config/gen-offsets.c:77: warning: format ‘%d’ expects type ‘int’,  
> but
> argument 3 has type ‘long unsigned int’
> ../config/gen-offsets.c:84: warning: format ‘%d’ expects type ‘int’,  
> but
> argument 4 has type ‘long unsigned int’
> ../config/gen-offsets.c:90: warning: format ‘%d’ expects type ‘int’,  
> but
> argument 4 has type ‘long unsigned int’
> ../config/gen-offsets.c:96: warning: format ‘%d’ expects type ‘int’,  
> but
> argument 4 has type ‘long unsigned int’
> ../config/gen-offsets.c:97: warning: format ‘%d’ expects type ‘int’,  
> but
> argument 4 has type ‘long unsigned int’
> ../config/gen-offsets.c:98: warning: format ‘%d’ expects type ‘int’,  
> but
> argument 4 has type ‘long unsigned int’
> ../config/gen-offsets.c:99: warning: format ‘%d’ expects type ‘int’,  
> but
> argument 4 has type ‘long unsigned int’
> ../config/gen-offsets.c:100: warning: format ‘%d’ expects type  
> ‘int’, but
> argument 4 has type ‘long unsigned int’
> ./gen-offsets
> gcc -x c -E -P -ansi -D_ASM_ -DHOST_X86 -DTARGET_X86 -DOPSYS_UNIX
> -DOPSYS_LINUX -D_POSIX_SOURCE -D_BSD_SOURCE -DVREGS -DCALLEESAVE=3
> -I../bytecode -I../objs -I../include ../mach-dep/X86.prim.asm > prim.s
> ../mach-dep/X86.prim.asm:116:1: error: pasting "ML_X86Frame" and ":"  
> does
> not give a valid preprocessing token
> ../mach-dep/X86.prim.asm:183:1: error: pasting "sigh_return_a" and  
> ":" does
> not give a valid preprocessing token
> ../mach-dep/X86.prim.asm:194:1: error: pasting "sigh_resume" and ":"  
> does
> not give a valid preprocessing token
> ../mach-dep/X86.prim.asm:205:1: error: pasting "pollh_return_a" and  
> ":" does
> not give a valid preprocessing token
> ../mach-dep/X86.prim.asm:214:1: error: pasting "pollh_resume" and  
> ":" does
> not give a valid preprocessing token
> ../mach-dep/X86.prim.asm:222:1: error: pasting "handle_a" and ":"  
> does not
> give a valid preprocessing token
> ../mach-dep/X86.prim.asm:228:1: error: pasting "return_a" and ":"  
> does not
> give a valid preprocessing token
> ../mach-dep/X86.prim.asm:240:1: error: pasting "request_fault" and  
> ":" does
> not give a valid preprocessing token
> ../mach-dep/X86.prim.asm:249:1: error: pasting "bind_cfun_a" and ":"  
> does
> not give a valid preprocessing token
> ../mach-dep/X86.prim.asm:256:1: error: pasting "build_literals_a"  
> and ":"
> does not give a valid preprocessing token
> ../mach-dep/X86.prim.asm:263:1: error: pasting "callc_a" and ":"  
> does not
> give a valid preprocessing token
> ../mach-dep/X86.prim.asm:270:1: error: pasting "set_request" and ":"  
> does
> not give a valid preprocessing token
> ../mach-dep/X86.prim.asm:333:1: error: pasting "$" and "(" does not  
> give a
> valid preprocessing token
> ../mach-dep/X86.prim.asm:340:1: error: pasting "saveregs" and ":"  
> does not
> give a valid preprocessing token
> ../mach-dep/X86.prim.asm:457:1: error: pasting "$" and "(" does not  
> give a
> valid preprocessing token
> ../mach-dep/X86.prim.asm:461:1: error: pasting "restoreregs" and ":"  
> does
> not give a valid preprocessing token
> ../mach-dep/X86.prim.asm:467:1: error: pasting "$" and "(" does not  
> give a
> valid preprocessing token
> ../mach-dep/X86.prim.asm:557:1: error: pasting "array_a" and ":"  
> does not
> give a valid preprocessing token
> ../mach-dep/X86.prim.asm:568:1: error: pasting "$" and "(" does not  
> give a
> valid preprocessing token
> ../mach-dep/X86.prim.asm:569:1: error: pasting "$" and "(" does not  
> give a
> valid preprocessing token
> ../mach-dep/X86.prim.asm:594:1: error: pasting "create_r_a" and ":"  
> does not
> give a valid preprocessing token
> ../mach-dep/X86.prim.asm:607:1: error: pasting "$" and "(" does not  
> give a
> valid preprocessing token
> ../mach-dep/X86.prim.asm:608:1: error: pasting "$" and "(" does not  
> give a
> valid preprocessing token
> ../mach-dep/X86.prim.asm:626:1: error: pasting "create_b_a" and ":"  
> does not
> give a valid preprocessing token
> ../mach-dep/X86.prim.asm:640:1: error: pasting "$" and "(" does not  
> give a
> valid preprocessing token
> ../mach-dep/X86.prim.asm:641:1: error: pasting "$" and "(" does not  
> give a
> valid preprocessing token
> ../mach-dep/X86.prim.asm:660:1: error: pasting "create_s_a" and ":"  
> does not
> give a valid preprocessing token
> ../mach-dep/X86.prim.asm:674:1: error: pasting "$" and "(" does not  
> give a
> valid preprocessing token
> ../mach-dep/X86.prim.asm:675:1: error: pasting "$" and "(" does not  
> give a
> valid preprocessing token
> ../mach-dep/X86.prim.asm:697:1: error: pasting "create_v_a" and ":"  
> does not
> give a valid preprocessing token
> ../mach-dep/X86.prim.asm:708:1: error: pasting "$" and "(" does not  
> give a
> valid preprocessing token
> ../mach-dep/X86.prim.asm:709:1: error: pasting "$" and "(" does not  
> give a
> valid preprocessing token
> ../mach-dep/X86.prim.asm:718:1: error: pasting "$" and "(" does not  
> give a
> valid preprocessing token
> ../mach-dep/X86.prim.asm:735:1: error: pasting "try_lock_a" and ":"  
> does not
> give a valid preprocessing token
> ../mach-dep/X86.prim.asm:747:1: error: pasting "unlock_a" and ":"  
> does not
> give a valid preprocessing token
> ../mach-dep/X86.prim.asm:786:1: error: pasting "FPEEnable" and ":"  
> does not
> give a valid preprocessing token
> ../mach-dep/X86.prim.asm:804:1: error: pasting "fegetround" and ":"  
> does not
> give a valid preprocessing token
> ../mach-dep/X86.prim.asm:813:1: error: pasting "fesetround" and ":"  
> does not
> give a valid preprocessing token
> ../mach-dep/X86.prim.asm:826:1: error: pasting "savefpregs" and ":"  
> does not
> give a valid preprocessing token
> ../mach-dep/X86.prim.asm:832:1: error: pasting "restorefpregs" and  
> ":" does
> not give a valid preprocessing token
> ../mach-dep/X86.prim.asm:841:1: error: pasting "floor_a" and ":"  
> does not
> give a valid preprocessing token
> ../mach-dep/X86.prim.asm:863:1: error: pasting "logb_a" and ":" does  
> not
> give a valid preprocessing token
> ../mach-dep/X86.prim.asm:880:1: error: pasting "scalb_a" and ":"  
> does not
> give a valid preprocessing token
> ../mach-dep/X86.prim.asm:892:1: error: pasting "$" and "(" does not  
> give a
> valid preprocessing token
> make[1]: *** [prim.o] Error 1
> make[1]: Leaving directory `/home/kemu/Desktop/janus_110_2/src/
> runtime/objs'
> make: *** [all] Error 2
> !!! run-time system build failed for some reason
>
> --
> View this message in context: http://www.nabble.com/install-SML-NJ-110.0.7-in-Ubuntu-tp25690251p25690251.html
> Sent from the SML/NJ mailing list archive at Nabble.com.
>
>
> ------------------------------------------------------------------------------
> Come build with us! The BlackBerry® Developer Conference in SF, CA
> is the only developer event you need to attend this year. Jumpstart  
> your
> developing skills, take BlackBerry mobile applications to market and  
> stay
> ahead of the curve. Join us from November 9-12, 2009. Register  
> now!
> http://p.sf.net/sfu/devconf
> _______________________________________________
> Smlnj-list mailing list
> Smlnj-list@...
> https://lists.sourceforge.net/lists/listinfo/smlnj-list


------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
Smlnj-list mailing list
Smlnj-list@...
https://lists.sourceforge.net/lists/listinfo/smlnj-list

Re: install SML/NJ 110.0.7 in Ubuntu

by kentri9 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

John, thank you for your reply

One of the reasons why I want to install 110.0.7 is that
I want to run an SML program, which was only tested in 110.0.7.

I tried to run the program in 110.71 but it did not succeed.

The other reason is that I would like to have the current release of SML/NJ
in stead of a working version.

I hope someone can help me?

Re: install SML/NJ 110.0.7 in Ubuntu

by Matthias Blume-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Forget about the attribute "stable" or "current".  The working version  
110.71 is much more stable and current than 110.0.x, which is many  
years old.

You should fix your program to compile under the latest working  
version.  Let us know if you need any help with that.  We will be glad  
to provide it.

Cheers,
Matthias

On Oct 1, 2009, at 7:40 AM, kentri9 wrote:

>
> John, thank you for your reply
>
> One of the reasons why I want to install 110.0.7 is that
> I want to run an SML program, which was only tested in 110.0.7.
>
> I tried to run the program in 110.71 but it did not succeed.
>
> The other reason is that I would like to have the current release of  
> SML/NJ
> in stead of a working version.
>
> I hope someone can help me?
> --
> View this message in context: http://www.nabble.com/install-SML-NJ-110.0.7-in-Ubuntu-tp25690251p25696849.html
> Sent from the SML/NJ mailing list archive at Nabble.com.
>
>
> ------------------------------------------------------------------------------
> Come build with us! The BlackBerry® Developer Conference in SF, CA
> is the only developer event you need to attend this year. Jumpstart  
> your
> developing skills, take BlackBerry mobile applications to market and  
> stay
> ahead of the curve. Join us from November 9-12, 2009. Register  
> now!
> http://p.sf.net/sfu/devconf
> _______________________________________________
> Smlnj-list mailing list
> Smlnj-list@...
> https://lists.sourceforge.net/lists/listinfo/smlnj-list


------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
Smlnj-list mailing list
Smlnj-list@...
https://lists.sourceforge.net/lists/listinfo/smlnj-list

Re: install SML/NJ 110.0.7 in Ubuntu

by kentri9 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Thank you for your reply.

I will try to port the program to version 110.71.

2009/10/1 Matthias Blume <matthias_blume@...>
Forget about the attribute "stable" or "current".  The working version 110.71 is much more stable and current than 110.0.x, which is many years old.

You should fix your program to compile under the latest working version.  Let us know if you need any help with that.  We will be glad to provide it.

Cheers,
Matthias


On Oct 1, 2009, at 7:40 AM, kentri9 wrote:


John, thank you for your reply

One of the reasons why I want to install 110.0.7 is that
I want to run an SML program, which was only tested in 110.0.7.

I tried to run the program in 110.71 but it did not succeed.

The other reason is that I would like to have the current release of SML/NJ
in stead of a working version.

I hope someone can help me?
--
View this message in context: http://www.nabble.com/install-SML-NJ-110.0.7-in-Ubuntu-tp25690251p25696849.html
Sent from the SML/NJ mailing list archive at Nabble.com.


------------------------------------------------------------------------------
Come build with us! The BlackBerry&reg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9&#45;12, 2009. Register now&#33;
http://p.sf.net/sfu/devconf
_______________________________________________
Smlnj-list mailing list
Smlnj-list@...
https://lists.sourceforge.net/lists/listinfo/smlnj-list





------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
Smlnj-list mailing list
Smlnj-list@...
https://lists.sourceforge.net/lists/listinfo/smlnj-list