Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 Feb 1996 00:30:25 +0100 (MET)
From:      J Wunsch <j@uriah.heep.sax.de>
To:        freebsd-current@freebsd.org
Subject:   Re: make world failed in -current
Message-ID:  <199602152330.AAA02097@uriah.heep.sax.de>
In-Reply-To: <Pine.BSF.3.91.960215093324.351E-100000@apollo.COSC.GOV> from "-Vince-" at Feb 15, 96 09:35:04 am

next in thread | previous in thread | raw e-mail | index | archive | help
As -Vince- wrote:

> > > /usr/src/sbin/init
> > > cc -O -DDEBUGSHELL -DSECURE    -static -o init init.o  -L -lutil -ldescrypt
> > > init.o: Undefined symbol `_logout' referenced from text segment
> > > init.o: Undefined symbol `_logwtmp' referenced from text segment
> > > init.o: Undefined symbol `_login_tty' referenced from text segment
> > > init.o: Undefined symbol `_logwtmp' referenced from text segment
> > > init.o: Undefined symbol `_logwtmp' referenced from text segment
> > 
> > Is your libutil corrupted?
> 
> 	Well, I deleted /usr/src/lib/libutil and resup and rebuilt it...  

Hmm, mine is:

j@uriah 76% nm /usr/lib/libutil.so.2.1  | grep ' T '
00000c80 T _etext
000002f0 T _forkpty
000005e0 T _login
00000540 T _login_tty
00000460 T _logout
00000390 T _logwtmp
00000150 T _openpty
00000030 T _setproctitle

All of your missing symbols are there.

> Also, am I supposed to have a /usr/lib/libdescrypt* library if I am using 
> just the standard MD5 and not the DES Encryption?

You've got the /usr/src/secure stuff around, that causes it to
automatically pick the DES encryption.  This is probably wrong, it
should always link -lcrypt.

The -lcrypt in init(8) is only used if you declare your console as
``insecure'' anyway, in order to validate the root password when
entering single user mode.

-- 
cheers, J"org

joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)



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