Subject: problems compiling the ssh package
To: None <>
From: Jon Buller <>
List: port-pc532
Date: 11/24/1998 10:20:07
I tried compiling ssh today, and ran into this:

     cc -DPACKAGE=\"gmp\" -DVERSION=\"2.0.2-ssh-2\" -DSTDC_HEADERS=1
     -I. -I. -I.. -I./..  -O2 -I/usr/pkg/include -c addmul_1.c
     In file included from addmul_1.c:27:
     ../longlong.h:723: syntax error before `:'
     *** Error code 1


That seems to point to this #define...

     #define count_trailing_zeros(count,x) \
       do {
         __asm__ ("ffsd      %2,%0"                                          \
                  : "=r" ((USItype) (count))                                 \
                  : "0" ((USItype) 0),                                       \
                    "r" ((USItype) (x)));                                    \
       } while (0)

However, I've had other minor problems building recently, and was wondering
if anyone else has gotten this to build properly, or if I need to dig out
a gcc manual and play with this asm statement.  (I wonder if I have a copy
around here... I used to, but I have no idea where it might be right now...)