In article <[EMAIL PROTECTED]>
"Andrey A. Chernov" <[EMAIL PROTECTED]> 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 [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to