From: Suresh Kalathur

Subject: Building lisp image with ACL4.3 on HP-UX B.10.01

Date: 1996-10-23 11:05

Hi

  For those with access to ACL4.3 on HP-UX B10.01,
I would be thankful if you were able to build a lisp image
successfully including files with xlib calls.

Here is a sample scenario:

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  File: x.l


(ff:defforeign  'XOpenDisplay
    :entry-point (ff:convert-to-lang "XOpenDisplay")
    :arguments '(simple-string)
    :call-direct t
    :return-type :integer)

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

  File entry.c

  void useless_func ()
  {
     XOpenDisplay();
  }

%cc -c entry.c
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

With the core lisp image, compile x.l -> x.fasl.

build/install_lisp x.fasl entry.o /usr/lib/libX11.a

I get the following error:


/usr/ccs/bin/ld: Unsatisfied symbols:
   shl_findsym (code)
   shl_load (code)
   shl_unload (code)


If anyone is successful, could you please get back to me.

Thanks a lot
  
-- 
Suresh Kalathur   <ci.com) at (suresh>
Cognition Corporation
209 Burlington Rd,
Bedford, MA  01730
(617) 271-9300 x247

http://www.ci.com