"../openbsd-compat/port-aix.h", line 92.44: 1506-046 (S) Syntax error. openssh-5.3p1 on aix 5.3

Darren Tucker dtucker at zip.com.au
Fri Feb 19 22:39:43 EST 2010


phoebus phoebus wrote:
> Dareen,
> 
> I use openssl version: OpenSSL 0.9.7l 28 Sep 2006. Openss is from  2 rpm packages openssl-0.9.7l-2, openssl-devel-0.9.7l-2 from the Linux tool box for AIX 5.3
> 
[...]
> When i run make, i have the following erros:
> 
> include -I/usr/local/include/gssapi -DSSHDIR=\"/usr/local/etc/ssh\"  -D_PATH_SSH_PROGRAM=\"/usr/local/bin/ssh\"  -D_PATH_SSH_ASKPASS_DEFAULT=\"/usr/local/libexec/ssh-askpass\"  -D_PATH_SFTP_SERVER=\"/usr/local/libexec/sftp-server\"  -D_PATH_SSH_KEY_SIGN=\"/usr/local/libexec/ssh-keysign\"  -D_PATH_SSH_PIDDIR=\"/var/run\"  -D_PATH_PRIVSEP_CHROOT_DIR=\"/var/empty\"  -DSSH_RAND_HELPER=\"/usr/local/libexec/ssh-rand-helper\" -DHAVE_CONFIG_H -c roaming_common.c
> "roaming_common.c", line 58.60: 1506-280 (W) Function argument assignment between types "unsigned long*" and "int*" is not allowed.
> "roaming_common.c", line 70.60: 1506-280 (W) Function argument assignment between types "unsigned long*" and "int*" is not allowed.
>         cc -qlanglvl=extc89 -o ssh ssh.o readconf.o clientloop.o sshtty.o  sshconnect.o sshconnect1.o sshconnect2.o mux.o  roaming_common.o -L. -Lopenbsd-compat/ -L/opt/freeware/lib -L/usr/local/lib -L/opt/freeware/lib -L/opt/freeware/lib/ -L/usr/local/lib -L/usr/local/lib -blibpath:/usr/lib:/lib:/usr/local/lib -lssh -lopenbsd-compat -lcrypto -lz  -lkrb5 -lk5crypto -lcom_err
> ld: 0706-006 Cannot find or open library file: -l k5crypto
>         ld:open(): A file or directory in the path name does not exist.
> ld: 0706-006 Cannot find or open library file: -l com_err
>         ld:open(): A file or directory in the path name does not exist.
> make: 1254-004 The error code from the last command is 255.
> 
> Thanks for advices. I'm looking for the libraries k5crypto and com_err. I installed kerberos5 filesets but not improvement.
> I 'm now continuing my investigation.

I would guess either the native kerberos doesn't have the library files 
openssh is looking for, or they're located someplace the linker can't 
find them.  Can you list the files in the kerberos filesets (I vaguely 
recall "lslpp -l" but it's been a while) and does it contain the 
libk5crypto and libcom_err files?  If so, where?

-- 
Darren Tucker (dtucker at zip.com.au)
GPG key 8FF4FA69 / D9A3 86E9 7EEE AF4B B2D4  37C9 C982 80C7 8FF4 FA69
     Good judgement comes with experience. Unfortunately, the experience
usually comes from bad judgement.


More information about the openssh-unix-dev mailing list