Mailing List Archive

openssh-2.1.1p1 RH62 compile failure
Hello all,

Compiling 2.1.1p1 on my RedHat Linux 6.2 w/ 2.2.16 kernel seems to cause
errors from the start..

----
gcc -O2 -m486 -fno-strength-reduce -Wall -DETCDIR=\"/etc/ssh\" -DSSH_PROGRAM=\"/usr/bin/ssh\" -DSSH_ASKPASS_DEFAULT=\"/usr/libexec/ssh/ssh-askpass\" -DHAVE_CONFIG_H -c -o bsd-base64.o bsd-base64.c
In file included from defines.h:261,
from config.h:455,
from bsd-base64.c:45:
/usr/include/utmp.h:109: redefinition of `struct lastlog'
/usr/include/utmp.h:119: redefinition of `struct exit_status'
/usr/include/utmp.h:127: redefinition of `struct utmp'
make: *** [bsd-base64.o] Error 1
----

Regards,
--
Pekka Savola "Tell me of difficulties surmounted,
Pekka.Savola@netcore.fi not those you stumble over and fall"
Re: openssh-2.1.1p1 RH62 compile failure [ In reply to ]
On Sat, 10 Jun 2000, Pekka Savola wrote:

> Hello all,
>
> Compiling 2.1.1p1 on my RedHat Linux 6.2 w/ 2.2.16 kernel seems to cause
> errors from the start..

No idea what is happening here - I compile OpenSSH on RH6.2 every
other day.

Have you changed any of the includes or libraries?

-d

--
| "Bombay is 250ms from New York in the new world order" - Alan Cox
| Damien Miller - http://www.mindrot.org/
| Email: djm@mindrot.org (home) -or- djm@ibs.com.au (work)
Re: openssh-2.1.1p1 RH62 compile failure [ In reply to ]
> > Compiling 2.1.1p1 on my RedHat Linux 6.2 w/ 2.2.16 kernel seems to cause
> > errors from the start..
>
> No idea what is happening here - I compile OpenSSH on RH6.2 every
> other day.
>
> Have you changed any of the includes or libraries?

Ah, my bad, sorry. I had edited /usr/include/utmp.h when creating a fix
for broken configure w/ bash2 but forgot to change the file back.

It seems configure is still broken with bash2 :(

--
Pekka Savola "Tell me of difficulties surmounted,
Pekka.Savola@netcore.fi not those you stumble over and fall"