Problems compiling kernel
- Reply: Michael Gmelin : "Re: Problems compiling kernel"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 30 Dec 2021 19:15:22 UTC
Dear all, on a system updated yesterday I get tuexen@head:~/freebsd-src % git branch * main tuexen@head:~/freebsd-src % git pull Already up to date. tuexen@head:~/freebsd-src % uname -a FreeBSD head 14.0-CURRENT FreeBSD 14.0-CURRENT #1 main-n252035-63f7f3921bd: Thu Dec 30 11:33:16 CET 2021 root@head:/usr/obj/usr/home/tuexen/freebsd-src/amd64.amd64/sys/TCP amd64 tuexen@head:~/freebsd-src % sudo make -j 4 kernel KERNCONF=TCP ld-elf.so.1: Shared object "libc++.so.1" not found, required by "cc" make: "/usr/home/tuexen/freebsd-src/share/mk/bsd.compiler.mk" line 201: warning: "cc -v 2>&1 | grep "gcc version"" returned non-zero status make: "/usr/home/tuexen/freebsd-src/share/mk/bsd.compiler.mk" line 205: Unable to determine compiler type for CC=cc. Consider setting COMPILER_TYPE. make: stopped in /usr/home/tuexen/freebsd-src tuexen@head:~/freebsd-src % any idea what I did wrong and how to fix it? Thanks for any hints. Best regards Michael