Make error durring compilation of OpenSSH 4.3p1 on HP-UX 11.00

David Leonard David.Leonard at quest.com
Fri Feb 3 08:42:23 EST 2006


Tob_Sch at gmx.de wrote:

>But on HP-UX 11.00 (gcc 3.3.2), "make" produces following.
>[...]
>/usr/ccs/bin/ld: Unsatisfied symbols:
>   _U_Qfneg (first referenced in
>openbsd-compat//libopenbsd-compat.a(bsd-arc4random.o)) (code)
>  
>
gcc is busted on your platform. use hp's compiler, or try this horrible 
patch:

--- openbsd-compat/bsd-snprintf.c       23 Dec 2005 00:58:12 -0000      1.3
+++ openbsd-compat/bsd-snprintf.c       2 Feb 2006 21:39:00 -0000
@@ -551,12 +551,13 @@
        }
 }

+LDOUBLE _hackery_zero = 0;
 static LDOUBLE abs_val(LDOUBLE value)
 {
        LDOUBLE result = value;

        if (value < 0)
-               result = -value;
+               result = _hackery_zero-value;

        return result;
 }

bugzilla seems to be down, put there's probably a bug against this already

d




More information about the openssh-unix-dev mailing list