On Tue, Jan 15, 2013 at 04:46:01PM -0800, Steve Kargl wrote:
> > It actually gets quite worse from there.
> 
> Yep. :(
> I just hit
> 
> cc -O2 -pipe -march=opteron -DLINEMODE -DUSE_TERMIO -DDIAGNOSTICS 
> -DOLD_ENVIRON  -DENV_HACK -DSTREAMSPTY -DINET6 
> -I/usr/src/libexec/telnetd/../../contrib/telnet -DAUTHENTICATION -DENCRYPTION 
> -DKRB5 -DFORWARD -Dnet_write=telnet_net_write -std=gnu99 -Qunused-arguments 
> -fstack-protector -Wsystem-headers -Werror -Wall -Wno-format-y2k 
> -Wno-uninitialized -Wno-pointer-sign -Wno-empty-body -Wno-string-plus-int 
> -Wno-tautological-compare -Wno-unused-value -Wno-parentheses-equality 
> -Wno-unused-function -Wno-conversion -Wno-switch -Wno-switch-enum  -o telnetd 
> global.o slc.o state.o sys_term.o telnetd.o termstat.o utility.o authenc.o 
> -lutil -ltermcap 
> /usr/obj/usr/src/libexec/telnetd/../../lib/libtelnet/libtelnet.a -lmp 
> -lcrypto -lcrypt -lpam -lkrb5 -lhx509 -lasn1 -lroken -lcom_err
> /usr/obj/usr/src/tmp/usr/lib/libroken.so: undefined reference to 
> `unvis@FBSD_1.0cc: error: linker command failed with exit code 1 (use -v to 
> see invocation)
> *** [telnetd] Error code 1
> 

This looks somewhat familiar.

I vaguely recall setting WITHOUT_TELNET to get past this.

Once buildworld finished successfully, I removed it from src.conf, and
things built afterwards.

> >  I do not recall the details
> > off-hand, but I recall doing 'make obj all install' in somewhat this
> > order:
> > 
> >  - secure/
> >  - include/
> >  - kerberos5/
> >  [some steps may be missing]
> 
> Thanks for a possible roadmap.  
> 

I wish I had more useful details to provide.  I'm going based on memory
at this point.

One other thing - make sure WITHOUT_GSSAPI (for ports) does not exist in
make.conf.  That bit me on two of the three machines I went through this
nightmare.

Glen
PS:  I thought I filed a PR with details on this, but it seems not to be
the case. :(

Attachment: pgpiwTUQnep3s.pgp
Description: PGP signature

Reply via email to