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

phoebus phoebus frphoebus at yahoo.fr
Fri Feb 19 23:57:00 EST 2010


Darren,

ca06:/#  lslpp -L -b'Kerberos_5'
  Fileset                      Level  State  Type  Description (Uninstaller)
  ----------------------------------------------------------------------------
  krb5.client.rte            1.4.0.8    C     F    Network Authentication Service
                                                   Client

ca06:/# lslpp -L  krb5.*
  Fileset                      Level  State  Type  Description (Uninstaller)
  ----------------------------------------------------------------------------
  krb5.client.rte            1.4.0.8    C     F    Network Authentication Service
                                                   Client
  krb5.client.samples        1.4.0.8    C     F    Network Authentication Service
                                                   Samples
  krb5.doc.en_US.html        1.4.0.8    C     F    Network Auth Service HTML
                                                   Documentation - U.S. English
  krb5.doc.en_US.pdf         1.4.0.8    C     F    Network Auth Service PDF
                                                   Documentation - U.S. English
  krb5.msg.en_US.client.rte  1.4.0.8    C     F    Network Auth Service Client
                                                   Msgs - U.S. English
  krb5.toolkit.adt           1.4.0.8    C     F    Network Authentication Service
                                                   App. Dev. Toolkit

I don't find these library. There aren't included in the fileset kbr5.server.rte.

In attachement the listing of the filesets (filesetKbr5.txt) installed.
FYI: packages inclsdes in the AIX Expansion pack are listed in the file  ExpansionPackAix53-112008.txt (screen copy from smit).

I don't know how to find the IBM libraries and i don't sure is possible to use MIT kb5 library for the compilation in AIX platfrom.

Regards,
Frphoebus


----- Message d'origine ----
De : Darren Tucker <dtucker at zip.com.au>
À : phoebus phoebus <frphoebus at yahoo.fr>
Cc : openssh-unix-dev at mindrot.org
Envoyé le : Ven 19 Février 2010, 12 h 39 min 43 s
Objet : Re: Re : Re : Re : Re : "../openbsd-compat/port-aix.h", line 92.44: 1506-046 (S) Syntax error. openssh-5.3p1 on aix 5.3

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.



      
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: filesetKbr5.txt
URL: <http://lists.mindrot.org/pipermail/openssh-unix-dev/attachments/20100219/1559dcb8/attachment-0002.txt>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: ExpansionPackAix53-112008.txt
URL: <http://lists.mindrot.org/pipermail/openssh-unix-dev/attachments/20100219/1559dcb8/attachment-0003.txt>


More information about the openssh-unix-dev mailing list