Problem compiling openssh 3.9p1 on Solaris 8

From: Mattias Larsson (mattias.larsson_at_lm.se)
Date: 01/20/05

  • Next message: Alejandro Flores: "Re: how to use open ssh ip filtering"
    To: secureshell@securityfocus.com
    Date: Thu, 20 Jan 2005 15:58:59 +0100
    
    

    Hello.
     
    I just downloaded the source for OpenSSH 3.9p1 and tried to compile it
    on our Solaris 8 machines.
     
    We have gcc 3.2.2 and gcc 3.4.1 which I have tried both, on different
    servers. Both yield the same result.
    We have OpenSSL 0.9.7d in all our systems, compiled with shared libraries.
     
    echo
     
    --------
    if test ! -z ""; then \
            /usr/local/bin/perl ./fixprogs ssh_prng_cmds ; \ fi (cd
    openbsd-compat && make) gcc -O3 -mtune=ultrasparc -Wall -Wpointer-arith
    -Wno-uninitialized -I. -I.. -I. -I./.. -I/usr/local/ssl/include
    -DHAVE_CONFIG_H -c bsd-arc4random.c In file included from
    bsd-arc4random.c:18:
    ../log.h: In function `fatal':
    ../log.h:56: warning: empty declaration
    ../log.h:65: error: parse error before "volatile"
    ../log.h:65: error: old-style parameter declarations in prototyped
    function definition
    ../log.h:56: error: parameter name omitted
    bsd-arc4random.c:20: error: `rcsid' undeclared (first use in this function)
    bsd-arc4random.c:20: error: (Each undeclared identifier is reported only
    once
    bsd-arc4random.c:20: error: for each function it appears in.)
    bsd-arc4random.c:20: warning: left-hand operand of comma expression has
    no effect
    bsd-arc4random.c:20: error: parse error before '}' token
    *** Error code 1
    make: Fatal error: Command failed for target `bsd-arc4random.o'
    Current working directory /usr/local/src/openssh-3.9p1/openbsd-compat
    *** Error code 1
    make: Fatal error: Command failed for target
    `openbsd-compat/libopenbsd-compat.a'
    ----------
     
    My first guess was something wrong with perl but I'm not that good a
    programmer to understand the works of makefiles, which sais alot. =)
     
    Does anyone have a ide why this happenes?
     
    // Regards Mattias Larsson


  • Next message: Alejandro Flores: "Re: how to use open ssh ip filtering"

    Relevant Pages

    • Problem compiling openssh 3.9p1 on Solaris 8
      ... I just downloaded the source for OpenSSH 3.9p1 and tried to compile it ... We have gcc 3.2.2 and gcc 3.4.1 which I have tried both, ... make: Fatal error: Command failed for target `bsd-arc4random.o' ...
      (SSH)
    • Re: ESQL, 4GL and C/gcc on Solaris
      ... > I'm trying to compile some elderly programs on a system we're migrating to ... > Solaris 9 doesn't come with a C compiler as standard, so I've installed gcc. ... > ld: fatal: File processing errors. ... > make: Fatal error: Command failed for target `run4gl' ...
      (comp.databases.informix)
    • Switching make from Suns cc to GNUs gcc ...
      ... gcc compiler. ... But when I try and compile the samples ... make: Fatal error: Command failed for target `sample2' ...
      (comp.unix.programmer)
    • Re: openssh-3.8p1 compile problem
      ... Getting gcc to compile on it is a bit of a nightmare, ... time to do some OpenSSH testing for you folks with it? ...
      (comp.security.ssh)
    • Re: How do I install this missing library?
      ... you really should be carefully following LSTC's installation ... libg2c is part of gcc. ... to tell a newcomer to compile. ... like the source code to GNU tar, and make sure you understand what's ...
      (comp.os.linux.misc)