Re: xspec module wont load

From: John Houck <houck>
Date: Mon, 26 Feb 2001 13:41:14 -0500
On Mon, Feb 26, 2001 at 12:09 -0500, Edward Colbert wrote:
> S-Lang Error: Intrinsic Error: Error linking to /data1/buddy/scratch/isis/isis-0.9.12/modules/lib/xspec-module.so: ld.so.1: isis: fatal: relocation error: file /data1/buddy/scratch/isis/isis-0.9.12/modules/lib/xspec-module.so: symbol main: referenced symbol not found

I'm not sure this is the solution, but try this:

edit
/data1/buddy/scratch/isis/isis-0.9.12/modules/xspec/src/Makefile
to add "-Dmain=MAIN__" to the CFLAGS line.  e.g.
it should look like
   CFLAGS   = -g -Dmain=MAIN__ ....

then
  % cd /data1/buddy/scratch/isis/isis-0.9.12/modules
  % make clean all
  
Now, run isis and import ("xspec");

If that doesn't fix it, could you describe your operating system
and fortran compiler versions?  The output of 'uname -a' and
perhaps something like 'f77 -v' would do fine.

 -- John


-- 
----------------------------------------------------------------
John C. Houck                              Phone: (617) 253-3849
MIT Center for Space Research                FAX: (617) 253-8084
One Hampshire St, NE80-6005
Cambridge, MA 02139-4307              Email: houck_at_email.domain.hidden
----
You received this message because you are
subscribed to the isis-users list.
To unsubscribe, send a message to
isis-users-request_at_email.domain.hiddenwith the first line of the message as:
unsubscribe
Received on Mon Feb 26 2001 - 13:41:29 EST

This archive was generated by hypermail 2.2.0 : Thu Mar 15 2007 - 08:45:50 EDT