[Nickle] nickle from CVS (2002-12-04) fails loading builtins
Carl Worth
nickle@nickle.org
Wed, 4 Dec 2002 15:54:28 -0500
I recently found nickle crashing on a trivial and innocent-looking
file:
$ cat foo.5c
public typedef struct {
int x;
} foo;
foo bar;
$ /usr/local/bin/nickle foo.5c
Segmentation fault
I checked and I had last updated nickle on 2002-09-12, (I also had an
older version from 2002-08-12 that didn't have the problem).
I tried updating to current CVS, but now nickle fails to start:
$ nickle
-> if (!lex_library (name))
/usr/local/share/nickle/builtin.5c:21: No visible symbol "lex_library"
in scope
/usr/local/share/nickle/builtin.5c:31: parse error before
"\"string.5c"
/usr/local/share/nickle/builtin.5c:32: parse error before "\"ctype.5c"
/usr/local/share/nickle/builtin.5c:33: parse error before
"\"printf.5c"
/usr/local/share/nickle/builtin.5c:34: parse error before
"\"history.5c"
/usr/local/share/nickle/builtin.5c:38: parse error before
"\"command.5c"
/usr/local/share/nickle/builtin.5c:43: parse error before "\"math.5c"
/usr/local/share/nickle/builtin.5c:45: parse error before "\"scanf.5c"
/usr/local/share/nickle/builtin.5c:49: parse error before "Abort"
/usr/local/share/nickle/builtin.5c:50: parse error before "Mutex"
/usr/local/share/nickle/builtin.5c:51: parse error before "ARC4"
/usr/local/share/nickle/builtin.5c:52: parse error before "PRNG"
-> Command::script_dir (Command::dirname (argv[0]));
/usr/local/share/nickle/builtin.5c:60: No visible symbol "script_dir"
in scope
-> Command::script_dir (Command::dirname (argv[0]));
/usr/local/share/nickle/builtin.5c:60: No visible symbol "dirname" in
scope
Are others seeing this or is it just me?
I don't know if the bug causing the segfault is resolved yet or not.
-Carl
PS. I only wrote 20 lines of nickle code yesterday, and I've already
run into two problems... I guess that means I get to write my next 80
lines of code without hitting any nickle bugs, right Bart?
--
Carl Worth
USC Information Sciences Institute cworth@isi.edu