Hello everybody, First of all, my bad if this get sent two times. I have a compile error/problem when building world. My uname -a output is: FreeBSD barabolaptop 7.1-BETA2 FreeBSD 7.1-BETA2 #0: Thu Dec 4 20:52:35 CET 2008 root@barabolaptop:/usr/obj/usr/src/sys/BARABOLAPTOP i386 My make.conf looks like: # added by use.perl 2008-12-03 00:58:09 PERL_VER=5.8.8 PERL_VERSION=5.8.8 WRKDIRPREFIX=/var/tmp The options.h file in /usr/obj/usr/src/gnu/usr.bin/cc/cc_tools/options.h Here are the output of options.h from pastebin: http://pastebin.com/m254dfedf When I run "make -j1 buildworld" i get the error is as following: http://pastebin.com/m57738677 I don't know much of programming (if any), but I have tried to change things in (remove OPT_w from both places) options.h and runned "make -j1 -DNOCLEAN buildworld" But that have not solve anything of this, perhaps some can shine some light on this or have I missed something trivial? I can build ports and so on without any problems. Thank you.
Hello everybody, I have a compile error/problem when building world. My uname -a output is: FreeBSD barabolaptop 7.1-BETA2 FreeBSD 7.1-BETA2 #0: Thu Dec 4 20:52:35 CET 2008 root@barabolaptop:/usr/obj/usr/src/sys/BARABOLAPTOP i386 My make.conf looks like: # added by use.perl 2008-12-03 00:58:09 PERL_VER=5.8.8 PERL_VERSION=5.8.8 WRKDIRPREFIX=/var/tmp The options.h file in /usr/obj/usr/src/gnu/usr.bin/cc/cc_tools/options.h Here are the output of options.h from pastebin: http://pastebin.com/m254dfedf When I run "make -j1 buildworld" i get the error is as following: http://pastebin.com/m57738677 I don't know much of programming (if any), but I have tried to change things in (remove OPT_w from both places) options.h and runned "make -j1 -DNOCLEAN buildworld" But that have not solve anything of this, perhaps some can shine some light on this or have I missed something trivial? I can build ports and so on without any problems. Thank you.
On Jan 1, 2009, at 19:23, Mattias Bj?rk <mattias.bjork@sydnet.net> wrote:> Hello everybody, > > First of all, my bad if this get sent two times. > > I have a compile error/problem when building world. > > My uname -a output is: > > FreeBSD barabolaptop 7.1-BETA2 FreeBSD 7.1-BETA2 #0: Thu Dec 4 > 20:52:35 > CET 2008 root@barabolaptop:/usr/obj/usr/src/sys/BARABOLAPTOP i386 > > My make.conf looks like: > > # added by use.perl 2008-12-03 00:58:09 > PERL_VER=5.8.8 > PERL_VERSION=5.8.8 > WRKDIRPREFIX=/var/tmp > > > The options.h file in /usr/obj/usr/src/gnu/usr.bin/cc/cc_tools/ > options.h > > Here are the output of options.h from pastebin: > > http://pastebin.com/m254dfedf > > > When I run "make -j1 buildworld" i get the error is as following: > > http://pastebin.com/m57738677 > > I don't know much of programming (if any), but I have tried to change > things in (remove OPT_w from both places) options.h and runned > "make -j1 -DNOCLEAN buildworld" > > But that have not solve anything of this, perhaps some can shine some > light on this or have I missed something trivial? > I can build ports and so on without any problems. > > Thank you.Not enough data. Please send a full compressed version of the log to me. Thanks! -Garrett
> I have a compile error/problem when building world. > > My uname -a output is: > > FreeBSD barabolaptop 7.1-BETA2 FreeBSD 7.1-BETA2 #0: Thu Dec 4 20:52:35 > CET 2008 root@barabolaptop:/usr/obj/usr/src/sys/BARABOLAPTOP i386Sync the time on your computer and try the buildworld again. -- regards Claus When lenity and cruelty play for a kingdom, the gentler gamester is the soonest winner. Shakespeare
Hello Claus, Claus Guttesen wrote:>> I have a compile error/problem when building world. >> >> My uname -a output is: >> >> FreeBSD barabolaptop 7.1-BETA2 FreeBSD 7.1-BETA2 #0: Thu Dec 4 20:52:35 >> CET 2008 root@barabolaptop:/usr/obj/usr/src/sys/BARABOLAPTOP i386 > > Sync the time on your computer and try the buildworld again. >I have tried that several times, even removed /usr/src/* entirely and started from scratch. And tried a couple of other cvsup.XX.freebsd.org servers. Still no go Claus :( Any more suggestions ? Thanks so far.
Hello again :) Claus Guttesen wrote:> Hello Mattias. > > On Fri, Jan 2, 2009 at 9:04 PM, Mattias Bj?rk <mattias.bjork@sydnet.net> wrote: >> Hello Claus, >> >> Claus Guttesen wrote: >>>> I have a compile error/problem when building world. >>>> >>>> My uname -a output is: >>>> >>>> FreeBSD barabolaptop 7.1-BETA2 FreeBSD 7.1-BETA2 #0: Thu Dec 4 20:52:35 >>>> CET 2008 root@barabolaptop:/usr/obj/usr/src/sys/BARABOLAPTOP i386 >>> Sync the time on your computer and try the buildworld again. >>> >> >> I have tried that several times, even removed /usr/src/* entirely and >> started from scratch. And tried a couple of other cvsup.XX.freebsd.org >> servers. Still no go Claus :( >> >> Any more suggestions ? >> >> Thanks so far. > > Unfortunately not. :-/ The only times I've had problems recently > building world was because the time on my computer was (way) > incorrect.Well I don't think anything is incorrect on the computer, can build everything else fine and it goes on and on.> You can try removing /usr/obj as well before doing a new buildworld. > AFAIK you don't have to alter options.h to make a buildworld run > smoothly.I have tried too make clean ; make clean ; make cleandir ; make cleandir and then rm -rf /usr/obj. Still the same problem I'm afraid.> HTH. >
Hello again, Garrett Cooper wrote:> On Fri, Jan 2, 2009 at 11:52 AM, Mattias Bj?rk <mattias.bjork@sydnet.net> wrote: >> Hello Garrett, >> >> >> Sorry for top posting, but here is the attachment of the log. >> >> >> Garrett Cooper wrote: >>> On Jan 1, 2009, at 19:23, Mattias Bj?rk <mattias.bjork@sydnet.net> wrote: >>> >>>> Hello everybody, >>>> >>>> First of all, my bad if this get sent two times. >>>> >>>> I have a compile error/problem when building world. >>>> >>>> My uname -a output is: >>>> >>>> FreeBSD barabolaptop 7.1-BETA2 FreeBSD 7.1-BETA2 #0: Thu Dec 4 20:52:35 >>>> CET 2008 root@barabolaptop:/usr/obj/usr/src/sys/BARABOLAPTOP i386 >>>> >>>> My make.conf looks like: >>>> >>>> # added by use.perl 2008-12-03 00:58:09 >>>> PERL_VER=5.8.8 >>>> PERL_VERSION=5.8.8 >>>> WRKDIRPREFIX=/var/tmp >>>> >>>> >>>> The options.h file in /usr/obj/usr/src/gnu/usr.bin/cc/cc_tools/options.h >>>> >>>> Here are the output of options.h from pastebin: >>>> >>>> http://pastebin.com/m254dfedf >>>> >>>> >>>> When I run "make -j1 buildworld" i get the error is as following: >>>> >>>> http://pastebin.com/m57738677 >>>> >>>> I don't know much of programming (if any), but I have tried to change >>>> things in (remove OPT_w from both places) options.h and runned >>>> "make -j1 -DNOCLEAN buildworld" >>>> >>>> But that have not solve anything of this, perhaps some can shine some >>>> light on this or have I missed something trivial? >>>> I can build ports and so on without any problems. >>>> >>>> Thank you. >>> Not enough data. Please send a full compressed version of the log to me. >>> Thanks! >>> -Garrett > > That's really odd why the symbol was redefined. Here're the relevant > sections of the log: > > c_tools/../../../../contrib/gcc/gencheck.c > In file included from ./tm.h:4, > from > /usr/src/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcc/gencheck.c:25: > ./options.h:901: error: redeclaration of enumerator 'OPT_w' > ./options.h:899: error: previous definition of 'OPT_w' was here > *** Error code 1 > 1 error > *** Error code 2 > 1 error > *** Error code 2 > 1 error > *** Error code 2 > > Looking back, I'm not sure why OPT_w is printed into the file twice. > I wonder if you met a rare race condition where options.sh printed out > that line twice; then again that's unlikely, given the > reproducibility... I could be wrong however. > Is your source tree based off of RELENG_7 and what cvsup server is it > synced against? > -GarrettI'm using cvsup.se.freebsd.org, cvsup.dk.freebsd.org, cvsup.no.freebsd.org I have tried to remove /usr/src/* right now and downloaded it again but it did not help after the build. So I have no idea what to do from here. But I guess It would be solved sometime in the future. Thanks so far :)