scsh-users
[Top] [All Lists]

Re: Can't build scsh-0.51 under Linux using configure

To: scsh-news@martigny.ai.mit.edu
Subject: Re: Can't build scsh-0.51 under Linux using configure
From: Olin Shivers <shivers@lambda.ai.mit.edu>
Date: 09 Jul 1997 19:15:59 -0400
Organization: Artificial Intelligence Lab, MIT
    pcolsen@n2ell.columbia.MD.US (Peter C. Olsen) writes:

    > I can't get scsh-0.51 to build under Linux.  I've tried it on
    > several machines, running several kernels; the results are always
    > the same.  I have built it successfully on Suns under Sunos.  The
    > Linux machine on which it failed most recently has kernel 2.0.18
    > and gcc-2.7.2.  Each attempt fails with the following message:
    > 
    >     Warning: External not found           (there are many of these)
    >        "df_do_default_sigaction"
    >     .
    >     Error: exception
    >       (external-call #f)
    >     make: *** [scsh/scsh.image] Error 1

One problem is that your scsh build is trying to make cig/cig, which it
should not do, since 
- doing that requires a functional scsh to start with,
- it isn't necessary -- the cig/cig heap image you get with the
  distribution tarball works fine. 

Say
    touch cig/cig
so that make will believe this, too.

  >  Warning: External not found
              "df_scheme_exec"

This warning occurs because when S48 loads in the scsh source, it is
trying to find the address of the compiled C function df_scheme_exec in its
innards. It means something's definitely wrong -- either S48's foreign-function
linkage system is borked, or the function's not there to be called. You can
find out if the function is there by saying
    nm scshvm | grep df_scheme_exec
and seeing if you get anything.
    -Olin

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