aix compile problem with openssh

aix compile problem with openssh

Post by vervoo » Fri, 29 Nov 2002 20:18:49



Hi,

can anyone see what the problem is here with the openssh compile? I'm
using AIX4.3.3 / VAC 5.0.2.0

Thanks,

JS.

$ make sshd
         (cd openbsd-compat && make)
Target "all" is up to date.
         cc -g -o sshd sshd.o auth.o auth1.o auth2.o auth2-hostbased.o
auth2-kbdint.o auth2-none.o auth2-passwd.o auth2-pubkey.o auth-chall.o
auth2-chall.o auth-rhosts.o auth-options.o auth-krb4.o auth-krb5.o
auth-pam.o auth2-pam.o auth-passwd.o auth-rsa.o auth-rh-rsa.o auth-sia.o
auth-securid.o sshpty.o sshlogin.o loginrec.o servconf.o serverloop.o
md5crypt.o session.o groupaccess.o auth-skey.o auth-bsdauth.o
monitor_mm.o monitor.o -L. -Lopenbsd-compat/ -L/usr/local/openssl/lib
-L/usr/local/lib -blibpath:/usr/lib:/lib:/usr/local/lib -lssh
-lopenbsd-compat   -lz  sdiclient.a -lcrypto   -bnoquiet
(ld): halt 4
(ld): savename sshd
(ld): filelist 42 2
(ld): i /lib/crt0.o
(ld): i sshd.o
(ld): i auth.o
(ld): i auth1.o
(ld): i auth2.o
(ld): i auth2-hostbased.o
(ld): i auth2-kbdint.o
(ld): i auth2-none.o
(ld): i auth2-passwd.o
(ld): i auth2-pubkey.o
(ld): i auth-chall.o
(ld): i auth2-chall.o
(ld): i auth-rhosts.o
(ld): i auth-options.o
(ld): i auth-krb4.o
(ld): i auth-krb5.o
(ld): i auth-pam.o
(ld): i auth2-pam.o
(ld): i auth-passwd.o
(ld): i auth-rsa.o
(ld): i auth-rh-rsa.o
(ld): i auth-sia.o
(ld): i auth-securid.o
(ld): i sshpty.o
(ld): i sshlogin.o
(ld): i loginrec.o
(ld): i servconf.o
(ld): i serverloop.o
(ld): i md5crypt.o
(ld): i session.o
(ld): i groupaccess.o
(ld): i auth-skey.o
(ld): i auth-bsdauth.o
(ld): i monitor_mm.o
(ld): i monitor.o
(ld): lib ./libssh.a
(ld): lib openbsd-compat//libopenbsd-compat.a
(ld): lib /usr/local/lib/libz.a
(ld): i sdiclient.a
(ld): lib /usr/local/openssl/lib/libcrypto.a
(ld): lib /usr/lib/libg.a
(ld): lib /usr/lib/libc.a
LIBRARY: Shared object libc.a[shr.o]: 2262 symbols imported.
LIBRARY: Shared object libc.a[meth.o]: 2 symbols imported.
LIBRARY: Shared object libc.a[aio.o]: 11 symbols imported.
LIBRARY: Shared object libc.a[pse.o]: 78 symbols imported.
LIBRARY: Shared object libc.a[dl.o]: 4 symbols imported.
LIBRARY: Shared object libc.a[pty.o]: 1 symbols imported.
FILELIST: Number of previously inserted files processed: 42
(ld): exports /usr/lib/libg.exp
EXPORTS: Symbols exported: 4
(ld): resolve
RESOLVE: 3726 of 15356 symbols were kept.
(ld): addgl /usr/lib/glink.o
ADDGL: Glink code added for 175 symbols.
(ld): er full
ld: 0711-318 ERROR: Undefined symbols were found.
         The following symbols are in error:
  Symbol                    Inpndx  TY CL Source-File(Object-File) OR
Import-File{Shared-object}
                               RLD: Address  Section  Rld-type
Referencing Symbol

----------------------------------------------------------------------------------------------
  .aix_remove_embedded_newlines [199]   ER PR auth-passwd.c(auth-passwd.o)
                                    000002c8 .text    R_RBR    [117]
.auth_password
  .aix_remove_embedded_newlines [596]   ER PR auth.c(auth.o)
                                    00000e50 .text    R_RBR    [361]
.allowed_user
                                    00000f1c .text    R_RBR    [361]
.allowed_user
ER: The return code is 8.
make: 1254-004 The error code from the last command is 8.

Stop.

$ nm -r auth-passwd.o | grep aix_remove_embedded_newlines
.aix_remove_embedded_newlines U          -
$

 
 
 

aix compile problem with openssh

Post by Darren Tuck » Sat, 30 Nov 2002 18:39:26




>can anyone see what the problem is here with the openssh compile? I'm
>using AIX4.3.3 / VAC 5.0.2.0
[snip]
>  .aix_remove_embedded_newlines [199]   ER PR auth-passwd.c(auth-passwd.o)

You should really mention you're using patched sources.

You need to rebuild libopenbsd-compat.a after applying the patch, or
the patch didn't apply properly. Check for patch rejects then "make
clean && make"

--
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.

 
 
 

1. Problems compiling OpenSSH on AIX 4.3.3

After installing the required libraries I did dun the configure command.
These are the last lines:

****************
checking if your system defines WTMPX_FILE... no
configure: warning: Please check and edit -blibpath in LDFLAGS in Makefile
checking for Cygwin environment... no
checking for mingw32 environment... no
checking for executable suffix... configure: error: installation or
configuration problem: compiler cannot create execut
ables.
***************

My gcc (version 2.95.2 19991024) compiler works however. Any ideas what the
problem is ?

Regards,

Louis

2. MAJOR FILESYSTEM CRASH (ext2 & kernel experts, please read)

3. Probe Video Subsystem

4. Problem with OpenSSH 3.4p1 for AIX 5.2 (IBM DevelopersWork)

5. LAN via PPP on Internet

6. Problems with OpenSSH for AIX 5.1 on Bullfreeware

7. Comcast.net Linux DHCP still not working

8. Problem installing OpenSSH in AIX 5.2

9. openssh: problems compiling

10. Problems compiling OpenSSH 3.0.2p1 on OpenBSD 3.0 i386

11. NetBSD 1.4.1 OpenSSL OpenSSH compile problems

12. Problems compiling OpenSSH 2.3.0 on OpenBSD 2.7