Thanks You for your answer,
but it didn't depend on
/etc/make.conf and on this machine there is no
/etc/src.conf.
I could fix the other problem
https://forums.freebsd.org/threads/63356/#post-366492 by coping
xlocale from an other installation into
/usr/include/xlocale on this computer and then the compiler goes further, but it stops at the error I mentioned here.
Because that xlocate was missing I inspect the log file more closer. I see that the last compiler command
Code:
clang++
-O2
-pipe
-I/usr/obj/usr/src/tmp/usr/src/lib/clang/libllvm
-I/usr/src/lib/clang/include
-I/usr/src/contrib/llvm/include
-DLLVM_ON_UNIX
-DLLVM_ON_FREEBSD
-D__STDC_LIMIT_MACROS
-D__STDC_CONSTANT_MACROS
-DNDEBUG
-DLLVM_DEFAULT_TARGET_TRIPLE=\"i386-unknown-freebsd11.1\"
-DLLVM_HOST_TRIPLE=\"i386-unknown-freebsd11.1\"
-DDEFAULT_SYSROOT=\"/usr/obj/usr/src/tmp\"
-ffunction-sections
-fdata-sections
-g
-Qunused-arguments
-I/usr/obj/usr/src/tmp/legacy/usr/include
-std=c++11
-fno-exceptions
-fno-rtti
-stdlib=libc++
-Wno-c++11-extensions
-Wl,--gc-sections
-static
-L/usr/obj/usr/src/tmp/legacy/usr/lib
-o llvm-tblgen.full AsmMatcherEmitter.o AsmWriterEmitter.o .........
-lncursesw
-lpthread
-legacy
using "-lpthread".
I found out that this stand for a library what is been linked here. I'm searching for a library with that name and found them in
/usr/lib/
/usr/lib/libthr_p.a
/usr/lib/libthr.a
/usr/lib/libthr.so
but why can the linker not find them? I compare this directory with the directory from my FreeBSD virtual server and found out that at my virtual server there are a lot links been set and on my old home machine not. I do not know why. So I setting the links by myself:
libpthread_p.a -> libthr_p.a
libpthread.a -> libthr.a
libpthread.so -> libthr.so
That's was it. Running
make buildworld
goes now further but stops on an another position. I set then all missing links I match with the virtual server machine and the home computer and now it is compiling since Thursday night (an old Pentium III
).
I thing between the years some is going corrupt with the installation files on this machine.
There is one question I have yet: If I run further in this trouble, could I delete the complete installation without deleting all files downstairs of
/usr/local and install the system new (maybe from DVD) without deleting anything in
/usr/local/...?