From owner-cvs-all Thu Mar 28 4: 9:38 2002 Delivered-To: cvs-all@freebsd.org Received: from thoth.sbs.de (thoth.sbs.de [192.35.17.2]) by hub.freebsd.org (Postfix) with ESMTP id 4D76D37B41C; Thu, 28 Mar 2002 04:09:14 -0800 (PST) Received: from mail2.siemens.de (mail2.siemens.de [139.25.208.11]) by thoth.sbs.de (8.11.6/8.11.6) with ESMTP id g2SC9CX27834; Thu, 28 Mar 2002 13:09:13 +0100 (MET) Received: from curry.mchp.siemens.de (curry.mchp.siemens.de [139.25.42.7]) by mail2.siemens.de (8.11.6/8.11.6) with ESMTP id g2SC9CC23105; Thu, 28 Mar 2002 13:09:12 +0100 (MET) Received: (from localhost) by curry.mchp.siemens.de (8.11.6/8.11.6) id g2SC9Cj25898; Date: Thu, 28 Mar 2002 13:09:11 +0100 From: Andre Albsmeier To: Josef Karthauser Cc: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG Subject: Re: cvs commit: src/bin/ls Makefile cmp.c extern.h ls.1 ls.c ls.h print.c util.c Message-ID: <20020328130911.A23960@curry.mchp.siemens.de> References: <200203280128.g2S1SFr92606@freefall.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <200203280128.g2S1SFr92606@freefall.freebsd.org>; from joe@FreeBSD.ORG on Wed, Mar 27, 2002 at 05:28:15PM -0800 X-Echelon: BND CIA NSA Mossad KGB MI6 IRA detonator nuclear assault strike X-RAVMilter-Version: 8.3.1(snapshot 20020109) (curry.mchp.siemens.de) Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Wed, 27-Mar-2002 at 17:28:15 -0800, Josef Karthauser wrote: > joe 2002/03/27 17:28:15 PST > > Modified files: (Branch: RELENG_4) > bin/ls Makefile cmp.c extern.h ls.1 ls.c ls.h > print.c util.c > Log: > MFC: Sync with -current, bringing all the differences into line, apart from > those that are -current specific. > > In particular: > > Revamp the colour support to allow for bold characters. Colours > are now defined using the characters a-h and A-H for the bold > variants. The old way using 0-7 for the colours still works, but > prints a message asking the user to switch. > > Add a new flag, -h which when combined with the -l option causes > file sizes to be displayed with unit suffixes; Byte, Kilobyte, > Megabyte, Gigabyte, Terabyte and Petabyte in order to reduce the > number of digits to three or less. > > K&R->C89 source code changes. I assume this brought me the following error :-) ===> libexec/ftpd cc -O -pipe -DANDRE -fno-ident -UINET6 -UIPSEC -DSETPROCTITLE -DSKEY -DLOGIN_CAP -DVIRTUAL_HOSTING -Wall -DINET6 -Dmain=ls_main -I/src/src-4/libexec/ftpd/../../bin/ls -o ftpd ftpd.o ftpcmd.o logwtmp.o popen.o skey-stuff.o ls.o cmp.o print.o util.o -lskey -lmd -lcrypt -lutil -lpam print.o: In function `unit_adjust': print.o(.text+0xa7c): undefined reference to `ilogb' *** Error code 1 Stop in /src/src-4/libexec/ftpd. *** Error code 1 Stop in /src/src-4/libexec. *** Error code 1 Stop in /src/src-4. *** Error code 1 Stop in /src/src-4. *** Error code 1 Stop in /src/src-4. A fix might be: --- libexec/ftpd/Makefile.ORI Thu Mar 28 13:07:25 2002 +++ libexec/ftpd/Makefile Thu Mar 28 13:07:42 2002 @@ -9,7 +9,7 @@ CFLAGS+=-DINET6 YFLAGS= -LDADD= -lskey -lmd -lcrypt -lutil +LDADD= -lskey -lmd -lcrypt -lutil -lm DPADD= ${LIBSKEY} ${LIBMD} ${LIBCRYPT} ${LIBUTIL} LSDIR= ../../bin/ls To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message