Re: Any OpenSSH for sunos4?
- From: Deanna Phillips <deanna@xxxxxxxxxxxxxxxx>
- Date: Thu, 23 Mar 2006 19:11:49 +0000
Darren Tucker <dtucker@xxxxxxxxxxxxxxxx> writes:
There were reports of 3.7x being able to be built on SunOS 4.1.4
with some mods: http://bugzilla.mindrot.org/show_bug.cgi?id=735
Those mods were included in 3.8x, so if nothing else works then I'd
try 3.8.1p1.
Perfect! This version built just fine. Here are the dep and
tool versions I used, in case anyone else ever has to go through
this.
- GNU tar 1.11.8
- binutils 2.9
- gcc 2.95.2
- zlib 1.2.3
- perl-5.8.8
- openssl-0.9a
- openssh-3.8p1
Take a look in config.log and see why it's the compiler isn't
working. My guess would be it hits a recursive #include loop
and and runs in little circles until it hits a memory limit.
Just in case you're curious:
openssh-4.3p2/config.log:
configure:1265: loading cache /dev/null
configure:1412: checking for gcc
configure:1428: found /home/x/local/bin/gcc
configure:1438: result: gcc
configure:1682: checking for C compiler version
configure:1685: gcc --version </dev/null >&5
2.95.2
configure:1688: $? = 0
configure:1690: gcc -v </dev/null >&5
Reading specs from
/home/x/local/lib/gcc-lib/sparc-sun-sunos4.1.4/2.95.2/specs
gcc version 2.95.2 19991024 (release)
configure:1693: $? = 0
configure:1695: gcc -V </dev/null >&5
gcc: argument to `-V' is missing
configure:1698: $? = 1
configure:1721: checking for C compiler default output file name
configure:1724: gcc conftest.c >&5
/lib/crt0.o(.text+0x44): undefined reference to `main'
collect2: ld returned 1 exit status
configure:1727: $? = 1
configure: failed program was:
|
configure:1765: error: C compiler cannot create executables
If the problem with current versions is fixable and the fix
isn't too onerous then it would probably be accepted for the
main tree.
Due to space considerations, and for neatness, I built static on
an nfs partition. The only snag I ran into was that there
doesn't seem to be any command line or config file option to set
the location of ssh-rand-helper. Maybe this has already been
fixed; if it has, and this 3.8p1 fix gets back in the tree, then
the statically linked binaries it produced could be run from any
location.
Once again, thanks for the help.
--
deanna
.
- Follow-Ups:
- Re: Any OpenSSH for sunos4?
- From: Nico Kadel-Garcia
- Re: Any OpenSSH for sunos4?
- From: Darren Tucker
- Re: Any OpenSSH for sunos4?
- References:
- Any OpenSSH for sunos4?
- From: Deanna Phillips
- Re: Any OpenSSH for sunos4?
- From: Darren Tucker
- Any OpenSSH for sunos4?
- Prev by Date: Re: ssh no terminal but want port forwarding
- Next by Date: Re: Any OpenSSH for sunos4?
- Previous by thread: Re: Any OpenSSH for sunos4?
- Next by thread: Re: Any OpenSSH for sunos4?
- Index(es):
Relevant Pages
|