From owner-freebsd-current Sun Oct 18 23:15:54 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id XAA23921 for freebsd-current-outgoing; Sun, 18 Oct 1998 23:15:54 -0700 (PDT) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from flophouse.com (flophouse.com [192.135.198.210]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id XAA23899 for ; Sun, 18 Oct 1998 23:15:47 -0700 (PDT) (envelope-from dpassage@flophouse.com) Received: from flophouse.com (localhost.flophouse.com [127.0.0.1]) by flophouse.com (8.8.8/8.8.8) with ESMTP id XAA16811 for ; Sun, 18 Oct 1998 23:15:23 -0700 (PDT) (envelope-from dpassage@flophouse.com) Message-Id: <199810190615.XAA16811@flophouse.com> To: freebsd-current@FreeBSD.ORG Subject: make buildworld lex library breakage (with fix!) Date: Sun, 18 Oct 1998 23:15:22 -0700 From: "David G. Paschich" Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Environment: FreeBSD -stable box as of approx Oct 8, trying to build -current cvsupped around 10pm PDT today. During the "Rebuilding tools necessary to build the include files" stage, the attempt to build compile_et fails because of a missing lex library: [...] cc -O -pipe -I. -I/usr/src/usr.bin/compile_et/../../lib/libcom_err -I/usr/obj/aout/usr/src/tmp/usr/include -static -o compile_et compile_et.o error_table.o -ll ld: -ll: no match *** Error code 1 It appears in Makefile.inc1 (revision 1.36) that the lex library never gets built or installed into the /usr/obj tree. Enabling the build of the lex library in the "make bootstrap" target fixed the problem for me. Diff follows (cut and pasted so the tabs may be wrong): *** Makefile.inc1 1998/10/17 11:56:20 1.36 --- Makefile.inc1 1998/10/19 05:23:24 *************** *** 499,507 **** ${MAKE} ${MK_FLAGS} -B install ${CLEANDIR} ${OBJDIR} cd ${.CURDIR}/usr.bin/lex; ${MAKE} bootstrap; \ ${MAKE} ${MK_FLAGS} ${_DEPEND}; \ ! ${MAKE} ${MK_FLAGS} -DNOLIB all; \ ! ${MAKE} ${MK_FLAGS} -DNOLIB -B install ${CLEANDIR} ! cd ${.CURDIR}/usr.bin/lex; ${MAKE} ${OBJDIR} cd ${.CURDIR}/usr.sbin/mtree; ${MAKE} ${MK_FLAGS} ${_DEPEND}; \ ${MAKE} ${MK_FLAGS} all; \ ${MAKE} ${MK_FLAGS} -B install ${CLEANDIR} ${OBJDIR} --- 499,506 ---- ${MAKE} ${MK_FLAGS} -B install ${CLEANDIR} ${OBJDIR} cd ${.CURDIR}/usr.bin/lex; ${MAKE} bootstrap; \ ${MAKE} ${MK_FLAGS} ${_DEPEND}; \ ! ${MAKE} ${MK_FLAGS} all; \ ! ${MAKE} ${MK_FLAGS} -B install ${CLEANDIR} ${OBJDIR} cd ${.CURDIR}/usr.sbin/mtree; ${MAKE} ${MK_FLAGS} ${_DEPEND}; \ ${MAKE} ${MK_FLAGS} all; \ ${MAKE} ${MK_FLAGS} -B install ${CLEANDIR} ${OBJDIR} -------- David G. Paschich dpassage@flophouse.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message