Yes, I took from the 10.3-RELEASE release (http://ftp-archive.freebsd.org/pub/FreeBSD-Archive/old-releases/amd64/10.3-RELEASE/src.txz)
- Did you get the latest version of the source?
- Did you compile the world first?
make buildworld
make kernel KERNCONF=Core
/usr/src/lib/clang/libclangbasic/../../../contrib/llvm/tools/clang/lib/Basic/SourceManager.cpp:1208:10: fatal error: 'emmintrin.h' file not found
#include <emmintrin.h>
^
1 error generated.
mkdep: compile failed
*** Error code 1
.if !defined(CC) || ${CC} == "cc"
CC=clang
.endif
.if !defined(CXX) || ${CXX} == "c++"
CXX=clang++
.endif
Besides the fact 10.3 is EOL, that's not the latest source version. That's a over four years old snapshot when the RELEASE was released. For latest, two years old, 10.3 source version:vigole said:
Yes, I took from the 10.3-RELEASE release (http://ftp-archive.freebsd.org/pub/FreeBSD-Archive/old-releases/amd64/10.3-RELEASE/src.txz)
- Did you get the latest version of the source?
rm -r /usr/src
(double check path before executing command) svn co https://svn.freebsd.org/base/releng/10.3 /usr/src
FreeBSD 10.3 has been End-of-Life since April 2018 and is not supported any more. Upgrade to a supported version.My system "FreeBSD 10.3-RELEASE amd64".