Makefile Problem of FreeBSD-Current
Thomas Hoffmann
trh411 at gmail.com
Sun May 11 13:49:24 UTC 2014
On Sun, May 11, 2014 at 9:39 AM, Sean Bruno <sbruno at ignoranthack.me> wrote:
> On Sun, 2014-05-11 at 20:49 +0800, bycn82 wrote:
> > As you can see below . it still did not find the src.opts.mk
> >
> >
> > root at FB10Head:/usr/src/sbin/ipfw # make
> > make: "/usr/src/sbin/ipfw/Makefile" line 3: Could not find src.opts.mk
> > make: "/usr/src/sbin/ipfw/Makefile" line 9: Malformed conditional
> > (${MK_PF} != "no")
> > make: "/usr/src/sbin/ipfw/../Makefile.inc" line 4: Could not find
> > src.opts.mk
> > make: "/usr/src/sbin/ipfw/../Makefile.inc" line 9: Malformed conditional
> > (${MK_DYNAMICROOT} == "no")
> > make: Fatal errors encountered -- cannot continue
> > make: stopped in /usr/src/sbin/ipfw
> > root at FB10Head:/usr/src/sbin/ipfw # uname -a
> > FreeBSD FB10Head 11.0-CURRENT FreeBSD 11.0-CURRENT #0 r265868: Sun May
> > 11 11:44:35 UTC 2014 root at FB10Head:/usr/obj/usr/src/sys/GENERIC
> amd64
> > _______________________________________________
> > freebsd-current at freebsd.org mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-current
> > To unsubscribe, send any mail to "
> freebsd-current-unsubscribe at freebsd.org"
>
>
> I suspect you are seeing the same issue as described in the thread
> "delete-old issue with src.opts.mk" on -current.
>
I successfully built -CURRENT 265866 last night and did not run into this
problem. However, I ran -DNO_CLEAN and had no need to rebuild ipfw from my
previous build(s). If I now go into the /usr/src/sbin/ipfw directory and
simply do a 'make', I can duplicate this error.
The /usr/src/sbin/ipfw/Makefile includes an .include for src.opts.mk:
# $FreeBSD: head/sbin/ipfw/Makefile 265420 2014-05-06 04:22:01Z imp $
.include <src.opts.mk>
PROG= ipfw
SRCS= ipfw2.c dummynet.c ipv6.c main.c nat.c
WARNS?= 2
...
Maybe it should not?
-Tom
More information about the freebsd-current
mailing list