porting to FreeBSD
Joshua Peck Macdonald <jmacd <at> uclink.berkeley.edu>
1995-01-05 11:49:05 GMT
in dynload.c, even though my system HAS_DLOPEN, the
included file <dlfcn.h> does not exist on FreeBSD.
to correct this I included <nlist.h> and <link.h>
and tried again, the only problem with this is that
dlerror is not defined anywhere so I made a dummy
dlerror and continued. the make then completed
successfully(there are leading tabs missing in the
makefile though, had to correct this, near line 200)
(oh, also failed on make install cause the directory
doesn't exist, might wanna try mkdir /usr/local/lib/scheme48(
before trying to install things there.) It runs
I guess, except when trying the example in the
manual page for building a new image, I get a core
dump, here's a transcript
axis.root-s48 % scheme48
Welcome to Scheme 48 0.36 (made by josh on Thu Jan 5 03:28:24 PST 1995).
Copyright (c) 1993, 1994 by Richard Kelsey and Jonathan Rees.
Please report bugs to scheme-48-bugs <at> martigny.ai.mit.edu.
Type ,? (comma question-mark) for help.
> ,build (lambda (a) (display a) (newline)) foo.image
Writing foo.image
> ,exit
axis.root-s48 % scheme48 -i foo.image -a mumble
(mumble)
Segmentation fault (core dumped)
uhhh so now I don't know what to do, is there a better
more informative test to tell me what's wrong here?
(Continue reading)