Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 11 May 2014 09:49:23 -0400
From:      Thomas Hoffmann <trh411@gmail.com>
To:        FreeBSD Current <freebsd-current@freebsd.org>
Cc:        bycn82 <bycn82@gmail.com>
Subject:   Re: Makefile Problem of FreeBSD-Current
Message-ID:  <CAB7-odny4OdkfNetiAGfjHFLWiv%2BSi0swr%2BSNDMkWcgsPdibTQ@mail.gmail.com>
In-Reply-To: <1399815540.1992.2.camel@alice>
References:  <536F71F0.9030605@gmail.com> <1399815540.1992.2.camel@alice>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, May 11, 2014 at 9:39 AM, Sean Bruno <sbruno@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@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@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@FB10Head:/usr/obj/usr/src/sys/GENERIC
>  amd64
> > _______________________________________________
> > freebsd-current@freebsd.org mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-current
> > To unsubscribe, send any mail to "
> freebsd-current-unsubscribe@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAB7-odny4OdkfNetiAGfjHFLWiv%2BSi0swr%2BSNDMkWcgsPdibTQ>