From: Schweiss Elsa
Subject: Calling Lisp functions from C
Date: 
Message-ID: <334CF20F.167E@lig.di.epfl.ch>
Hello,

I had a problem with Allegro Common Lisp version 4.3. I am trying to
call a Lisp function from a C program, and it prints the following error
message:

Error: loading library #p"/usr/students/schweiss/stage/my_lib.so"
       caused the following error:

       13365:/logiciels/licences/acl-4.3/bin/pb_clim2xm_composer.img:
rld:
Fatal Error: unresolvable symbol in
/usr/students/schweiss/stage/my_lib.so:
lisp_call

Thanks in advance.

             (((())))
            ((      ))                Elsa
           ((  O  ~  ))
  +-------ooO--------Ooo-----------------------------------------------+
   Ing. student Elsa Schweiss, Computer Graphics Lab (LIG)
   Swiss Federal Institute of Technology (EPFL),
   CH-1015 Lausanne Switzerland
   Tel : +(41)(21) 693-6643     Lab : +(41)(21) 693-5248
   Fax : +(41)(21) 693-5328
From: Bill Schottstaedt
Subject: re:lisp_call
Date: 
Message-ID: <5ij7lg$fpl$1@nntp.Stanford.EDU>
In article <·············@lig.di.epfl.ch>  writes:
> Fatal Error: unresolvable symbol in
> /usr/students/schweiss/stage/my_lib.so:
> lisp_call

lisp_call was removed from acl 4.3.  You might be
able to fake it with:

long lisp_call(int addr)
{
  void (*lc)(),*lisp_call_address();
  lc = lisp_call_address(addr);
  (*lc)();
}