#12 Build failure on Irix 6.2 system

closed-duplicate
build (18)
1
2001-09-17
2001-03-12
No

From: Mike Gunter <gunter@botrytis.mti.sgi.com>
To: scsh-bugs@martigny.ai.mit.edu
Subject: Build failure on Irix 6.2 system
Date: Tue, 10 Dec 1996 13:36:41 -0800

I'm trying to build scsh-0.4.4 on a machine running
Irix 6.2. The
link of scshvm dies with:

ld: ERROR 33: Unresolved data symbol "sig2int" --
1st referenced by scsh/sigh\ andlers1.o.

I find a declaration of sig2int in scsh/signals1.h but
the only
definitions I find in the distribution are
bsd/signals1.c and
hpux/signals1.c. Do I need an irix/signals1.c? Does
one already
exist? Or do I need to write one?

thanks,
mike

Discussion

    • priority: 5 --> 1
     
  • Logged In: YES
    user_id=27364

    From: Mike Gunter <gunter@botrytis.mti.sgi.com>
    To: "Brian D. Carlstrom" <bdc@ai.mit.edu>
    Subject: Build failure on Irix 6.2 system
    Date: Tue, 10 Dec 1996 13:53:24 -0800

    > Mike Gunter writes:
    > > I find a declaration of sig2int in scsh/signals1.h
    but the only
    > > definitions I find in the distribution are
    bsd/signals1.c and
    > > hpux/signals1.c. Do I need an irix/signals1.c? Does
    one already
    > > exist? Or do I need to write one?

    > Apparently this was a new requirement for 0.4.4. we
    provided the
    > platform support we had. could you supply an irix
    version for us?
    >
    > anyone else out there have versions for different ports?
    > i can't believe its gone unnoticed this long

    I don't understand how scsh builds anywhere. The
    Makefile.in I have
    makes no reference of scsh/machine/signals1.o.

    What's up?

    mike

     
  • Logged In: YES
    user_id=27364

    This seems related, a separate report however...

    -bri

    From: Jarmo Hurri <jarmo@nucleus.hut.fi>
    Sender: jarmo@nucleus.hut.fi
    To: scsh-bugs@martigny.ai.mit.edu
    Subject: Minor change for scsh in SGI IRIX 6.2
    Date: Wed, 12 Nov 1997 13:11:55 +0200

    Hi!

    I compiled scsh for Silicon Graphics Indy workstations
    running IRIX 6.2.
    I had to change one
    header file in order to compile successfully. The change
    was done in
    file machine/sigset.h,
    and was

    james /share/local/src/scsh/scsh-0.5.1/scsh/machine % diff
    sigset.h
    sigset.h~
    5c5
    < #define make_sigset(maskp, hi, lo)
    ((maskp)->__sigbits[0]=((hi)<<24)|(lo))
    ---
    > #define make_sigset(maskp, hi, lo)
    ((maskp)->sigbits[0]=((hi)<<24)|(lo))
    9,10c9,10
    < ((*(hip)=((mask).__sigbits[0]>>24)&0xff), \ < (*(lop)=((mask).__sigbits[0]&0xffffff)))
    ---
    > ((*(hip)=((mask).sigbits[0]>>24)&0xff), \ > (*(lop)=((mask).sigbits[0]&0xffffff)))

    So I just changed sigbits to __sigbits. I hope you can
    incorporate this
    change into your package
    so that scsh can be made available to as many programmers
    as possible.

    --
    ************************************************************
    ***********
    Jarmo Hurri
    Helsinki University of Technology
    Laboratory of Computer and Information Sciences

    jarmo.hurri@hut.fi
    tel. +358-9-4513286
    fax +358-9-4513277
    ************************************************************
    ***********

     
    • status: open --> closed-duplicate
     
  • Logged In: YES
    user_id=17553

    This is a dublicate of #428045.