scsh-users
[Top] [All Lists]

scsh on MIPS SVR4 architecture

To: scsh-bugs@martigny.ai.mit.edu
Subject: scsh on MIPS SVR4 architecture
From: Frank Ridderbusch <ridderbusch.pad@sni.de>
Date: Mon, 16 Jan 95 14:45:54 MET
Comments: Hyperbole mail buttons accepted, v3.16.
Organisation: Siemens Nixdorf Informationssysteme AG, Paderborn, Germany
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. 

Can someone please give some suggestions how to continue with
debugging. I don't understand this repeated creating of "images" well
enough to proceed on my own.

Transscript follows (the sysdef.h is below):

(echo ",translate =scheme48/ ./"; \
 cat scsh/load-scsh.scm; \
 echo ",translate =scheme48/ /usr/local/lib/scsh/") \
| ./scshvm -o ./scshvm -i cig/cig.image \

Welcome to Scheme 48 0.36 (CIG Preloaded -bri).
Copyright (c) 1993, 1994 by Richard Kelsey and Jonathan Rees.
Please report bugs to scheme-48-bugs@martigny.ai.mit.edu.
Type ,? (comma question-mark) for help.
> > > > > Will exit on errors
Flushing location names and tabulated debug info
#t

... stuff deleted ...

first problem:
--------------

[scsh-regexp-package
scsh/re.scm ..................
Warning: External not found
         "df_reg_match"
. 
]

next problems:
-------------

 scsh/syscalls.scm scsh/fname.scm scsh/stringcoll.scm scsh/scsh-condition.scm 
scsh/rw.scm scsh/newports.scm scsh/fdports.scm scsh/wait.scm scsh/waitcodes.scm 
scsh/filesys.scm scsh/fileinfo.scm scsh/glob.scm scsh/filemtch.scm 
scsh/time.scm scsh/network.scm scsh/scsh.scm scsh/top.scm .......

. 
Warning: External not found
         "df_scheme_exec"
...
Warning: External not found
         "df_exit"
. 
Warning: External not found
         "df__exit"

more of these warnings follow.
last problem:
-------------

Warning: External not found
         "df_set_longvec_carriers"
. 
.......................
Error: exception
       (external-call #f)
make: *** [scsh/scsh.image] Error 1


/* sysdep.h.  Generated automatically by configure.  */
/* sysdep.h.in for Scheme 48.  Originally generated automatically from
   configure.in by autoheader, but then modified manually to add
   NLIST_HAS_N_NAME, etc.  The "configure" script creates sysdep.h
   from this file.  If "configure" doesn't work for you, copy this
   file to sysdep.h and make any appriopriate modifications.  If
   you're not sure what modifications would be appriopriate, it is
   generally safe to leave things as they are. */


/* Define const to empty if the ANSI C "const" keyword doesn't work.  */
/* #undef const */

/* Define this appropriately as the return value of a signal handler on
   your system. */
#define RETSIGTYPE void

/* Define FILE_HAS__CNT if streams, as defined in <stdio.h>, have _cnt
   components.  This is widespread but basically highly unportable.
   It is used in order to implement CHAR-READY?. */
#define FILE_HAS__CNT 1

/* Define HAVE_SELECT if the BSD-derived select() call is available.
   select() is used in order to implement CHAR-READY?. */
#define HAVE_SELECT 1

/* Define HAVE_SETITIMER if the BSD-derived setitimer() call is
   available.  In the absence of setitimer(), alarm() will be used.*/
#define HAVE_SETITIMER 1

/* Define HAVE_GETTIMEOFDAY if you have gettimeofday().  This is a BSD
   thing that returns elapsed time to the nearest microsecond (yeah,
   right).  In the absence of gettimeofday(), ftime() or time() will
   be used. */
#define HAVE_GETTIMEOFDAY 1

/* Define if you have ftime() and its associated header file sys/timeb.h.
   This is an ancient Unix version 7 thing, but if gettimeofday()
   isn't available then it may be the only way to get sub-second
   resolution for elapsed time. */
/* #undef HAVE_FTIME */
/* #undef HAVE_SYS_TIMEB_H */

/* Define if you have the nlist() function.  This is a
   not-very-portable way of looking up external symbols. */
#define HAVE_NLIST 1

/* Define if struct nlist, defined in <nlist.h>, has an n_name component.
   If it doesn't then we expect it to have an n_un component. */
#define NLIST_HAS_N_NAME 1

/* Define if you have dlopen() and related routines (dynamic linking
   of shared object files). */
#define HAVE_DLOPEN 1

/* Define if you have header file libgen.h.  This has something to do
   with locating shared object files. */
#define HAVE_LIBGEN_H 1

/* Define if you have the chroot() system call (quite inessential!). */
#define HAVE_CHROOT 1

/* Define if you have the Posix sigaction() call. */
#define HAVE_SIGACTION 1

/* Define if you have socket() and related functions. */
#define HAVE_SOCKET 1

/* Define if Posix "time.h" include file is <posix/time.h> instead of
   the standard <time.h>.  (MIPS RISC/OS) */
/* #undef POSIX_TIME_H */

/* Define this if /bin/ld exists and accepts a BSD-style -A argument
   (for dynamic loading of .o files). */
/* #undef ANCIENT_DYNLOAD */

/* Define if fd_set and friends need sys/select.h */
#define HAVE_SYS_SELECT_H 1

#if !defined(HAVE_SIGACTION)
struct sigaction {
  void (*sa_handler)();
  int sa_mask;
  int sa_flags;
};

#define sigaction(sig, act, oact) signal((sig), (act)->sa_handler)
#define sigemptyset(foo) 0
#endif

/* Under HPUX, select() is declared
      extern int select(size_t, int *, int *, int *, const struct timeval *);
   in sys/time.h.  This is probably Posix, but there's no knowing.
   Under SunOS, the int *'s are fd_set *'s. */

#if !defined(fd_set_param)
#if defined(hpux)
#  define fd_set_param int
#else
#  define fd_set_param fd_set
#endif
#endif

/* Define USCORE if your c externals are prepended with an underscore */
/* #undef USCORE */

/* Define if you have POSIX tzname (Losing sunos4...). */
#define HAVE_TZNAME 1

/* Define if your tm struct in <time.h> has a tm_gmtoff field. */
/* #undef HAVE_GMTOFF */

/* Define if you are using a Haris Nighthawk. */
/* #undef HAVE_HARRIS */

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