Rebuilding pfSense kernel for 2.3.1 Error
-
I tried re-building the kernel with the following commands one of the members suggested
rm -rf "/usr/local/src" mkdir -p -m 0755 "/usr/local/src" cd "/usr/local/src" git clone -b "RELENG_2_3_1" "https://github.com/pfsense/FreeBSD-src.git" cd "/usr/local/src/FreeBSD-src" make buildkernel KERNCONF=pfSense make distributekernel KERNCONF=pfSense make packagekernel KERNCONF=pfSense
but the command
make distributekernel KERNCONF=pfSense
gives an error
===> ix (install) install -o root -g wheel -m 555 if_ix.ko /kernel/boot/kernel install: if_ix.ko: No such file or directory *** Error code 71 Stop. make[4]: stopped in /usr/local/src/FreeBSD-src/sys/modules/ix *** Error code 1 Stop. make[3]: stopped in /usr/local/src/FreeBSD-src/sys/modules *** Error code 1 Stop. make[2]: stopped in /usr/obj/usr/local/src/FreeBSD-src/sys/pfSense *** Error code 1 Stop. make[1]: stopped in /usr/local/src/FreeBSD-src *** Error code 1 Stop. make: stopped in /usr/local/src/FreeBSD-src
and the build fails, any ideas?
Please find attached the typescript of terminal session for the re-build.
Thanks,
Anand
transbldkernel.txt
Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.