I've been called upon to adopt a machine which has been un-adminned for a
long time, and naturally one of my first steps is to get rid of telnet and
rsh, but when I try to compile ssh it fails like so:

gcc -pipe -c -I.  -I./gmp-2.0.2-ssh-2 -I./zlib-1.0.4 -DHAVE_CONFIG_H
-DHOST_KEY_FILE=\"/etc/ssh_host_key\"
-DHOST_CONFIG_FILE=\"/etc/ssh_config\"
-DSERVER_CONFIG_FILE=\"/etc/sshd_config\"
-DSSH_PROGRAM=\"/usr/local/bin/ssh1\" -DETCDIR=\"/etc\" -DPIDDIR=\"/etc\"
-DSSH_BINDIR=\"/usr/local/bin\" -DTIS_MAP_FILE=\"/etc/sshd_tis.map\" -g
-O2  rsa.c
rsa.c: In function `rsa_random_prime':
rsa.c:318: too many arguments to function `__builtin_constant_p'
rsa.c: In function `mpz_mod_inverse':
rsa.c:367: too many arguments to function `__builtin_constant_p'
rsa.c:377: too many arguments to function `__builtin_constant_p'
rsa.c: In function `derive_rsa_keys':
rsa.c:424: too many arguments to function `__builtin_constant_p'
rsa.c:445: too many arguments to function `__builtin_constant_p'
rsa.c: In function `rsa_generate_key':
rsa.c:543: too many arguments to function `__builtin_constant_p'
*** Error code 1
make: Fatal error: Command failed for target `rsa.o'


The config script appeared to run without error.  What little I know about
this machine:

<sysname>% /usr/local/bin/gcc -v
Reading specs from /usr/local/lib/gcc-lib/sun4/2.2.2/specs
gcc version 2.2.2
<sysname>% uname -a
SunOS <sysname> 4.1.3 2 sun4m

ssh version 1.2.27

I assume that the libraries on the machine are the stock ones that came
with the OS, but who can say for sure?

Has anybody else had this trouble?  Any clues on where to look?

TIA,
-m

Reply via email to