When trying to build on a Sparc IPC runing Sunos 4.1.1 I get
errors about externals not being found.
How can I debug this problem?
thanks,
mike
In particular:
gensym=$$
(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/ /usr/dist/lib/scsh/"; \
echo ",dump /tmp/cig.$gensym \"(CIG Preloaded -bri)\"") \
| ./scshvm -o ./scshvm -i ./scheme48.image
Welcome to Scheme 48 0.36 (made by gunter on Wed Nov 2 11:05:51 PST
1994).
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 .............
]
[for-syntax
[define-foreign-syntax-support
[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
]
...................................................
]
]
..
]
........
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 /usr/dist/lib/scsh/scshvm \
-o /usr/dist/lib/scsh/scshvm \
</tmp/cig.$gensym > cig/cig.image
chmod +x cig/cig.image
rm -f /tmp/cig.$gensym
./scshvm -o ./scshvm -i cig/cig.image \
< scsh/load-scsh.scm
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
Flushing location names and tabulated debug info
#t
scsh/scsh-interfaces.scm .....................
scsh/packages.scm .....
scsh/scsh-package.scm .....
[scsh
[defrec-package
scsh/defrec.scm
]
[os-dependent
[sunos-defs
scsh/enumconst.scm scsh/fdflags.scm scsh/errno.scm scsh/signals.scm
..........................
..........................................................................................
.....................
]
]
[bigbit
/usr/dist/lib/scsh/big/bigbit.scm .....................
]
[scsh-utilities
scsh/utilities.scm ........................
]
scsh/syntax.scm[for-syntax
[scsh-syntax-helpers
scsh/syntax-helpers.scm ................
]
]
scsh/syscalls.scm scsh/fname.scm scsh/stringcoll.scm
scsh/scsh-condition.scm scsh/rw.scm scsh/newports.scm
scsh/fdports.scm scsh/wait.scm scsh/filesys.scm scsh/fileinfo.scm
scsh/glob.scm scsh/filemtch.scm scsh/scsh.scm scsh/top.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"
..
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"
[ MUCH MORE OF THE SAME DELETED ]
Warning: External not found
"df_errno_msg"
.
Warning: External not found
"df_reg_match"
.
.......................
...............
...
.............
........................................................................
............
........
.......
.........................
..............
..
........................
Error: exception
(external-call #f)
*** Error code 1
sed 's=LBIN=/usr/dist/bin=g' ./scsh.man \
| sed 's=LLIB=/usr/dist/lib/scsh=g' \
| sed 's=LSCSH=scsh=g' >scsh.1
chmod +r scsh.1
make: Warning: Target `enough' not remade because of errors
|