Re: Any OpenSSH for sunos4?



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
.



Relevant Pages

  • Re: Tangent on a Tcl advantage
    ... the format of lib files is vendor specific. ... - build tclstub84.lib, using GCC ... "MyTclExtension.obj" against the GCC built tclstub84.lib, ... another compiler than the one with which the app was built. ...
    (comp.lang.tcl)
  • Re: r8169.c
    ... > Did you change the compiler as well? ... it would be nice to know if the system performs correctly when built with ... I went ahead and remotely rebuilt using gcc 2.95.4 and upon reboot it ... send the line "unsubscribe linux-kernel" in ...
    (Linux-Kernel)
  • Re: Any OpenSSH for sunos4?
    ... Those mods were included in 3.8x, so if nothing else works then I'd ... This version built just fine. ... The gcc is *WAY* out of date. ... configure:1721: checking for C compiler default output file name ...
    (comp.security.ssh)
  • Re: Kernel threads & libc
    ... Why not build the LinuxThreads port with the system's compiler? ... which is built with gcc 2.95 as well). ...
    (freebsd-hackers)
  • Re: Whats the story with the "end of XP"?
    ... Support gives them access to the larger body ... The same compiler suite may be "best" in both ... In the case of ByteCraft compilers, you are truly expert in your field, you work closely and rapidly with customers if there are any issues, and you have top class testing and quality control. ... understanding the inner workings of a relatively simple compiler like GCC ...
    (comp.arch.embedded)