Article View: mod.computers.apollo
Article #92Re: /bin/cc, /com/cc, uupath, pathalias...
From: apollo
Date: Wed, 29 Jan 1986 17:00
Date: Wed, 29 Jan 1986 17:00
99 lines
3488 bytes
3488 bytes
I have tried to install the pathalias and uupath software on our net and
have come across a few problems. Before I go in and hack the c source,
has anybody out there tried this yet and found solutions to the problems?
The only problem is that you run out of sbrk space. Unix programs assume
that sbrk space is always contiguously allocated, which is mutually exclusive
with a rich mapped address space such as is provided by aegis.
Here are the mods I made to pathalias to get it to work:
% diff -c Makefile_o Makefile
*** Makefile_o Tue Aug 20 10:17:25 1985
--- Makefile Tue Aug 20 11:25:29 1985
***************
*** 10,16
LDFLAGS =
YFLAGS = -d
! OBJ = addlink.o addnode.o extern.o local.o main.o mapit.o mapaux.o mem.o parse.o yylex.o
HDRS = def.h config.h
SRC = addlink.c addnode.c extern.c local.c main.c mapit.c mapaux.c mem.c parse.y yylex.c
CSRC = addlink.c addnode.c extern.c local.c main.c mapit.c mapaux.c mem.c parse.c yylex.c
--- 10,16 -----
LDFLAGS =
YFLAGS = -d
! OBJ = addlink.o addnode.o extern.o local.o main.o mapit.o mapaux.o mem.o parse.o yylex.o sbrk.o
HDRS = def.h config.h
SRC = addlink.c addnode.c extern.c local.c main.c mapit.c mapaux.c mem.c parse.y yylex.c
CSRC = addlink.c addnode.c extern.c local.c main.c mapit.c mapaux.c mem.c parse.c yylex.c
% diff -c config.h_o config.h
*** config.h_o Tue Aug 20 10:17:30 1985
--- config.h Tue Aug 20 11:23:24 1985
***************
*** 7,13
#define UNAME /* */
/* memset() -- probably system v or 8th ed. */
! #define MEMSET /* */
/* gethostname() -- probably 4.2bsd */
/* #define GETHOSTNAME /* */
--- 7,13 -----
#define UNAME /* */
/* memset() -- probably system v or 8th ed. */
! /* #define MEMSET /* */
/* gethostname() -- probably 4.2bsd */
/* #define GETHOSTNAME /* */
***************
*** 13,19
/* #define GETHOSTNAME /* */
/* bzero() -- probably 4.2bsd */
! /* #define BZERO /* */
/* default place for dbm output of makedb; can use -o file at run-time */
#define ALIASDB "/usr/local/lib/palias"
--- 13,19 -----
/* #define GETHOSTNAME /* */
/* bzero() -- probably 4.2bsd */
! #define BZERO /* */
/* default place for dbm output of makedb; can use -o file at run-time */
#define ALIASDB "/usr/lib/uupaths"
***************
*** 34,40
*
* perkin-elmer 3220 wants ALIGN to be 2.
*/
! #define ALIGN 0
/****************************************/
/* END OF CONFIGURATION SECTION */
--- 34,40 -----
*
* perkin-elmer 3220 wants ALIGN to be 2.
*/
! #define ALIGN 1
/****************************************/
/* END OF CONFIGURATION SECTION */
% cat sbrk.c
#include "/sys/ins/base.ins.c"
#include "/sys/ins/rws.ins.c"
char *sbrk(n)
long n;
{
return rws_$alloc_rw(n);
}
-------
Technical Details
Message-ID:
<8601300647.AA02234@uw-beaver.arpa>Path:
arc1-ca.pugleaf.net!utzoo!decvax!decwrl!ucbvax!apolloShow Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.3 4.3bsd-beta 6/6/85; site ucbvax.BERKELEY.EDU Path: arc1-ca.pugleaf.net!utzoo!decvax!decwrl!ucbvax!apollo From: apollo@ucbvax.UUCP Newsgroups: mod.computers.apollo Subject: Re: /bin/cc, /com/cc, uupath, pathalias... Message-ID: <8601300647.AA02234@uw-beaver.arpa> Date: Wed, 29-Jan-86 12:00:18 EST Article-I.D.: uw-beave.8601300647.AA02234 Posted: Wed Jan 29 12:00:18 1986 Date-Received: Fri, 31-Jan-86 02:28:50 EST Sender: daemon@ucbvax.BERKELEY.EDU Organization: The ARPA Internet Lines: 99 Approved: apollo@yale-comix.arpa