zsh-workers
 help / color / mirror / code / Atom feed
* zsh-3.0-pre5 on Alliant Concentrix 2800
@ 1996-08-02 12:53 Louis Granboulan
  0 siblings, 0 replies; only message in thread
From: Louis Granboulan @ 1996-08-02 12:53 UTC (permalink / raw)
  To: zsh-workers

I built zsh-3.0-pre5 on an architecture not listed in Etc/MACHINES.

The machine is an   Alliant Concentrix 2800 3.0.00  known by configure
as   i860-alliant-bsd   .

I have gcc version 2.1
I did `./configure' and then `make'. It didn't work immediatly.
Here is what I did to make it work.

signals.c:465: `WNOHANG' and `WUNTRACED' undeclared
	Diagnostic:
	  HAVE_SYS_WAIT_H was undefined by ./configure, since sys/wait.h
	  is not POSIX.1 compatible.
	  But it is POSIX.1 compatible when _POSIX_SOURCE is defined.
	Solution:
	  This patch:
		*** configure.orig Sat Jul 20 19:07:14 1996
		--- configure   Fri Aug  2 14:43:19 1996
		***************
		*** 1672,1673 ****
		--- 1672,1674 ----
		  #include "confdefs.h"
		+ #define _POSIX_SOURCE
		  #include <sys/types.h>
		*** Src/system.h.orig      Mon Jul  1 20:20:44 1996
		--- Src/system.h        Fri Aug  2 14:50:08 1996
		***************
		*** 180,182 ****
		--- 180,184 ----
		  #ifdef HAVE_SYS_WAIT_H
		+ # define _POSIX_SOURCE
		  # include <sys/wait.h>
		+ # undef _POSIX_SOURCE
		  #else
	Diagnostic:
	  waitpid does not work
	Solution:
	  #undef HAVE_WAITPID /* in config.h */
zle_main.c:109: `ONLCR' undeclared
	Diagnostic:
	  Not defined in sys/termios.h (probably POSIX compliance)
	Solution:
	  #define ONLCR 0x00000004 /* in zle_main.c */
ld:  undefined symbols: __strlen __strcpy __strncpy
	Diagnostic:
	  Might be a bug in the libc of gcc
	Solution:
	  Compiling and linking this file : strings.c
		int _strlen(s) char *s;
		  {return strlen(s);}
		char *_strcpy(s1,s2) char *s1,*s2;
		  {return strcpy(s1,s2); }
		char *_strncpy(s1,s2,n) char *s1,*s2; int n;
		  {return strncpy(s1,s2,n);}


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1996-08-02 13:07 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1996-08-02 12:53 zsh-3.0-pre5 on Alliant Concentrix 2800 Louis Granboulan

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).