From: Bruce Burden on


I know this has been discussed before (not necessarily here),
but here is the error from make buildworld:

cc -O2 -pipe -I. -I/usr/src/usr.sbin/config -I/usr/obj/usr/src/tmp/legacy/usr/include -static -L/usr/obj/usr/src/tmp/legacy/usr/lib -o config config.o main.o lang.o mkmakefile.o mkheaders.o mkoptions.o kernconf.o -ll -lsbuf -legacy
sh /usr/src/tools/install.sh -s -o root -g wheel -m 555 config /usr/obj/usr/src/tmp/legacy/usr/sbin

--------------------------------------------------------------
>>> stage 2.1: cleaning up the object tree
--------------------------------------------------------------
cd /usr/src; MAKEOBJDIRPREFIX=/usr/obj MACHINE_ARCH=i386 MACHINE=i386 CPUTYPE=pentium4 GROFF_BIN_PATH=/usr/obj/usr/src/tmp/legacy/usr/bin GROFF_FONT_PATH=/usr/obj/usr/src/tmp/legacy/usr/share/groff_font GROFF_TMAC_PATH=/usr/obj/usr/src/tmp/legacy/usr/share/tmac _SHLIBDIRPREFIX=/usr/obj/usr/src/tmp VERSION="FreeBSD 7.2-RELEASE-p3 i386 702000" INSTALL="sh /usr/src/tools/install.sh" PATH=/usr/obj/usr/src/tmp/legacy/usr/sbin:/usr/obj/usr/src/tmp/legacy/usr/bin:/usr/obj/usr/src/tmp/legacy/usr/games:/usr/obj/usr/src/tmp/usr/sbin:/usr/obj/usr/src/tmp/usr/bin:/usr/obj/usr/src/tmp/usr/games:/sbin:/bin:/usr/sbin:/usr/bin NO_CTF=1 /usr/obj/usr/src/make.i386/make -f Makefile.inc1 DESTDIR=/usr/obj/usr/src/tmp par-cleandir
===> share/info (cleandir)
===> lib (cleandir)
===> lib/csu/i386-elf (cleandir)
rm -f crt1.o crti.o crtn.o gcrt1.o
rm -f .depend GPATH GRTAGS GSYMS GTAGS
===> lib/libc (cleandir)
"/usr/src/lib/libc/stdlib/Makefile.inc", line 19: Need an operator
make: fatal errors encountered -- cannot continue
*** Error code 1

Stop in /usr/src/lib.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src


And here is line 19 of /usr/src/lib/libc/stdlib/Makefile.inc:

# from @(#)Makefile.inc 8.3 (Berkeley) 2/4/95
# $FreeBSD: src/lib/libc/stdlib/Makefile.inc,v 1.57.2.1.2.1 2009/10/25 01:10:29 kensmith E
xp $

# machine-independent stdlib sources
..PATH: ${.CURDIR}/${MACHINE_ARCH}/stdlib ${.CURDIR}/stdlib

MISRCS+=_Exit.c a64l.c abort.c abs.c atexit.c atof.c atoi.c atol.c atoll.c \
bsearch.c div.c exit.c getenv.c getopt.c getopt_long.c \
getsubopt.c hcreate.c heapsort.c imaxabs.c imaxdiv.c \
insque.c l64a.c labs.c ldiv.c llabs.c lldiv.c lsearch.c malloc.c \
merge.c ptsname.c qsort.c qsort_r.c radixsort.c rand.c random.c \
reallocf.c realpath.c remque.c strfmon.c strtoimax.c \
strtol.c strtoll.c strtoq.c strtoul.c strtonum.c strtoull.c \
strtoumax.c strtouq.c system.c tdelete.c tfind.c tsearch.c twalk.c

SYM_MAPS+= ${.CURDIR}/stdlib/Symbol.map

# machine-dependent stdlib sources
..sinclude "${.CURDIR}/${MACHINE_ARCH}/stdlib/Makefile.inc" <<<< Line 19


".sinclude"? Really? The build works if I get rid of the "s", and make it:


..include "${.CURDIR}/${MACHINE_ARCH}/stdlib/Makefile.inc"


I am performing this build on 7.2, BTW.

Bruce
--
------------------------------------------------------------------------
"I like bad!" Bruce Burden Austin, TX.
- Thuganlitha
The Power and the Prophet
Robert Don Hughes

From: Warren Block on
Bruce Burden <brucegb(a)realtime.net> wrote:
>
> I know this has been discussed before (not necessarily here),
> but here is the error from make buildworld:
....
>===> lib/libc (cleandir)
> "/usr/src/lib/libc/stdlib/Makefile.inc", line 19: Need an operator
> make: fatal errors encountered -- cannot continue
> *** Error code 1
>
> Stop in /usr/src/lib.
> *** Error code 1
>
> Stop in /usr/src.
> *** Error code 1
>
> Stop in /usr/src.
> *** Error code 1
>
> Stop in /usr/src
>
>
> And here is line 19 of /usr/src/lib/libc/stdlib/Makefile.inc:
>
....
> .sinclude "${.CURDIR}/${MACHINE_ARCH}/stdlib/Makefile.inc" <<<< Line 19
>
> ".sinclude"? Really?

Yes, silently ignored if the include file can't be opened.

> The build works if I get rid of the "s", and make it:
>
>
> .include "${.CURDIR}/${MACHINE_ARCH}/stdlib/Makefile.inc"
>
>
> I am performing this build on 7.2, BTW.

The same line is present in 8-stable i386 source, but I haven't seen
that error.

--
Warren Block * Rapid City, South Dakota * USA