Nathan,
I've run into this problem on Solaris machines in the link
stage of sshd. It seems that some system calls in the code
are not POSIX compliant. Solaris and HP-UX provide libraries
for backward compatibility, which eliminate these errors when
linked in. I added -L/usr/ucblib -lucb to the Makefile on the
sshd line and it linked fine. I'm not sure what this would be
on AIX, but you might try looking for libucb.a or libBSD.a
or something of the sort on your filesystem.
Norman Field
[EMAIL PROTECTED]
>
> Building SSH with AFS patches. Running into problems. If I build with AFS
> 3.4a libs I get the following error:
>
> -----------------
> elan(66)>gmake
> rm -f ssh
> gcc -pipe -Lrsaref2/source -o ssh ssh.o sshconnect.o log-client.o readconf.o ho
> stfile.o readpass.o tildexpand.o clientloop.o canohost.o idea.o rsa.o randoms.o
> md5.o buffer.o emulate.o packet.o compress.o xmalloc.o ttymodes.o newchannels.o
> bufaux.o authfd.o authfile.o crc32.o rsaglue.o tss.o cipher.o des.o match.o arc
> four.o mpaux.o minfd.o userfile.o signals.o \
> -L/afs/umr.edu/rs_aix32.34a/usr/afsws/lib -L/afs/umr.edu/rs_aix32.34a/u
> sr/afsws/lib/afs -lkauth -lprot -lubik -lauth -lrxkad -lsys -ldes -l
> rx -llwp -lcmd -lcom_err /afs/umr.edu/rs_aix32.34a/usr/afsws/lib/afs/util
> .a /afs/umr.edu/rs_aix32.34a/usr/afsws/lib/afs/libsys.a -Lgmp-1.3.2 -lgmp -
> Lzlib095 -lz -lrsaref /afs/umr.edu/software/tcpwrp72/rs6000/lib/libwrap.a -ls -L
> /usr/local/lib
> /afs/umr.edu/rs_aix32.34a/usr/afsws/lib/afs/libsys.a(rmtsysc.o)(.pr+0x3dc):rmtsy
> sc.c: undefined reference to `lsetpag'
> /afs/umr.edu/rs_aix32.34a/usr/afsws/lib/afs/libsys.a(rmtsysc.o)(.pr+0x5dc):rmtsy
> sc.c: undefined reference to `lpioctl'
> rmtsysc.o: loader reloc in read-only section .text
> ld: final link failed: Invalid operation
> gmake: *** [ssh] Error 1
> elan(67)>