zsh-workers
 help / color / mirror / code / Atom feed
* Re: DEC Alpha - Digital Unix 3.0 - Re: Diff file for 3.1.6-test-2 available
  1999-07-19 14:47 ` DEC Alpha - Digital Unix 3.0 - Re: Diff file for 3.1.6-test-2 available Irving_Wolfe
@ 1999-07-19 14:37   ` Peter Stephenson
  0 siblings, 0 replies; 3+ messages in thread
From: Peter Stephenson @ 1999-07-19 14:37 UTC (permalink / raw)
  To: zsh-workers

Irving_Wolfe@Happy-Man.com wrote:
> My "make all" ended with:
> 
> gcc -c -I.  -DHAVE_CONFIG_H -DMODULE -Wall -Wno-implicit -Wmissing-prototypes
>  -O2 -fpic -o clone..o clone.c
> clone.c: In function `bin_clone':
> clone.c:64: too few arguments to function `ioctl'
> *** Exit 1
> Stop.

Don't see why ioctl() shouldn't have three arguments, like it does
everywhere else in the code --- some manual pages specify this --- but it's
weird this hasn't shown up before.  Maybe it's got something to do with the
difference between varargs and stdarg?

--- Src/Modules/clone.c.ioc	Thu Dec 17 12:17:01 1998
+++ Src/Modules/clone.c	Mon Jul 19 16:26:35 1999
@@ -61,7 +61,7 @@
 	    zwarnnam(nam, "failed to create new session: %e", NULL, errno);
 #endif
 #ifdef TIOCNOTTY
-	    if (ioctl(SHTTY, TIOCNOTTY))
+	    if (ioctl(SHTTY, TIOCNOTTY, 0))
 		zwarnnam(nam, "%e", NULL, errno);
 	    setpgrp(0L, mypid);
 #endif

-- 
Peter Stephenson <pws@ibmth.df.unipi.it>       Tel: +39 050 844536
WWW:  http://www.ifh.de/~pws/
Dipartimento di Fisica, Via Buonarroti 2, 56127 Pisa, Italy


^ permalink raw reply	[flat|nested] 3+ messages in thread

* DEC Alpha - Digital Unix 3.0 - Re: Diff file for 3.1.6-test-2 available
       [not found] <9907191000.AA13440@ibmth.df.unipi.it>
@ 1999-07-19 14:47 ` Irving_Wolfe
  1999-07-19 14:37   ` Peter Stephenson
  1999-07-19 16:31 ` Tanaka Akira
  1 sibling, 1 reply; 3+ messages in thread
From: Irving_Wolfe @ 1999-07-19 14:47 UTC (permalink / raw)
  To: zsh-workers; +Cc: i-a-o

My "make all" ended with:

gcc -c -I.  -DHAVE_CONFIG_H -DMODULE -Wall -Wno-implicit -Wmissing-prototypes -O2 -fpic -o cap..o cap.c
rm -f cap.so
ld  -s -shared -o cap.so   cap..o   -ltermcap -lc
ld:
Warning: Unresolved:
bin_notavail
addbuiltins
deletebuiltins
gcc -c -I.  -DHAVE_CONFIG_H -DMODULE -Wall -Wno-implicit -Wmissing-prototypes -O2 -fpic -o clone..o clone.c
clone.c: In function `bin_clone':
clone.c:64: too few arguments to function `ioctl'
*** Exit 1
Stop.

"uname -a" gives:

OSF1 gonzo V3.0 347 alpha alpha

I had fixed the ypclnt.h file as advertised
in Etc/MACHINES.

I don't know enough to fix anything or
explain anything, but if information
I can provide would help someone more
knowledgeable make things work, I'd be
happy to follow instructions. 

Regards,
 - Irving


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Diff file for 3.1.6-test-2 available
       [not found] <9907191000.AA13440@ibmth.df.unipi.it>
  1999-07-19 14:47 ` DEC Alpha - Digital Unix 3.0 - Re: Diff file for 3.1.6-test-2 available Irving_Wolfe
@ 1999-07-19 16:31 ` Tanaka Akira
  1 sibling, 0 replies; 3+ messages in thread
From: Tanaka Akira @ 1999-07-19 16:31 UTC (permalink / raw)
  To: zsh-workers

In article <9907191000.AA13440@ibmth.df.unipi.it>,
  Peter Stephenson <pws@ibmth.df.unipi.it> writes:

> I have uploaded to ftp.zsh.org the file
>   ftp://ftp.zsh.org/pub/testing/zsh-3.1.6-test-1-test-2.diff.gz

Under SunOS 4, make is failed with:

gcc -c -I.  -DHAVE_CONFIG_H -DMODULE -Wall -Wno-implicit -Wmissing-prototypes -O2 -fpic -o mapfile..o mapfile.c
mapfile.c: In function `setpmmapfile':
mapfile.c:146: `MS_SYNC' undeclared (first use in this function)
mapfile.c:146: (Each undeclared identifier is reported only once
mapfile.c:146: for each function it appears in.)
gmake[3]: *** [mapfile..o] Error 1

--- Src/Modules/mapfile.c-	Tue Jul 20 01:17:22 1999
+++ Src/Modules/mapfile.c	Tue Jul 20 01:17:46 1999
@@ -143,6 +143,9 @@
 	 */
 	ftruncate(fd, len);
 	memcpy(mmptr, value, len);
+#ifndef MS_SYNC
+#define MS_SYNC 0
+#endif
 	msync(mmptr, len, MS_SYNC);
 	/*
 	 * Then we need to truncate again, since mmap() always maps complete

> I have only received a couple of pieces of information for Etc/MACHINES.
> Please let us (zsh-workers@sunsite.auc.dk) know if you compile zsh and your
> system configuration (including OS version) is not mentioned there, or
> there are limitations not mentioned there.

I tried to compile 3.1.6-test-2 under some platforms and I sensed:

Under FreeBSD 2.2.8 and BSD/OS 3.0, dynamic loading is disabled
automatically.

Under Solaris 7, there is no problem with egcs-1.1.2 and dynamic
loading. (on my environment at least)
-- 
Tanaka Akira


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~1999-07-19 18:41 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <9907191000.AA13440@ibmth.df.unipi.it>
1999-07-19 14:47 ` DEC Alpha - Digital Unix 3.0 - Re: Diff file for 3.1.6-test-2 available Irving_Wolfe
1999-07-19 14:37   ` Peter Stephenson
1999-07-19 16:31 ` Tanaka Akira

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).