Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 Mar 2001 10:42:10 +0200 (SAT)
From:      John Hay <jhay@icomtek.csir.co.za>
To:        ru@freebsd.org
Cc:        current@freebsd.org
Subject:   make release broken in telnetd
Message-ID:  <200103280842.f2S8gA897329@zibbi.icomtek.csir.co.za>

next in thread | raw e-mail | index | archive | help
Hi Ruslan,

On the 26th you made changes to the Makefiles with this log message:

##########
  Do not build (and install) both secure/ and standard versions
  of libtelnet, telnetd, and telnet.  This only worked because
  secure/ was listed late in SUBDIR in Makefile.inc1.
##########

Did you check that "make release" still works with it? Here a "make
release" bombs out with:

###########
cc -O -pipe  -DLINEMODE -DUSE_TERMIO -DDIAGNOSTICS -DOLD_ENVIRON  -DENV_HACK -DA
UTHENTICATION -DENCRYPTION  -I/usr/src/secure/libexec/telnetd/../../../crypto/te
lnet -DINET6 -DNO_IDEA   -I/usr/obj/usr/src/i386/usr/include -c /usr/src/secure/
libexec/telnetd/../../../crypto/telnet/telnetd/utility.c
cc -O -pipe  -DLINEMODE -DUSE_TERMIO -DDIAGNOSTICS -DOLD_ENVIRON  -DENV_HACK -DA
UTHENTICATION -DENCRYPTION  -I/usr/src/secure/libexec/telnetd/../../../crypto/te
lnet -DINET6 -DNO_IDEA   -I/usr/obj/usr/src/i386/usr/include -c /usr/src/secure/
libexec/telnetd/../../../crypto/telnet/telnetd/authenc.c
gzip -cn /usr/src/secure/libexec/telnetd/../../../crypto/telnet/telnetd/telnetd.
8 > telnetd.8.gz
cc -O -pipe  -DLINEMODE -DUSE_TERMIO -DDIAGNOSTICS -DOLD_ENVIRON  -DENV_HACK -DA
UTHENTICATION -DENCRYPTION  -I/usr/src/secure/libexec/telnetd/../../../crypto/te
lnet -DINET6 -DNO_IDEA   -I/usr/obj/usr/src/i386/usr/include  -o telnetd global.
o slc.o state.o sys_term.o telnetd.o termstat.o utility.o authenc.o  -lutil -lte
rmcap -ltelnet -lcrypto -lcrypt -lmp
state.o: In function `willoption':
state.o(.text+0x695): undefined reference to `auth_request'
state.o(.text+0x69d): undefined reference to `encrypt_send_support'
state.o(.text+0x705): undefined reference to `auth_request'
state.o(.text+0x70d): undefined reference to `encrypt_send_support'
state.o: In function `wontoption':
state.o(.text+0x88c): undefined reference to `auth_finished'
state.o(.text+0x926): undefined reference to `auth_finished'
state.o: In function `suboption':
state.o(.text+0x13e7): undefined reference to `auth_is'
state.o(.text+0x1403): undefined reference to `auth_name'
state.o(.text+0x144b): undefined reference to `encrypt_support'
state.o(.text+0x1467): undefined reference to `encrypt_is'
state.o(.text+0x1483): undefined reference to `encrypt_reply'
state.o(.text+0x149f): undefined reference to `encrypt_start'
state.o(.text+0x14a9): undefined reference to `encrypt_end'
state.o(.text+0x14c3): undefined reference to `encrypt_request_start'
state.o(.text+0x14cd): undefined reference to `encrypt_request_end'
state.o(.text+0x14e7): undefined reference to `encrypt_enc_keyid'
...
*** Error code 1
1 error
*** Error code 2
1 error
*** Error code 2
1 error
*** Error code 2
1 error
*** Error code 2
1 error
*** Error code 2
1 error
*** Error code 2

Stop in /usr/src/release.
########

It is because the libtelnet it is trying to link to, does not have the
crypto stuff. It happens during the "make world" part of the release,
because /tmp/.world_done does not exist yet. A normal "make world",
ie. outside of the "make release" environment works fine though.

John
-- 
John Hay -- John.Hay@icomtek.csir.co.za

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200103280842.f2S8gA897329>