Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Nov 2001 17:07:57 +0600 (NOVT)
From:      nnd@mail.nsk.ru (Nickolay Dudorov)
To:        current@freebsd.org
Subject:   Re: lomac import broke world
Message-ID:  <200111271107.fARB7vR41526@wint.itfs.nsk.su>
In-Reply-To: <20011127051338.GA42852@nagual.pp.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
In article <20011127051338.GA42852@nagual.pp.ru>
"Andrey A. Chernov" <ache@nagual.pp.ru> 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




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