Re: Problems compiling kernel
- Reply: Konstantin Belousov : "Re: Problems compiling kernel"
- In reply to: Michael Gmelin : "Re: Problems compiling kernel"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 30 Dec 2021 19:33:09 UTC
> On 30. Dec 2021, at 20:26, Michael Gmelin <grembo@FreeBSD.org> wrote: > > This should have been resolved today in https://cgit.freebsd.org/src/commit/?id=5e6a2d6eb220d780c9128c81b58f133114061415 I do have that commit locally in the tree... But I can't build world or kernel. Looking for libc++.so.1 I get tuexen@head:~/freebsd-src % ls -l /usr/lib/libc++* -r--r--r-- 1 root wheel 6939492 Dec 30 11:38 /usr/lib/libc++.a -r--r--r-- 1 root wheel 68 Jan 28 2021 /usr/lib/libc++.so -r--r--r-- 1 root wheel 35234 Dec 30 11:38 /usr/lib/libc++experimental.a tuexen@head:~/freebsd-src % ls -l /lib/libc++* ls: No match. tuexen@head:~/freebsd-src % How can I build a kernel? Best regards Michael > > -m > >> On 30. Dec 2021, at 20:17, tuexen@freebsd.org wrote: >> >> 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