Date: Thu, 28 Mar 2002 13:09:11 +0100 From: Andre Albsmeier <andre.albsmeier@mchp.siemens.de> To: Josef Karthauser <joe@FreeBSD.ORG> 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> In-Reply-To: <200203280128.g2S1SFr92606@freefall.freebsd.org>; from joe@FreeBSD.ORG on Wed, Mar 27, 2002 at 05:28:15PM -0800 References: <200203280128.g2S1SFr92606@freefall.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020328130911.A23960>