More of that "Rune" business

matt sendtomatt at gmail.com
Sat Mar 10 06:23:49 UTC 2012


On 03/09/12 22:19, Conrad J. Sabatier wrote:
> On Fri, 9 Mar 2012 23:53:50 -0600
> "Conrad J. Sabatier" <conrads at 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:
>
> ===> 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='clang' mkdep -f .depend -a
> -I/usr/obj/usr/src/tmp/legacy/usr/include
> -std=gnu99  /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=gnu99   -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=gnu99
>>> -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=gnu99'
> 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+0x372):
> 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+0x898):
> undefined reference to
> `_ThreadRuneLocale' /usr/src/games/fortune/strfile/strfile.c:(.text+0x981):
> 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..."



More information about the freebsd-current mailing list