OpenSSH > 3.8p1 compile failure on Solaris

From: Sigmund Straumsnes (Sigmund.Straumsnes_at_iu.hio.no)
Date: 04/12/05

  • Next message: Miller, Matthew: "RE: [SPAM-Bayesian] - OpenSSH > 3.8p1 compile failure on Solaris - Bayesian Filter detected spam"
    Date: Tue, 12 Apr 2005 11:17:06 +0200 (MEST)
    To: secureshell@securityfocus.com
    
    

    I am unable to compile openssh v3.9p1 or 4.0p1 on Solaris (using GNU gcc,
    ld, as, make). 3.8p1 and earlier versions are ok.

    [...]
    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
    make[1]: *** [bsd-arc4random.o] Error 1

    I noticed that the declaration of fatal and cleanup_exit in log.h has been
    changed from __attribute__ to __dead __attribute__, but I don't know what
    difference that should make.

    If I remove the two "__dead"s in the declarations of fatal and
    cleanup_exit in log.h (i.e., reverting log.h to v3.8p1), v4.0p1 compiles
    and runs fine.

    If anyone has advice on how to determine the actual cause of the compile
    failure, and how to resolve the problem, I am thankful for any input.

    Sigmund Straumsnes


  • Next message: Miller, Matthew: "RE: [SPAM-Bayesian] - OpenSSH > 3.8p1 compile failure on Solaris - Bayesian Filter detected spam"

    Relevant Pages

    • Re: Using the Exchange Backup API
      ... This code does not compile. ... mnuexchangebkpstructs.h: see declaration of 'PBACKUP_NODE_TREE' ... >> BOOL BackupExchangeServer ...
      (microsoft.public.vc.mfc)
    • Re: Defining variable in C header file related doubt
      ... And it didn't compile, obviously. ... with int g declared in both files (and apparently ... "An external def1nition is an external declaration that is also a ... If an identif1er declared with external linkage is used in an ...
      (comp.lang.c)
    • Re: Syntax directed compilation
      ... seems to be "too much power, users write their own languages and then ... The declaration statements are executed ... compile time. ... is also a statement which is executed at compile time. ...
      (comp.compilers)
    • Re: CFormView adding GetDocument() functionality results in error C2143: syntax error : missing ; be
      ... All MFC wizard-generated code ... Well, 2 in favor of forward declaration, so that is what I am going to do. ... >> I noticed Document and Debug support missing from the class, ... >> I don't understand why it can't compile if the ...
      (microsoft.public.vc.mfc)
    • Re: Sendmail Core Dumps and Compiling Sendmail 8.11.7 on AIX 5.2 ml6
      ... Sendmail Core Dumps and Compiling Sendmail 8.11.7 on AIX 5.2 ml6 ... I'm using the IBM C compiler and gcc. ... If I try and compile with the IBM C compiler I get the following messages ... from previous declaration on line 267 of "/usr/include/stdio.h". ...
      (AIX-L)