Date: Mon, 13 Aug 2007 10:10:12 +0200 From: Michal Mertl <mime@traveller.cz> To: Trigve Siver <trigves@yahoo.com> Cc: freebsd-current@freebsd.org Subject: Re: Error while 'make buildworld' Message-ID: <1186992612.1207.9.camel@genius.i.cz> In-Reply-To: <179073.30151.qm@web52707.mail.re2.yahoo.com> References: <179073.30151.qm@web52707.mail.re2.yahoo.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Trigve Siver wrote: > Hi all, > > I'm trying to compile freebsd current (to test PMC) from cvs... But when I try to 'make buildworld' it throw me this error: > //-------------- > ... > /usr/local/libexec/ccache/world-cc -O1 -pipe -O2 -pipe -s -O2 -pipe -s -I. -DIN_GCC -DHAVE_CONFIG_H -DPREFIX=\"/usr\" -I/usr/obj/usr/src/gnu/usr.bin/cc/cc_tools/../cc_tools -I/usr/src/gnu/usr.bin/cc/cc_tools/../cc_tools -I/usr/src/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcc -I/usr/src/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcc/config -I/usr/src/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcclibs/include -I/usr/src/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcclibs/libcpp/include -I/usr/src/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcclibs/libdecnumber -g -DGENERATOR_FILE -DHAVE_CONFIG_H -I/usr/obj/usr/src/tmp/legacy/usr/include -c /usr/src/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcc/gengtype.c > In file included from ./tm.h:4, > from /usr/src/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcc/gengtype.c:24: > ./options.h:375: error: redeclaration of enumerator `OPT_d' > ./options.h:373: error: previous definition of 'OPT_d' was here > ./options.h:898: error: redeclaration of enumerator `OPT_w' > ./options.h:896: error: previous definition of 'OPT_w' was here > *** Error code 1 > > Stop in /usr/src/gnu/usr.bin/cc/cc_tools. > *** Error code 1 > > Stop in /usr/src. > *** Error code 1 > > Stop in /usr/src. > *** Error code 1 > > Stop in /usr/src. > //----------------- > > uname: > > FreeBSD pentium4.domain 6.2-STABLE FreeBSD 6.2-STABLE #0: Sat Aug 11 > 12:16:01 UTC 2007 > dodes@pentium4.domain:/usr/obj/usr/src/sys/CUSTOM i386 > > I've tried to search the net but haven't found anything. I encounter the problem too and I am quite certain it is cause by the locale settings (at least in my case). As src/UPDATING suggests, you should build with "sanitized" environment (e.g. precede your build sesssion by 'env -i' or unset LC_* or LANG or similar. HTH Michal
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1186992612.1207.9.camel>