Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 18 Oct 1998 23:15:22 -0700
From:      "David G. Paschich" <dpassage@flophouse.com>
To:        freebsd-current@FreeBSD.ORG
Subject:   make buildworld lex library breakage (with fix!)
Message-ID:  <199810190615.XAA16811@flophouse.com>

next in thread | raw e-mail | index | archive | help

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



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