From: Gary Hall

Subject: Determining entry points when loading foreign code

Date: 1994-5-16 19:12

I am trying to make a set of C functions which write to an Oracle database 
available within Lisp.  The C code was generated using Oracle's Pro*C
preprocessor.  Here is the compilation statement:

/usr/5bin/cc -g -lc -lresolv -o wreln wreln.c /usr/local/Oracle/rdbms/lib/libsql.a 
/usr/local/Oracle/rdbms/lib/osntab.o  /usr/local/Oracle/rdbms/lib/libsqlnet.a 
/usr/local/Oracle/rdbms/lib/libora.a  

The load of the resulting object file is requested thusly:

(load "/sx/dsx/lisp/oracle-scheme/wreln"
      :foreign-files '("/usr/local/Oracle/rdbms/lib/libsql.a"
		       "/usr/local/Oracle/rdbms/lib/osntab.o"
		       "/usr/local/Oracle/rdbms/lib/libsqlnet.a"
		       "/usr/local/Oracle/rdbms/lib/libora.a"
		       )
      :system-libraries '("resolv"))

and fails thusly:

; Foreign loading /sx/dsx/lisp/oracle-scheme/wreln /usr/local/Oracle/rdbms/lib/libsql.a
 /usr/local/Oracle/rdbms/lib/osntab.o /usr/local/Oracle/rdbms/lib/libsqlnet.a
 /usr/local/Oracle/rdbms/lib/libora.a with system libraries resolv.
Error: Could not determine entry points of "/usr/local/Oracle/rdbms/lib/libsqlnet.a".

I am not sure what could be causing this problem.

Can anyone help?

Gary Hall                  | Voice (604) 291-3208 | INTERNET: <cs.sfu.ca at hall>
Centre for Systems Science | Fax   (604) 291-4424 | 
Simon Fraser University    | 			  
Burnaby, B.C.  V5A 1S6     |