Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 09 Mar 2012 22:22:18 -0800
From:      matt <sendtomatt@gmail.com>
To:        "Conrad J. Sabatier" <conrads@cox.net>
Cc:        freebsd-current@freebsd.org
Subject:   Re: More of that "Rune" business
Message-ID:  <4F5AF31A.8000001@gmail.com>
In-Reply-To: <20120310001933.15e15bbe@cox.net>
References:  <20120309140408.42f136d5@cox.net> <4F5A788B.8090907@mail.zedat.fu-berlin.de> <20120309233822.789ad2cf@cox.net> <20120309235350.7422a1fe@cox.net> <20120310001933.15e15bbe@cox.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On 03/09/12 22:19, Conrad J. Sabatier wrote:
> On Fri, 9 Mar 2012 23:53:50 -0600
> "Conrad J. Sabatier" <conrads@cox.net> wrote:
>
> [snip]
>
>> Well, now, this is interesting.  Just for curiosity's sake, I tried
>> building a new kernel with the fresh source tree I just fetched from
>> the svn repository, and it succeeded!  Still can't build world,
>> though.
>>
>> The question now is: do I dare install this new kernel and give it a
>> try?  Cant afford to do any harm to my existing installation.
>>
>> My latest working kernel is from Feb 23.  Just how dangerous might it
>> be to try the new one?
> Well, alright.  The kernel built, installed and booted OK (I used the
> old-fashioned kernel build method with config(8)), but buildworld still=

> fails the same as before:
>
> =3D=3D=3D> games/fortune/strfile (obj,depend,all,install)
> /usr/obj/usr/src/tmp/usr/src/games/fortune/strfile created
> for /usr/src/games/fortune/strfile rm -f .depend
> CC=3D'clang' mkdep -f .depend -a
> -I/usr/obj/usr/src/tmp/legacy/usr/include
> -std=3Dgnu99  /usr/src/games/fortune/strfile/strfile.c echo
> strfile: /usr/lib/libc.a /usr/obj/usr/src/tmp/legacy/usr/lib/libegacy.a=

>>> .depend clang -Wall -Wno-error -O2  -pipe -fomit-frame-pointer
>>> -std=3Dgnu99   -I/usr/obj/usr/src/tmp/legacy/usr/include
>>> -c /usr/src/games/fortune/strfile/strfile.c clang -Wall -Wno-error
>>> -O2  -pipe -fomit-frame-pointer -std=3Dgnu99
>>> -I/usr/obj/usr/src/tmp/legacy/usr/include  -static
>>> -L/usr/obj/usr/src/tmp/legacy/usr/lib -o strfile strfile.o -legacy
>>> clang: warning: argument unused during compilation: '-std=3Dgnu99'
> strfile.o: In function `main':
> /usr/src/games/fortune/strfile/strfile.c:(.text+0x2cc): undefined
> reference to
> `_ThreadRuneLocale' /usr/src/games/fortune/strfile/strfile.c:(.text+0x3=
72):
> undefined reference to `_ThreadRuneLocale' strfile.o: In function
> `cmp_str': /usr/src/games/fortune/strfile/strfile.c:(.text+0x839):
> undefined reference to
> `_ThreadRuneLocale' /usr/src/games/fortune/strfile/strfile.c:(.text+0x8=
98):
> undefined reference to
> `_ThreadRuneLocale' /usr/src/games/fortune/strfile/strfile.c:(.text+0x9=
81):
> undefined reference to `_ThreadRuneLocale'
> strfile.o:/usr/src/games/fortune/strfile/strfile.c:(.text+0x9d9): more
> undefined references to `_ThreadRuneLocale' follow clang: error: linker=

> command failed with exit code 1 (use -v to see invocation) ***
> [strfile] Error code 1
>
> Stop in /usr/src/games/fortune/strfile.
> *** [bootstrap-tools] Error code 1
>
> Stop in /usr/src.
> *** [_bootstrap-tools] Error code 1
>
> Stop in /usr/src.
> *** [buildworld] Error code 1
>
> Stop in /usr/src.
>
>
> That sound you're hearing right now is me gnashing my teeth.  :-)
>
blow away /usr/obj, /usr/src, csup to current, then do "cd
/usr/src/include && make install"?
That may fix your system headers enough to allow a buildworld...

The rune curse was lifted long ago...sounds like there are some remnants
still on your system.

Matt

"Klaatu barada xlocale..."




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4F5AF31A.8000001>