scsh-users
[Top] [All Lists]

trouble compiling scsh 0.5.1 on linux

To: scsh@martigny.ai.mit.edu
Subject: trouble compiling scsh 0.5.1 on linux
From: David Bushnell <bushnell@digitalmarket.com>
Date: Sun, 31 Jan 1999 13:45:32 -0800
Reply-to: bushnell@digitalmarket.com
I am trying to install scsh 0.5.1 on a 486 Linux machine and am having
trouble with the make.  The same problems seem to have come up a
couple of times back in 1997 (see, for example,
http://www.dejanews.com/getdoc.xp?AN=255734051.1) 
and there is a response from Olin Shivers in
http://www.dejanews.com/getdoc.xp?AN=255877772
which helps, but I'm still having some problems.

Olin's message suggests that suggests doing "touch cig/cig" to prevent
make from trying to build the cig stuff again.

The "touch cig/cig" seems to fix make's cig problems.  However, I still
have the "scm" problems, i.e. lots & lots of lines similar to

  > Warning: External not found
  >      "df_sig2interrupt"

finally ending with:
  > ............................
  > Warning: External not found
  >      "df_do_default_sigaction"
  > .
  > Error: exception
  >        (external-call #f)
  > make: *** [scsh/scsh.image] Error 1


Can anyone suggest a fix for this?  I've included more details below.

Thanks,
David Bushnell


My machine is running a rather old Slackware distribution (as I
recall, it's something like version 3.2 or 3.3).  My gcc is version
2.7.2.


This is what I did to create scsh:

  - ./configure --prefix=/var1/scheme/scsh
  - touch cig/cig
  - make

Checking scshvm for df_scheme_exec gives the following:

  > scsh-0.5.1> nm scshvm | grep df_scheme_exec
  > 0805ba6c T df_scheme_exec


Here is the output from the above steps:

**************** configure output ****************
  > scsh-0.5.1> ./configure --prefix=/var1/scheme/scsh
  > creating cache ./config.cache
  > checking host system type... i486-pc-linux-gnu
  > checking for gcc... gcc
  > checking whether we are using GNU C... yes
  > checking whether gcc accepts -g... yes
  > checking for POSIXized ISC... no
  > checking for broken Linux that needs -static with -g... no
  > checking for a BSD compatible install... /usr/bin/ginstall -c
  > checking for ranlib... ranlib
  > checking for working const... yes
  > checking whether cross-compiling... no
  > checking whether byte ordering is bigendian... no
  > checking for Linux using ELF... yes
  > checking for -lm... yes
  > checking for -lgen... no
  > checking for -lnsl... no
  > checking for -lsocket... no
  > checking for -lelf... no
  > checking for -lld... no
  > checking for -ldl... no
  > checking for -ldld... no
  > checking return type of signal handlers... void
  > checking how to run the C preprocessor... gcc -E
  > checking for libgen.h... no
  > checking for sys/timeb.h... yes
  > checking for posix/time.h... no
  > checking for sys/select.h... no
  > checking for nlist.h... yes
  > checking for strerror... yes
  > checking for dlopen... no
  > checking for gettimeofday... yes
  > checking for ftime... yes
  > checking for nlist... no
  > checking for select... yes
  > checking for setitimer... yes
  > checking for sigaction... yes
  > checking for socket... yes
  > checking for chroot... yes
  > checking for RISC/OS POSIX library lossage... no
  > checking whether we can use -O2... preset
  > checking for underscore before symbols... no
  > checking for n_name... yes
  > checking for _cnt... no
  > checking for tzname... yes
  > checking for gmtoff... no
  > checking for const sys_errlist... no
  > updating cache ./config.cache
  > creating ./config.status
  > creating Makefile
  > creating scsh/regexp/Makefile
  > creating scsh/endian.scm
  > creating scsh/static.scm
  > creating sysdep.h


**************** config.log ****************
  > This file contains any messages produced by compilers while
  > running configure, to aid debugging if configure makes a mistake.
  > 
  > configure:650: gcc -E conftest.c
  > configure:724: gcc -o conftest -g -O   conftest.c  1>&5
  > configure:884: gcc -c -g -O  conftest.c 1>&5
  > configure:917: gcc -o conftest -g -O   conftest.c  1>&5
  > configure:949: gcc -c -g -O  conftest.c 1>&5
  > configure: In function `t':
  > configure:944: `bogus' undeclared (first use this function)
  > configure:944: (Each undeclared identifier is reported only once
  > configure:944: for each function it appears in.)
  > configure:944: parse error before `endian'
  > configure:995: gcc -o conftest -g -O   conftest.c  1>&5
  > configure:1195: gcc -o conftest -g -O  -rdynamic conftest.c -lm  -lc 1>&5
  > configure:1187: warning: conflicting types for built-in function `sqrt'
  > configure:1239: gcc -o conftest -g -O  -rdynamic conftest.c -lgen  -lm -lc 
1>&5
  > /usr/i486-linux/bin/ld: cannot open -lgen: No such file or directory
  > configure:1283: gcc -o conftest -g -O  -rdynamic conftest.c -lnsl  -lm -lc 
1>&5
  > /usr/i486-linux/bin/ld: cannot open -lnsl: No such file or directory
  > configure:1327: gcc -o conftest -g -O  -rdynamic conftest.c -lsocket  -lm 
-lc 1>&5
  > /usr/i486-linux/bin/ld: cannot open -lsocket: No such file or directory
  > configure:1371: gcc -o conftest -g -O  -rdynamic conftest.c -lelf  -lm -lc 
1>&5
  > /usr/i486-linux/bin/ld: cannot open -lelf: No such file or directory
  > configure:1415: gcc -o conftest -g -O  -rdynamic conftest.c -lld  -lm -lc 
1>&5
  > /usr/i486-linux/bin/ld: cannot open -lld: No such file or directory
  > configure:1459: gcc -o conftest -g -O  -rdynamic conftest.c -ldl  -lm -lc 
1>&5
  > /usr/i486-linux/bin/ld: cannot open -ldl: No such file or directory
  > configure:1503: gcc -o conftest -g -O  -rdynamic conftest.c -ldld  -lm -lc 
1>&5
  > /usr/i486-linux/bin/ld: cannot open -ldld: No such file or directory
  > configure:1551: gcc -c -g -O  conftest.c 1>&5
  > configure:1589: gcc -E  conftest.c >/dev/null 2>conftest.out
  > configure:1637: gcc -E  conftest.c >/dev/null 2>conftest.out
  > configure:1633: libgen.h: No such file or directory
  > configure:1637: gcc -E  conftest.c >/dev/null 2>conftest.out
  > configure:1637: gcc -E  conftest.c >/dev/null 2>conftest.out
  > configure:1633: posix/time.h: No such file or directory
  > configure:1637: gcc -E  conftest.c >/dev/null 2>conftest.out
  > configure:1633: sys/select.h: No such file or directory
  > configure:1637: gcc -E  conftest.c >/dev/null 2>conftest.out
  > configure:1692: gcc -o conftest -g -O  -rdynamic conftest.c -lm -lc 1>&5
  > configure:1745: gcc -o conftest -g -O  -rdynamic conftest.c -lm -lc 1>&5
  > /tmp/cca110701.o: In function `t':
  > /var1/scheme/scsh/scsh-0.5.1/configure:1739: undefined reference to `dlopen'
  > configure:1745: gcc -o conftest -g -O  -rdynamic conftest.c -lm -lc 1>&5
  > configure:1745: gcc -o conftest -g -O  -rdynamic conftest.c -lm -lc 1>&5
  > configure:1745: gcc -o conftest -g -O  -rdynamic conftest.c -lm -lc 1>&5
  > /tmp/cca111141.o: In function `t':
  > /var1/scheme/scsh/scsh-0.5.1/configure:1739: undefined reference to `nlist'
  > configure:1745: gcc -o conftest -g -O  -rdynamic conftest.c -lm -lc 1>&5
  > configure:1745: gcc -o conftest -g -O  -rdynamic conftest.c -lm -lc 1>&5
  > configure:1745: gcc -o conftest -g -O  -rdynamic conftest.c -lm -lc 1>&5
  > configure:1798: gcc -o conftest -g -O  -rdynamic conftest.c -lm -lc 1>&5
  > configure:1798: gcc -o conftest -g -O  -rdynamic conftest.c -lm -lc 1>&5
  > configure:1946: gcc -c -g -O  conftest.c 1>&5
  > configure:1980: gcc -c -g -O  conftest.c 1>&5
  > configure: In function `t':
  > configure:1976: structure has no member named `_cnt'
  > configure:2015: gcc -c -g -O  conftest.c 1>&5
  > configure:2050: gcc -c -g -O  conftest.c 1>&5
  > configure: In function `t':
  > configure:2046: structure has no member named `tm_gmtoff'
  > configure:2085: gcc -c -g -O  conftest.c 1>&5
  > configure: In function `t':
  > configure:2081: conflicting types for `sys_errlist'
  > /usr/include/errno.h:31: previous declaration of `sys_errlist'



**************** make output ****************
  > gcc -c -o main.o 
-DDEFAULT_IMAGE_NAME=\"/var1/scheme/scsh/lib/scsh/scsh.image\" \
  >     -I./cig -I./scsh/regexp -g -O ./main.c
  > gcc -c -I./cig -I./scsh/regexp -DHAVE_CONFIG_H -I. -I. -g -O -o unix.o 
unix.c
  > gcc -c -I./cig -I./scsh/regexp -DHAVE_CONFIG_H -I. -I. -g -O -o dynload.o 
dynload.c
  > gcc -c -I./cig -I./scsh/regexp -DHAVE_CONFIG_H -I. -I. -g -O -o prescheme.o 
prescheme.c
  > gcc -c -I./cig -I./scsh/regexp -DHAVE_CONFIG_H -I. -I. -g -O -o extension.o 
extension.c
  > gcc -c -I./cig -I./scsh/regexp -DHAVE_CONFIG_H -I. -I. -g -O -o 
scheme48vm.o scheme48vm.c
  > gcc -c -I./cig -I./scsh/regexp -DHAVE_CONFIG_H -I. -I. -g -O -o 
process_args.o process_args.c
  > gcc -c -I./cig -I./scsh/regexp -DHAVE_CONFIG_H -I. -I. -g -O -o 
cig/libcig.o cig/libcig.c
  > gcc -c -I./cig -I./scsh/regexp -DHAVE_CONFIG_H -I. -I. -g -O -o 
cig/libcig1.o cig/libcig1.c
  > gcc -c -I./cig -I./scsh/regexp -DHAVE_CONFIG_H -I. -I. -g -O -o proc2.o 
proc2.c
  > gcc -c -I./cig -I./scsh/regexp -DHAVE_CONFIG_H -I. -I. -g -O -o 
scsh/dirstuff1.o scsh/dirstuff1.c
  > gcc -c -I./cig -I./scsh/regexp -DHAVE_CONFIG_H -I. -I. -g -O -o 
scsh/fdports1.o scsh/fdports1.c
  > gcc -c -I./cig -I./scsh/regexp -DHAVE_CONFIG_H -I. -I. -g -O -o 
scsh/flock.o scsh/flock.c
  > gcc -c -I./cig -I./scsh/regexp -DHAVE_CONFIG_H -I. -I. -g -O -o 
scsh/flock1.o scsh/flock1.c
  > gcc -c -I./cig -I./scsh/regexp -DHAVE_CONFIG_H -I. -I. -g -O -o 
scsh/machine/stdio_dep.o scsh/machine/stdio_dep.c
  > gcc -c -I./cig -I./scsh/regexp -DHAVE_CONFIG_H -I. -I. -g -O -o 
scsh/machine/time_dep1.o scsh/machine/time_dep1.c
  > gcc -c -I./cig -I./scsh/regexp -DHAVE_CONFIG_H -I. -I. -g -O -o 
scsh/machine/signals1.o scsh/machine/signals1.c
  > gcc -c -I./cig -I./scsh/regexp -DHAVE_CONFIG_H -I. -I. -g -O -o 
scsh/machine/libansi.o scsh/machine/libansi.c
  > gcc -c -I./cig -I./scsh/regexp -DHAVE_CONFIG_H -I. -I. -g -O -o 
scsh/network.o scsh/network.c
  > gcc -c -I./cig -I./scsh/regexp -DHAVE_CONFIG_H -I. -I. -g -O -o 
scsh/network1.o scsh/network1.c
  > scsh/network1.c: In function `scheme_host_address2host_info':
  > scsh/network1.c:400: warning: assignment discards `const' from pointer 
target type
  > scsh/network1.c: In function `scheme_host_name2host_info':
  > scsh/network1.c:427: warning: assignment discards `const' from pointer 
target type
  > gcc -c -I./cig -I./scsh/regexp -DHAVE_CONFIG_H -I. -I. -g -O -o 
scsh/putenv.o scsh/putenv.c
  > gcc -c -I./cig -I./scsh/regexp -DHAVE_CONFIG_H -I. -I. -g -O -o 
scsh/rdelim.o scsh/rdelim.c
  > gcc -c -I./cig -I./scsh/regexp -DHAVE_CONFIG_H -I. -I. -g -O -o scsh/re.o 
scsh/re.c
  > gcc -c -I./cig -I./scsh/regexp -DHAVE_CONFIG_H -I. -I. -g -O -o scsh/re1.o 
scsh/re1.c
  > gcc -c -I./cig -I./scsh/regexp -DHAVE_CONFIG_H -I. -I. -g -O -o 
scsh/regexp/regexp.o scsh/regexp/regexp.c
  > gcc -c -I./cig -I./scsh/regexp -DHAVE_CONFIG_H -I. -I. -g -O -o 
scsh/regexp/regsub.o scsh/regexp/regsub.c
  > gcc -c -I./cig -I./scsh/regexp -DHAVE_CONFIG_H -I. -I. -g -O -o 
scsh/select.o scsh/select.c
  > gcc -c -I./cig -I./scsh/regexp -DHAVE_CONFIG_H -I. -I. -g -O -o 
scsh/select1.o scsh/select1.c
  > gcc -c -I./cig -I./scsh/regexp -DHAVE_CONFIG_H -I. -I. -g -O -o 
scsh/sleep1.o scsh/sleep1.c
  > gcc -c -I./cig -I./scsh/regexp -DHAVE_CONFIG_H -I. -I. -g -O -o 
scsh/syscalls.o scsh/syscalls.c
  > gcc -c -I./cig -I./scsh/regexp -DHAVE_CONFIG_H -I. -I. -g -O -o 
scsh/syscalls1.o scsh/syscalls1.c
  > gcc -c -I./cig -I./scsh/regexp -DHAVE_CONFIG_H -I. -I. -g -O -o scsh/time.o 
scsh/time.c
  > gcc -c -I./cig -I./scsh/regexp -DHAVE_CONFIG_H -I. -I. -g -O -o 
scsh/time1.o scsh/time1.c
  > gcc -c -I./cig -I./scsh/regexp -DHAVE_CONFIG_H -I. -I. -g -O -o scsh/tty.o 
scsh/tty.c
  > gcc -c -I./cig -I./scsh/regexp -DHAVE_CONFIG_H -I. -I. -g -O -o scsh/tty1.o 
scsh/tty1.c
  > gcc -c -I./cig -I./scsh/regexp -DHAVE_CONFIG_H -I. -I. -g -O -o 
scsh/userinfo1.o scsh/userinfo1.c
  > gcc -c -I./cig -I./scsh/regexp -DHAVE_CONFIG_H -I. -I. -g -O -o 
scsh/sighandlers1.o scsh/sighandlers1.c
  > gcc -c -I./cig -I./scsh/regexp -DHAVE_CONFIG_H -I. -I. -g -O -o 
scsh/sighandlers.o scsh/sighandlers.c
  > gcc -g -rdynamic  -o scshvm main.o unix.o dynload.o prescheme.o extension.o 
scheme48vm.o process_args.o cig/libcig.o cig/libcig1.o proc2.o  
scsh/dirstuff1.o scsh/fdports1.o scsh/flock.o scsh/flock1.o 
scsh/machine/stdio_dep.o scsh/machine/time_dep1.o scsh/machine/signals1.o 
scsh/machine/libansi.o scsh/network.o scsh/network1.o scsh/putenv.o 
scsh/rdelim.o scsh/re.o scsh/re1.o scsh/regexp/regexp.o scsh/regexp/regsub.o 
scsh/select.o scsh/select1.o scsh/sleep1.o scsh/syscalls.o scsh/syscalls1.o 
scsh/time.o scsh/time1.o scsh/tty.o scsh/tty1.o scsh/userinfo1.o 
scsh/sighandlers1.o scsh/sighandlers.o   -lm -lc
  > sh ./build-usual-image "." "/var1/scheme/scsh/lib/scsh" "scheme48.image" \
  >    "scshvm" "./initial.image"
  > ./env/init-defpackage.scm .
  > #{Unspecific}
  > ./more-interfaces.scm .............................
  > ./link-packages.scm ........
  > ./more-packages.scm ......................................................
  > [command-processor
  > ./env/version-info.scm ./env/command.scm ./env/read-command.scm .
  > 
...........................................................................................
  > .................
  > ]
  > #{Unspecific}
  > [usual-commands
  > [basic-commands
  > ./env/basic-command.scm .....
  > ]
  > [build-commands
  > ./env/build.scm .....
  > ]
  > [package-commands
  > [package-mutation
  > [shadowing
  > ./env/shadow.scm ...
  > ]
  > [disclosers
  > ./env/disclosers.scm ..............
  > ]
  > ./env/pedit.scm ......................
  > ]
  > ./env/pacman.scm ....................................
  > ]
  > [debug-commands
  > ./env/debug.scm .....................................................
  > ]
  > [inspect-commands
  > ./env/inspect.scm ...................................
  > ]
  > [disassemble-commands
  > ./env/disasm.scm ...............
  > ]
  > ]
  > #{Unspecific}
  > [usual-features
  > [analysis
  > [expander
  > ./opt/expand.scm ............................
  > ]
  > ./opt/analyze.scm ..............................
  > ]
  > [debuginfo
  > ./env/debuginfo.scm ..
  > ]
  > [bignums
  > [extended-numbers
  > ./rts/xnum.scm .................................................
  > ]
  > ./rts/bignum.scm 
  > Analyzing... 
  > Calls will be compiled in line: (bignum-sign bignum-magnitude 
zero-magnitude? add-magnitudes subtract-magnitudes same-magnitude?)
  > ........................................
  > ]
  > [ratnums
  > ./rts/ratnum.scm ..................
  > ]
  > [recnums
  > ./rts/recnum.scm ..............
  > ]
  > [innums
  > ./rts/innum.scm ..........
  > ]
  > ]
  > Reading ./initial.debug
  > Writing scheme48.image
  > 
  > (echo '#!/bin/sh'; \
  >  echo exec '/var1/scheme/scsh/lib/scsh/scshvm' -o 
'/var1/scheme/scsh/lib/scsh/scshvm' -i 
'/var1/scheme/scsh/lib/scsh/scheme48.image' \"\$\@\") \
  >    > script
  > chmod +x script
  > rm -f cig/libscshvm.a
  > ar cq cig/libscshvm.a main.o unix.o dynload.o prescheme.o extension.o 
scheme48vm.o process_args.o cig/libcig.o cig/libcig1.o proc2.o  
scsh/dirstuff1.o scsh/fdports1.o scsh/flock.o scsh/flock1.o 
scsh/machine/stdio_dep.o scsh/machine/time_dep1.o scsh/machine/signals1.o 
scsh/machine/libansi.o scsh/network.o scsh/network1.o scsh/putenv.o 
scsh/rdelim.o scsh/re.o scsh/re1.o scsh/regexp/regexp.o scsh/regexp/regsub.o 
scsh/select.o scsh/select1.o scsh/sleep1.o scsh/syscalls.o scsh/syscalls1.o 
scsh/time.o scsh/time1.o scsh/tty.o scsh/tty1.o scsh/userinfo1.o 
scsh/sighandlers1.o scsh/sighandlers.o   
  > ranlib cig/libscshvm.a
  > (echo ",batch"; \
  >  echo ",translate =scheme48/ ./"; \
  >  echo ",config ,load ./cig/cig.scm"; \
  >  echo ",config ,load ./cig/libcig.scm"; \
  >  echo ",load-package cig-standalone"; \
  >  echo ",in cig-standalone"; \
  >  echo ",translate =scheme48/ /var1/scheme/scsh/lib/scsh/"; \
  >  echo ",build cig-standalone-toplevel /tmp/cig") \
  > | ./scshvm -i ./scheme48.image
  > Welcome to Scheme 48 0.36 (made by  on Sun Jan 31 13:03:30 PST 1999).
  > Copyright (c) 1993, 1994 by Richard Kelsey and Jonathan Rees.
  > Please report bugs to scheme-48-bugs@martigny.ai.mit.edu.
  > Type ,? (comma question-mark) for help.
  > > Will exit on errors
  > ./cig/cig.scm ....
  > Undefined: (cig-aux)
  > ./cig/libcig.scm .
  > [cig-standalone
  > [formats
  > [extended-ports
  > [defrecord
  > ./big/defrecord.scm 
  > ]
  > ./big/xport.scm ./big/new-ports.scm 
............................................
  > .............................................................
  > ]
  > ./big/format.scm ......
  > ]
  > [destructuring
  > ./big/destructure.scm 
  > ]
  > [receiving
  > ./big/receive.scm 
  > ]
  > ...................................................
  > ]
  > Writing /tmp/cig
  > 
  > ./cig/image2script /var1/scheme/scsh/lib/scsh/scshvm </tmp/cig > cig/cig
  > chmod +x cig/cig
  > rm -f /tmp/cig
  > (echo ",batch"; \
  >  echo ",translate =scheme48/ ./"; \
  >  echo ",config ,load ./cig/cig.scm"; \
  >  echo ",config ,load ./cig/libcig.scm"; \
  >  echo ",load-package cig-aux"; \
  >  echo ",open define-foreign-syntax"; \
  >  echo ",translate =scheme48/ /var1/scheme/scsh/lib/scsh/"; \
  >  echo ",dump /tmp/cig \"(CIG Preloaded -bri)\"") \
  > | ./scshvm -o ./scshvm -i ./scheme48.image
  > Welcome to Scheme 48 0.36 (made by  on Sun Jan 31 13:03:30 PST 1999).
  > Copyright (c) 1993, 1994 by Richard Kelsey and Jonathan Rees.
  > Please report bugs to scheme-48-bugs@martigny.ai.mit.edu.
  > Type ,? (comma question-mark) for help.
  > > Will exit on errors
  > ./cig/cig.scm ....
  > Undefined: (cig-aux)
  > ./cig/libcig.scm .
  > [cig-aux
  > [define-foreign-syntax
  > [externals
  > ./big/external.scm .............
  > ]
  > ..
  > ]
  > ........
  > Warning: External not found
  >          "df_strlen_or_false"
  > .
  > Warning: External not found
  >          "df_cstring_nullp"
  > .
  > Warning: External not found
  >          "df_c2scheme_strcpy_free"
  > .
  > Warning: External not found
  >          "df_c2scheme_strcpy"
  > ......
  > Warning: External not found
  >          "df_c_veclen"
  > ...
  > Warning: External not found
  >          "df_free"
  > .
  > Warning: External not found
  >          "df_set_strvec_carriers"
  > 
  > ]
  > Writing /tmp/cig
  > 
  > ./cig/image2script /var1/scheme/scsh/lib/scsh/scshvm \
  >     -o /var1/scheme/scsh/lib/scsh/scshvm \
  >     </tmp/cig > cig/cig.image
  > chmod +x cig/cig.image
  > rm -f /tmp/cig
  > gcc -o scsh/scsh -I./cig -I./scsh/regexp -g -O \
  > -DVM=\"/var1/scheme/scsh/lib/scsh/scshvm\" \
  > -DIMAGE=\"/var1/scheme/scsh/lib/scsh/scsh.image\" \
  > scsh/scsh-tramp.c
  > (echo ",translate =scheme48/ ./"; \
  >  echo ",batch on"; \
  >  echo ",load-package floatnums"; \
  >  echo ",open externals"; \
  >  echo "(lookup-all-externals)"; \
  >  echo ",config"; \
  >  echo ",load ./scsh/let-opt.scm"; \
  >  echo ",load ./scsh/scsh-interfaces.scm"; \
  >  echo ",load ./scsh/machine/packages.scm"; \
  >  echo ",load ./scsh/scsh-package.scm"; \
  >  echo ",load-package scsh"; \
  >  echo ",load-package scsh-here-string-hax"; \
  >  echo ",translate =scheme48/ /var1/scheme/scsh/lib/scsh/"; \
  >  echo ",in scsh-level-0"; \
  >  echo "(%install-scsh-handlers)"; \
  >  echo "(autoreap-policy 'early)"; \
  >  echo ",user"; \
  >  echo ",open floatnums"; \
  >  echo ",open scsh"; \
  >  echo "(dump-scsh \"scsh/scsh.image\")") \
  > | ./scshvm -o ./scshvm -i cig/cig.image
  > Welcome to Scheme 48 0.36 (CIG Preloaded -bri).
  > Copyright (c) 1993, 1994 by Richard Kelsey and Jonathan Rees.
  > Please report bugs to scheme-48-bugs@martigny.ai.mit.edu.
  > Type ,? (comma question-mark) for help.
  > > > Will exit on errors
  > [floatnums
  > ./rts/floatnum.scm 
  > Analyzing... 
  > Calls will be compiled in line: (floatnum-datum make-float-datum exp log 
sin cos tan asin acos atan sqrt)
  > .......................................................
  > ]
  > #t
  > ./scsh/let-opt.scm ..
  > Undefined: (error-package)
  > ./scsh/scsh-interfaces.scm ...................................
  > ./scsh/machine/packages.scm .........
  > Undefined: (defenum-package)
  > ./scsh/scsh-package.scm .......................
  > [scsh
  > [scsh-level-0
  > [defrec-package
  > ./scsh/defrec.scm 
  > ]
  > [linux-defs
  > [defenum-package
  > ./scsh/enumconst.scm 
  > ]
  > ./scsh/machine/fdflags.scm ./scsh/machine/errno.scm 
./scsh/machine/signals.scm ./scsh/machine/netconst.scm 
............................
  > 
...............................................................................................................................
  > ...................................
  > ...............................................
  > ]
  > [buffered-io-flags
  > ./scsh/machine/bufpol.scm ...
  > ]
  > [partial-s48-ports
  > ]
  > [bigbit
  > ./big/bigbit.scm .....................
  > ]
  > [scsh-utilities
  > [let-opt
  > 
  > ]
  > ./scsh/utilities.scm ..............................
  > ]
  > [char-set-package
  > ./scsh/char-set.scm ........................................
  > ]
  > [scsh-version
  > ./scsh/scsh-version.scm ...
  > ]
  > [tty-flags
  > ./scsh/machine/tty-consts.scm 
..............................................................................................................
  > ]
  > ./scsh/syntax.scm ./scsh/syscalls.scm ./scsh/select.scm ./scsh/fname.scm 
./scsh/stringcoll.scm ./scsh/scsh-condition.scm ./scsh/rw.scm 
./scsh/newports.scm ./scsh/fdports.scm ./scsh/procobj.scm 
./scsh/machine/waitcodes.scm ./scsh/filesys.scm ./scsh/fileinfo.scm 
./scsh/glob.scm ./scsh/filemtch.scm ./scsh/time.scm ./scsh/machine/time_dep.scm 
./scsh/network.scm ./scsh/endian.scm ./scsh/flock.scm ./scsh/tty.scm 
./scsh/pty.scm ./scsh/sighandlers.scm ./scsh/scsh.scm ./scsh/re.scm 
./scsh/rdelim.scm ..
  > 
  > .
  > Warning: External not found
  >          "df_scheme_exec"
  > ...
  > Warning: External not found
  >          "df_exit"
  > .
  > Warning: External not found
  >          "df__exit"
  > ..
  > Warning: External not found
  >          "df_fork"
  > ...
  > Warning: External not found
  >          "df_wait_pid"
  > .
  > Warning: External not found
  >          "df_chdir"
  > ...
  > Warning: External not found
  >          "df_scheme_cwd"
  > ..
  > Warning: External not found
  >          "df_getgid"
  > .
  > Warning: External not found
  >          "df_getegid"
  > .
  > Warning: External not found
  >          "df_setgid"
  > ..
  > Warning: External not found
  >          "df_num_supp_groups"
  > .
  > Warning: External not found
  >          "df_get_groups"
  > ..
  > Warning: External not found
  >          "df_getuid"
  > .
  > Warning: External not found
  >          "df_geteuid"
  > .
  > Warning: External not found
  >          "df_setuid"
  > ..
  > Warning: External not found
  >          "df_my_username"
  > ..
  > Warning: External not found
  >          "df_getpid"
  > .
  > Warning: External not found
  >          "df_getppid"
  > .
  > Warning: External not found
  >          "df_getpgrp"
  > .
  > Warning: External not found
  >          "df_setpgid"
  > ...
  > Warning: External not found
  >          "df_setsid"
  > ..
  > Warning: External not found
  >          "df_umask"
  > ..
  > Warning: External not found
  >          "df_process_times"
  > ..
  > Warning: External not found
  >          "df_cpu_clock_ticks_per_sec"
  > ..
  > Warning: External not found
  >          "df_chmod"
  > .
  > Warning: External not found
  >          "df_fchmod"
  > ..
  > Warning: External not found
  >          "df_chown"
  > .
  > Warning: External not found
  >          "df_fchown"
  > ...
  > Warning: External not found
  >          "df_access"
  > .
  > Warning: External not found
  >          "df_link"
  > ..
  > Warning: External not found
  >          "df_mkfifo"
  > ..
  > Warning: External not found
  >          "df_mkdir"
  > ..
  > Warning: External not found
  >          "df_scm_readlink"
  > ..
  > Warning: External not found
  >          "df_rename"
  > ..
  > Warning: External not found
  >          "df_rmdir"
  > ..
  > Warning: External not found
  >          "df_scm_utime"
  > .
  > Warning: External not found
  >          "df_scm_utime_now"
  > ...
  > Warning: External not found
  >          "df_scheme_stat"
  > .
  > Warning: External not found
  >          "df_scheme_fstat"
  > .............................
  > Warning: External not found
  >          "df_symlink"
  > .
  > Warning: External not found
  >          "df_truncate"
  > .
  > Warning: External not found
  >          "df_ftruncate"
  > ..
  > Warning: External not found
  >          "df_unlink"
  > ..
  > Warning: External not found
  >          "df_fsync"
  > ..
  > Warning: External not found
  >          "df_sync"
  > .
  > Warning: External not found
  >          "df_close"
  > ..
  > Warning: External not found
  >          "df_dup"
  > ..
  > Warning: External not found
  >          "df_dup2"
  > ..
  > Warning: External not found
  >          "df_lseek"
  > ......
  > Warning: External not found
  >          "df_char_ready_fdes"
  > ..
  > Warning: External not found
  >          "df_open"
  > ...
  > Warning: External not found
  >          "df_scheme_pipe"
  > ...
  > Warning: External not found
  >          "df_read_fdes_char"
  > ..
  > Warning: External not found
  >          "df_write_fdes_char"
  > ..
  > Warning: External not found
  >          "df_read_fdes_substring"
  > .
  > Warning: External not found
  >          "df_write_fdes_substring"
  > .
  > Warning: External not found
  >          "df_kill"
  > ....
  > Warning: External not found
  >          "df_pause"
  > .
  > Warning: External not found
  >          "df_alarm"
  > ..............
  > Warning: External not found
  >          "df_user_info_uid"
  > .
  > Warning: External not found
  >          "df_user_info_name"
  > ................
  > Warning: External not found
  >          "df_group_info_gid"
  > .
  > Warning: External not found
  >          "df_group_info_name"
  > ......
  > Warning: External not found
  >          "df_open_dir"
  > .
  > Warning: External not found
  >          "df_scm_sort_filevec"
  > ..
  > Warning: External not found
  >          "df_filter_stringvec"
  > .....
  > Warning: External not found
  >          "df_scm_envvec"
  > ...
  > Warning: External not found
  >          "df_install_env"
  > ...
  > Warning: External not found
  >          "df_getenv"
  > .
  > Warning: External not found
  >          "df_putenv"
  > .
  > Warning: External not found
  >          "df_delete_env"
  > ...
  > Warning: External not found
  >          "df_close_fdport"
  > ..
  > Warning: External not found
  >          "df_fdport_getchar"
  > ..
  > Warning: External not found
  >          "df_fdport_char_readyp"
  > ..
  > Warning: External not found
  >          "df_fdport_putchar"
  > ..
  > Warning: External not found
  >          "df_flush_fdport"
  > ..
  > Warning: External not found
  >          "df_flush_all_ports"
  > ..
  > Warning: External not found
  >          "df_seek_fdport"
  > .
  > Warning: External not found
  >          "df_tell_fdport"
  > .
  > Warning: External not found
  >          "df_set_fdbuf"
  > .
  > Warning: External not found
  >          "df_set_cloexec"
  > .
  > Warning: External not found
  >          "df_init_fdports"
  > .
  > Warning: External not found
  >          "df_install_port"
  > ..
  > Warning: External not found
  >          "df_maybe_fdes2port"
  > .
  > Warning: External not found
  >          "df_move_fdport"
  > .
  > Warning: External not found
  >          "df_read_fdport_substring"
  > .
  > Warning: External not found
  >          "df_write_fdport_substring"
  > .
  > Warning: External not found
  >          "df_fcntl_read"
  > .
  > Warning: External not found
  >          "df_fcntl_write"
  > .........
  > Warning: External not found
  >          "df_sleep_until"
  > .
  > Warning: External not found
  >          "df_scm_gethostname"
  > ..
  > Warning: External not found
  >          "df_errno_msg"
  > 
  > ....
  > Warning: External not found
  >          "df_select_copyback"
  > ....
  > Warning: External not found
  >          "df_select_filter"
  > 
  > ........................
  > ...............
  > ...
  > ...........
  > 
..................................................................................
  > ............
  > ..............................
  > .....
  > .......
  > ...........................
  > ..............
  > ..
  > ...................................................
  > Warning: External not found
  >          "df_time_plus_ticks"
  > ...
  > Warning: External not found
  >          "df_scheme_time"
  > .
  > Warning: External not found
  >          "df_date2time"
  > ..
  > Warning: External not found
  >          "df_time2date"
  > ....
  > Warning: External not found
  >          "df_format_date"
  > ......
  > .
  > ..........................
  > Warning: External not found
  >          "df_socket"
  > ....
  > Warning: External not found
  >          "df_scheme_bind"
  > ...
  > Warning: External not found
  >          "df_scheme_connect"
  > ...
  > Warning: External not found
  >          "df_listen"
  > ...
  > Warning: External not found
  >          "df_scheme_accept"
  > ...
  > Warning: External not found
  >          "df_scheme_peer_name"
  > ...
  > Warning: External not found
  >          "df_scheme_socket_name"
  > ...
  > Warning: External not found
  >          "df_shutdown"
  > ...
  > Warning: External not found
  >          "df_scheme_socket_pair"
  > ........
  > Warning: External not found
  >          "df_recv_substring"
  > .....
  > Warning: External not found
  >          "df_send_substring"
  > ..
  > Warning: External not found
  >          "df_scheme_getsockopt"
  > ..
  > Warning: External not found
  >          "df_scheme_getsockopt_linger"
  > ..
  > Warning: External not found
  >          "df_scheme_getsockopt_timeout"
  > ...
  > Warning: External not found
  >          "df_scheme_setsockopt"
  > ..
  > Warning: External not found
  >          "df_scheme_setsockopt_linger"
  > ..
  > Warning: External not found
  >          "df_scheme_setsockopt_timeout"
  > .................
  > Warning: External not found
  >          "df_scheme_host_address2host_info"
  > ..
  > Warning: External not found
  >          "df_scheme_host_name2host_info"
  > ............
  > Warning: External not found
  >          "df_scheme_net_address2net_info"
  > ..
  > Warning: External not found
  >          "df_scheme_net_name2net_info"
  > ..............
  > Warning: External not found
  >          "df_scheme_serv_port2serv_info"
  > ..
  > Warning: External not found
  >          "df_scheme_serv_name2serv_info"
  > ............
  > Warning: External not found
  >          "df_scheme_proto_num2proto_info"
  > ..
  > Warning: External not found
  >          "df_scheme_proto_name2proto_info"
  > ....
  > Warning: External not found
  >          "df_veclen"
  > .
  > Warning: External not found
  >          "df_set_longvec_carriers"
  > .
  > ........
  > .
  > Warning: External not found
  >          "df_set_lock"
  > .
  > Warning: External not found
  >          "df_get_lock"
  > ................................
  > ..................................................
  > Warning: External not found
  >          "df_scheme_tcgetattr"
  > ...
  > Warning: External not found
  >          "df_scheme_tcsetattr"
  > .......
  > Warning: External not found
  >          "df_tcsendbreak"
  > ...
  > Warning: External not found
  >          "df_tcdrain"
  > ......
  > Warning: External not found
  >          "df_tcflush"
  > .......
  > Warning: External not found
  >          "df_tcflow"
  > .....
  > Warning: External not found
  >          "df_tcsetpgrp"
  > ...
  > Warning: External not found
  >          "df_tcgetpgrp"
  > ..
  > Warning: External not found
  >          "df_open_ctty"
  > .
  > Warning: External not found
  >          "df_isatty"
  > ..
  > Warning: External not found
  >          "df_ttyname"
  > ...
  > Warning: External not found
  >          "df_scm_ctermid"
  > .
  > ......
  > .
  > Warning: External not found
  >          "df_sig2interrupt"
  > ............................
  > Warning: External not found
  >          "df_do_default_sigaction"
  > .
  > Error: exception
  >        (external-call #f)
  > make: *** [scsh/scsh.image] Error 1

<Prev in Thread] Current Thread [Next in Thread>
  • trouble compiling scsh 0.5.1 on linux, David Bushnell <=