From owner-freebsd-current Tue Nov 27 3: 8: 8 2001 Delivered-To: freebsd-current@freebsd.org Received: from wint.itfs.nsk.su (wint.itfs.nsk.su [212.20.32.43]) by hub.freebsd.org (Postfix) with ESMTP id 4120837B405 for ; Tue, 27 Nov 2001 03:08:00 -0800 (PST) Received: (from nnd@localhost) by wint.itfs.nsk.su (8.11.6/8.11.4) id fARB7vR41526; Tue, 27 Nov 2001 17:07:57 +0600 (NOVT) (envelope-from nnd) Date: Tue, 27 Nov 2001 17:07:57 +0600 (NOVT) Message-Id: <200111271107.fARB7vR41526@wint.itfs.nsk.su> From: nnd@mail.nsk.ru (Nickolay Dudorov) To: current@freebsd.org Subject: Re: lomac import broke world In-Reply-To: <20011127051338.GA42852@nagual.pp.ru> User-Agent: tin/1.5.9-20010723 ("Chord of Souls") (UNIX) (FreeBSD/5.0-CURRENT (i386)) Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG In article <20011127051338.GA42852@nagual.pp.ru> "Andrey A. Chernov" wrote: > cc -O -pipe -march=pentiumpro -DSETPROCTITLE -DLOGIN_CAP -DVIRTUAL_HOSTING > -Wall > -DINET6 -I/usr/src/libexec/ftpd -Dmain=ls_main > -I/usr/src/libexec/ftpd/../../bin/ls -DUSE_PAM > -o ftpd ftpd.o ftpcmd.o logwtmp.o popen.o ls.o cmp.o > print.o > util.o -lmd -lcrypt -lutil -lopie -lpam > ls.o: In function `display': > ls.o(.text+0x9b0): undefined reference to `lomac_start' > ls.o(.text+0xd02): undefined reference to `get_lattr' > ls.o(.text+0xfe2): undefined reference to `lomac_stop' > *** Error code 1 I use the next patch to buildworld : N.Dudorov Index: Makefile =================================================================== RCS file: /scratch/CVS/src/libexec/ftpd/Makefile,v retrieving revision 1.44 diff -b -u -r1.44 Makefile --- Makefile 9 Jul 2001 17:46:24 -0000 1.44 +++ Makefile 27 Nov 2001 11:04:44 -0000 @@ -19,7 +19,7 @@ LSDIR= ../../bin/ls .PATH: ${.CURDIR}/${LSDIR} -SRCS+= ls.c cmp.c print.c util.c +SRCS+= ls.c cmp.c print.c util.c lomac.c CFLAGS+=-Dmain=ls_main -I${.CURDIR}/${LSDIR} .if !defined(NOPAM) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message