I'm using Debian 2.0 (also known as `Hamm'), with the GNU C Library
production release version 2.0.7. The compiler is gcc version
2.7.2.3.
I had to make the following changes to scsh version 0.5.1 to get it to
compile on my system. I haven't yet tested the executable, but I
figured you might be interested in these diffs anyway.
** The GNU C library's `listen' takes an unsigned int as its
second argument.
--- ./scsh/network.c~ Sun Jun 8 19:28:10 1997
+++ ./scsh/network.c Sat Nov 7 18:02:02 1998
@@ -57,7 +57,7 @@
scheme_value df_listen(long nargs, scheme_value *args)
{
- extern int listen(int , int );
+ extern int listen(int , unsigned int );
scheme_value ret1;
int r1;
** `set_procmask' and `get_procmask' don't compile (on my system,
sigset_t is not an integer), but they're not used anywhere anyway.
--- ./scsh/sighandlers1.c~ Sun Nov 10 05:58:40 1996
+++ ./scsh/sighandlers1.c Sat Nov 7 18:02:45 1998
@@ -36,6 +36,7 @@
#include "machine/sigset.h"
+#if 0
int set_procmask(int hi, int lo, int *old_lo_p)
{
sigset_t mask, old_mask;
@@ -58,7 +59,7 @@
split_sigset(old_mask, &old_hi, old_lo_p);
return old_hi;
}
-
+#endif
** I do have libgen.h, but it doesn't declare `pathfind' -- in fact
that function isn't present at all on my system. Perhaps
`configure' should explicitly check for the function, instead of
assuming that it is declared in libgen.h.
/* Set/Get signal handlers
*******************************************************************************
--- ./dynload.c~ Sun Nov 17 10:49:54 1996
+++ ./dynload.c Sat Nov 7 18:03:13 1998
@@ -36,7 +36,7 @@
#include <dlfcn.h>
#endif
-#ifdef HAVE_LIBGEN_H
+#if defined (HAVE_LIBGEN_H) && defined (HAVE_PATHGEN)
#include <libgen.h>
/* if we have pathfind, get the file name with $LD_LIBRARY_PATH or
$S48_EXTERN_PATH */
static char *shared_object_name(char *name)
|