You have to change some of the standard header files supplied with your version of Interactive. You also need to change some of the include files in the gcc-lib/include directory.
Let us say the gcc-files are in directory
/usr/local/lib/gcc-lib/i[345]86-isc[34].[0-9]/2.6.x
referred to as "gcc-lib"
/usr/include/sys/limits.h
and gcc-lib/include/sys/limits.h
#ifndef OPEN_MAX #ifdef ISC #define OPEN_MAX 256 #else #define OPEN_MAX 20 #endif #endif
OPEN_MAX
had to be increased to prevent
Xlib Errors (max no. of clients reached).
/usr/include/sys/ioctl.h
surrounded by
#ifndef _IOCTL_H #define _IOCTL_H ... #endifto prevent multiple includes.
/usr/include/errno.h
(and the corresponding gcc-include-file) add
#include <net/errno.h>because of EWOULDBLOCK undefined in several places regarding lbx. Surround
/usr/include/net/errno.h
with
#ifndef _NET_ERRNO_H #define _NET_ERRNO_H ... #endif
to prevent multiple includes were <net/errno.h>
is explicit included from the sources.
/usr/include/rpc/types.h
copy this file to gcc-lib/include/rpc/types.h
and change the declaration of malloc() to
#if !defined(__cplusplus) extern char *malloc(); #endif
Note that this is only necessary if you want to build Fresco
Next Chapter, Previous Chapter
Table of contents of this chapter, General table of contents
Top of the document, Beginning of this Chapter