OpenSSH mailing list, openssh-unix-dev at mindrot.org, added to Cc. On Tue, Jan 16, 2001 at 10:47:59AM -0500, Etienne Lebel wrote:> I try to install openssh-2.3.0p1/2.2.0p4 on a solaris 2.7 and I always got a > core dump with the ssh-keygen. But when I installed the 2.1.1p4 everything > was fine. Why ?That's funny... I can't even get it to compile on Solaris 2.7 with gcc 2.8.1 or 2.95.2. It bombs out in log.c with a shit load of errors complaining that __builtin_va_alist is undeclared. Where did you get the package you are trying to install? Did you compile it yourself? If yes, how and what is your configuration? If not, where did the binary package come from and what system was it compiled for?> The error that comes up at the installation process is when openssh generate > the key with ssh-keygen. Look at the error message> ./ssh-keygen > Bus Error (core dumped)> Thanks> EtienneMike -- Michael H. Warfield | (770) 985-6132 | mhw at WittsEnd.com (The Mad Wizard) | (678) 463-0932 | http://www.wittsend.com/mhw/ NIC whois: MHW9 | An optimist believes we live in the best of all PGP Key: 0xDF1DD471 | possible worlds. A pessimist is sure of it!
On Tue, Jan 16, 2001 at 01:22:28PM -0500, Michael H. Warfield wrote:> OpenSSH mailing list, openssh-unix-dev at mindrot.org, added to Cc.> On Tue, Jan 16, 2001 at 10:47:59AM -0500, Etienne Lebel wrote: > > I try to install openssh-2.3.0p1/2.2.0p4 on a solaris 2.7 and I always got a > > core dump with the ssh-keygen. But when I installed the 2.1.1p4 everything > > was fine. Why ?> That's funny... I can't even get it to compile on Solaris 2.7 > with gcc 2.8.1 or 2.95.2. It bombs out in log.c with a shit load of > errors complaining that __builtin_va_alist is undeclared.Just solved my own problem thanks to the OpenSSH mailing list archives. I had to edit the Makefile and change "-I/usr/include" to "-i/usr/include" (include the system directories AFTER the compiler include directories) and then everything built correctly. The message in the archives about this problem was dated 03/14/2000. Why hasn't this made it into the sources?> Where did you get the package you are trying to install? Did > you compile it yourself? If yes, how and what is your configuration? > If not, where did the binary package come from and what system was it > compiled for?> > The error that comes up at the installation process is when openssh generate > > the key with ssh-keygen. Look at the error message > > > ./ssh-keygen > > Bus Error (core dumped)Try rebuilding from sources. Mine is now working great!> > Thanks> > EtienneMike -- Michael H. Warfield | (770) 985-6132 | mhw at WittsEnd.com (The Mad Wizard) | (678) 463-0932 | http://www.wittsend.com/mhw/ NIC whois: MHW9 | An optimist believes we live in the best of all PGP Key: 0xDF1DD471 | possible worlds. A pessimist is sure of it!
--On Tuesday, January 16, 2001 3:54 PM -0500 "Michael H. Warfield" <mhw at wittsend.com> wrote:> Just solved my own problem thanks to the OpenSSH mailing list > archives. I had to edit the Makefile and change "-I/usr/include" to > "-i/usr/include" (include the system directories AFTER the compiler > include directories) and then everything built correctly.Actually, the _correct_ fix is to _remove_ -I/usr/include completely. Let the compiler do its job. What dain-bramaged OS caused that to make it into compile flags in the first place? -- Carson