[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Connection C-KCL (Bug)
- To: firstname.lastname@example.org
- Subject: Connection C-KCL (Bug)
- From: email@example.com (Guilherme Bittencourt)
- Date: Wed, 20 Jul 88 17:31:14 +0200
- Posted-date: Wed, 20 Jul 88 17:31:14 +0200
Consider the following C procedure which just redefines the "fork"
int ctest ()
i = fork();
When compiled an executed in the following C program :
It works just fine. When I integrate it to KCL through the
following Lisp function :
(defentry ltest () (int ctest))
The compilation and the linker work fine, BUT when I try to load it
in KCL I have the following message :
KCl (Kyoto Common Lisp) June 3, 1987
Error: The linkage editor failed.
Error signalled by LOAD.
Broken at LOAD. Type :H for Help.
Other system calls like "exit", "read", "dup2", do work but "fork"
is not alone in the "unworking" group "creat", "link", and (surprisingly)
"dup" do not work either. And, most interesting, in my earlier version of
KCL this bug doesn't occur !
I'll be very happy if some one could explain me this behavior, it
is very important to the connection of other systems (in my case Reduce and
Prolog) to KCL.
Thanks in advance
Guilherme BITTENCOURT +-----+ firstname.lastname@example.org
L.I.F.I.A. | <0> |
46, Avenue Felix Viallet +-----+
38031 GRENOBLE Cedex - FRANCE (33) 76574668