scsh-users
[Top] [All Lists]

scsh linux compilation problems

To: scsh-bugs@martigny.ai.mit.edu
Subject: scsh linux compilation problems
From: Randolph Fritz <randolph@efn.org>
Date: Wed, 23 Jun 1999 16:19:02 -0700 (PDT)
Dear scsh people,

Hello!

I'm having trouble compiling scsh on Red Hat Red Hat 6.0 Linux with a 
2.2.5 kernel.

There are two problems, one in network.c and one in sighandlers1.c.

1. In network.c, scsh declares listen() as follows:

   extern int listen(int , int );

But the system declares listen() in sys/socket.h as:

   extern int listen __P ((int __fd, unsigned int __n));

2. sighandlers1.c assumes that sigset_t is int; the declaration in
/usr/include/bits/sigset.h uses a struct containing an array of ints,
apparently for word-size independence.

Thanks for your attention.

Randolph Fritz
Eugene, Oregon



<Prev in Thread] Current Thread [Next in Thread>
  • scsh linux compilation problems, Randolph Fritz <=