hi,
when it tried to compile scsh-0.4.2 on aix 4.1.4
(echo ",translate =scheme48/ ./"; \
echo ",batch on"; \
echo ",open externals"; \
echo "(lookup-all-externals)"; \
echo ",config"; \
echo ",load ./scsh/scsh-interfaces.scm"; \
echo ",load ./scsh/machine/packages.scm"; \
echo ",load ./scsh/scsh-package.scm"; \
echo ",user"; \
echo ",load-package scsh"; \
echo ",load-package scsh-here-string-hax"; \
echo ",open scsh"; \
echo ",translate =scheme48/ /usr/local/gnu/lib/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
#t
./scsh/scsh-interfaces.scm .................................
./scsh/machine/packages.scm .........
Undefined: (defenum-package)
./scsh/scsh-package.scm ......................
[scsh
a million warnings deleted
Warning: External not found
"df_tcgetpgrp"
..
Warning: External not found
"df_open_ctty"
......
.......................
Error: exception
(external-call #f)
make: *** [scsh/scsh.image] Error 1
sysconfig.h:
/* Define USCORE if your c externals are prepended with an underscore */
/* #undef USCORE */
output of nm t.o , where t.c is int f_test() {puts( "test" ); return 0;}
<mb12(aix3) /home/michael/scsh-0.4.2>:gcc t.c -c
<mb12(aix3) /home/michael/scsh-0.4.2>:nm t.o
.f_test T 0
.puts U -
LC..0 d 112 4
TOC d 112
_t.rw_c t 88 5
f_test D 96
f_test d 96 12
t.c f -
-michael
|