scsh-users
[Top] [All Lists]

Re: scsh on MIPS SVR4 architecture

To: ridderbusch.pad@sni.de
Subject: Re: scsh on MIPS SVR4 architecture
From: brent@jade.ssd.csd.harris.com (Brent Benson)
Date: Mon, 16 Jan 95 09:29:33 -0500
Cc: scsh-bugs@martigny.ai.mit.edu
Reply-to: Brent.Benson@mail.csd.harris.com
# Date: Mon, 16 Jan 95 14:45:54 MET
# From: Frank Ridderbusch <ridderbusch.pad@sni.de>
# 
# I'm trying to get scsh 0.3 running on a MIPS R4000 based SVR4
# system (Pyramid DCOSX 1.x/Siemens Nixdorf SINIX 5.42). configure runs
# okay (I used the IRIX configuration files). The initial binaries also
# build okay. I'm getting problems during the (I think) last stage. A
# transscript follows. 
# 
# [scsh-regexp-package
# scsh/re.scm ..................
# Warning: External not found
#          "df_reg_match"
# . 
# ]

This means that scsh is having trouble finding symbols with
dlopen/dlsym.  There are a couple of possibilities.  On my platform
(also a SYSVish OS) I had to pass the option -Bexport to the linker
when it linked the virtual machine.  This option tells the linker to
make the symbols that are actually part of the executable available to
the dlopen/dlsym functions.  (I actually had to set LDFLAGS to
-Wl,-Bexport because "-Wl," is the prefix that tells the C driver to
pass the following option directly to the linker.)

To find out whether this is your problem you should check the manuals
(or ask a guru) as to whether symbols in the executable are exported
by default (symbols in a shared library are always exported by default
in systems I'm familiar with).  If the executable symbols aren't
exported by default, try the appropriate LDFLAGS incantation in the
Makefile.

If this is not the problem, you might need to run the virtual machine
inside the debugger and set a breakpoint dynamic_load() to see what is
actually going on.

Good luck!
Brent

<Prev in Thread] Current Thread [Next in Thread>