Can a Solaris person take a look at this? -- | Damien Miller <djm at mindrot.org> \ ``E-mail attachments are the poor man's | mindrot.org / distributed filesystem'' - Dan Geer ---------- Forwarded message ---------- Date: Wed, 28 Feb 2001 12:33:48 +0200 From: owner-ssh at clinet.fi To: ssh at clinet.fi Subject: make 2.5.1p1 on Solaris8 Trying to build 2.5.1p1 on Solaris 8 x86 with patches from 01/01: gcc -g -O2 -Wall -I/opt/include -I/opt/include/openssl -I/usr/local/include -I/o pt/include -I/opt/include -I. -I./openbsd-compat -I. -DETCDIR=\"/etc/opt/ssh\" - D_PATH_SSH_PROGRAM=\"/opt/openssh/bin/ssh\" -D_PATH_SSH_ASKPASS_DEFAULT=\"/opt/o penssh/libexec/ssh-askpass\" -D_PATH_SFTP_SERVER=\"/opt/openssh/libexec/sftp-ser ver\" -DHAVE_CONFIG_H -c scp.c scp.c: In function `foregroundproc': scp.c:1124: too many arguments to function `getpgrp' make: *** [scp.o] Error 1 Do you know what is wrong? Thanks in advance, Peter
Quoting Damien Miller <djm at mindrot.org>:> Can a Solaris person take a look at this? > > -- > | Damien Miller <djm at mindrot.org> \ ``E-mail attachments are the poor man's > | mindrot.org / distributed filesystem'' - Dan Geer > > ---------- Forwarded message ---------- > Date: Wed, 28 Feb 2001 12:33:48 +0200 > From: owner-ssh at clinet.fi > To: ssh at clinet.fi > Subject: make 2.5.1p1 on Solaris8 > > Trying to build 2.5.1p1 on Solaris 8 x86 with patches from 01/01: > > gcc -g -O2 -Wall -I/opt/include -I/opt/include/openssl -I/usr/local/include > -I/o > pt/include -I/opt/include -I. -I./openbsd-compat -I. > -DETCDIR=\"/etc/opt/ssh\" - > D_PATH_SSH_PROGRAM=\"/opt/openssh/bin/ssh\" > -D_PATH_SSH_ASKPASS_DEFAULT=\"/opt/o > penssh/libexec/ssh-askpass\" > -D_PATH_SFTP_SERVER=\"/opt/openssh/libexec/sftp-ser > ver\" -DHAVE_CONFIG_H -c scp.c > scp.c: In function `foregroundproc': > scp.c:1124: too many arguments to function `getpgrp' > make: *** [scp.o] Error 1Well, the Solaris 8 manpage says that getpgrp takes no arguments. My guess is that GETPGRP_VOID is not being defined so the macro #define getpgrp() getpgrp(0) is being used. This would point to a bug in autoconf, specifically in the AC_FUNC_GETPGRP macro. To confirm my guess, look in config.h for the line #define GETPGRP_VOID 1 Note: I don't get this problem with Solaris 8 (Sparc) on CVS as of a week ago. Cheerio, Andrew Stribblehill Systems programmer, IT Service, University of Durham England
i built 2.5.1p2 on 4 or 5 solaris 7 machines yesterday without incident. they were all sparc machines running solaris 7, using: ./configure --prefix=/usr --sysconfdir=/etc/ssh --with-pam --disable-suid-ss h unfortunately, i don't have any solaris 8 machines to test on, so this may be a solaris 8 or solaris-on-x86 specific issue :/ devon ----- Original Message ----- From: "Damien Miller" <djm at mindrot.org> To: <openssh-unix-dev at mindrot.org> Sent: Friday, March 02, 2001 3:14 AM Subject: make 2.5.1p1 on Solaris8 (fwd)> Can a Solaris person take a look at this? > > -- > | Damien Miller <djm at mindrot.org> \ ``E-mail attachments are the poorman's> | mindrot.org / distributed filesystem'' - Dan Geer > > ---------- Forwarded message ---------- > Date: Wed, 28 Feb 2001 12:33:48 +0200 > From: owner-ssh at clinet.fi > To: ssh at clinet.fi > Subject: make 2.5.1p1 on Solaris8 > > Trying to build 2.5.1p1 on Solaris 8 x86 with patches from 01/01: > >gcc -g -O2 -Wall -I/opt/include -I/opt/include/openssl -I/usr/local/include> -I/o > pt/include -I/opt/include -I. -I./openbsd-compat -I. > -DETCDIR=\"/etc/opt/ssh\" - > D_PATH_SSH_PROGRAM=\"/opt/openssh/bin/ssh\" > -D_PATH_SSH_ASKPASS_DEFAULT=\"/opt/o > penssh/libexec/ssh-askpass\" > -D_PATH_SFTP_SERVER=\"/opt/openssh/libexec/sftp-ser > ver\" -DHAVE_CONFIG_H -c scp.c > scp.c: In function `foregroundproc': > scp.c:1124: too many arguments to function `getpgrp' > make: *** [scp.o] Error 1 > > Do you know what is wrong? > > Thanks in advance, > > Peter > > >
Possibly Parallel Threads
- [2.2.0p1] patch: generic detection of correct getpgrp() invocation
- OpenSSH 2.3.0p1: HP-UX 11.00 64-bit
- SFTP Status Bar..
- OpenSSH 2.5.1p1 won't compile on Solaris 8 x86 (fwd)
- Recent openssl is required for OPENSSL_free [Re: Please test snapshots for 3.0 release] (fwd)