make buildworld

From: Saul A. Peebsen <jaglover_at_gmail.com>
Date: Tue, 22 Oct 2013 19:49:21 -0500
OK, here's a bit of history of this box. Never wanted to run CURRENT,
but had no choice, STABLE wouldn't boot. So I followed all the advice
how to disable all debugging features. Now I'm trying to build latest
10 and I'm getting the error below.

What's wrong?


cc   -O2 -pipe -march=core2 -I/usr/src/lib/libc/include
-I/usr/src/lib/libc/../../include -I/usr/src/lib/libc/amd64 -DNLS
-D__DBINTERFACE_PRIVATE -I/usr/src/lib/libc/../../contrib/gdtoa
-I/usr/src/lib/libc/../../contrib/libc-vis -DINET6
-I/usr/obj/usr/src/lib/libc -I/usr/src/lib/libc/resolv -D_ACL_PRIVATE
-DPOSIX_MISTAKE -I/usr/src/lib/libc/../../contrib/jemalloc/include
-DMALLOC_PRODUCTION -I/usr/src/lib/libc/../../contrib/tzcode/stdtime
-I/usr/src/lib/libc/stdtime  -I/usr/src/lib/libc/locale -DBROKEN_DES
-DPORTMAP -DDES_BUILTIN -I/usr/src/lib/libc/rpc -DYP -DNS_CACHING
-DSYMBOL_VERSIONING -std=gnu99 -Qunused-arguments -fstack-protector
-Wsystem-headers -Werror -Wall -Wno-format-y2k -Wno-uninitialized
-Wno-pointer-sign -Wno-empty-body -Wno-string-plus-int
-Wno-tautological-compare -Wno-unused-value -Wno-parentheses-equality
-Wno-unused-function -Wno-conversion -Wno-switch -Wno-switch-enum
-Wno-knr-promoted-parameter -c jemalloc_jemalloc.c -o
jemalloc_jemalloc.o In file included from jemalloc_jemalloc.c:2: In
file included
from /usr/src/lib/libc/../../contrib/jemalloc/include/jemalloc/internal/jemalloc_internal.h:64:
In file included
from /usr/src/lib/libc/../../contrib/jemalloc/include/jemalloc/internal/../jemalloc.h:18: /usr/src/lib/libc/../../contrib/jemalloc/include/jemalloc/internal/../jemalloc_FreeBSD.h:7:9:
error: 'MALLOC_PRODUCTION' macro redefined [-Werror] #define
MALLOC_PRODUCTION ^ <command line>:6:9: note: previous definition is
here #define MALLOC_PRODUCTION 1 ^ 1 error generated. *** Error code 1


-- 
Cheers, Saul
Received on Tue Oct 22 2013 - 22:49:25 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:43 UTC