Hi!
Im trying to compile my custom kernel but shows me this error:
here is my /etc/make.conf
and my /etc/src.conf
I don't think the configuration kernel is important. But if it is, please let me know to post it.
Thanks!
Im trying to compile my custom kernel but shows me this error:
Code:
--- mrsas_cam.o ---
cc -target x86_64-unknown-freebsd12.1 --sysroot=/usr/obj/usr/src/amd64.amd64/tmp -B/usr/obj/usr/src/amd64.amd64/tmp/usr/bin -c -O2 -pipe -fno-strict-aliasing -march=native -g -nostdinc -I. -I/usr/src/sys -I/usr/src/sys/contrib/ck/include -I/usr/src/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -MD -MF.depend.mrsas_cam.o -MTmrsas_cam.o -fdebug-prefix-map=./machine=/usr/src/sys/amd64/include -fdebug-prefix-map=./x86=/usr/src/sys/x86/include -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -fwrapv -fstack-protector -gdwarf-2 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-qual -Wundef -Wno-pointer-sign -D__printf__=__freebsd_kprintf__ -Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-pragmas -Wno-error-tautological-compare -Wno-error-empty-body -Wno-error-parentheses-equality -Wno-error-unused-function -Wno-error-pointer-sign -Wno-error-shift-negative-value -Wno-address-of-packed-member -mno-aes -mno-avx -std=iso9899:1999 -Werror /usr/src/sys/dev/mrsas/mrsas_cam.c
/usr/src/sys/dev/mrsas/mrsas_cam.c:1919:4: error: misleading indentation; statement is not part of the previous 'if' [-Werror,-Wmisleading-indentation]
if (mpt_cmd->ccb_ptr->cpi.bus_id == bus_id &&
^
/usr/src/sys/dev/mrsas/mrsas_cam.c:1916:3: note: previous statement is here
if (bus_id == 1)
^
1 error generated.
*** [mrsas_cam.o] Error code 1
make[2]: stopped in /usr/obj/usr/src/amd64.amd64/sys/GLATS
--- mmc.o ---
ctfconvert -L VERSION -g mmc.o
--- modules-all ---
ctfconvert -L VERSION -g arcmsr.o
A failure has been detected in another branch of the parallel make
make[4]: stopped in /usr/src/sys/modules/arcmsr
*** [all_subdir_arcmsr] Error code 2
make[3]: stopped in /usr/src/sys/modules
1 error
make[3]: stopped in /usr/src/sys/modules
*** [modules-all] Error code 2
make[2]: stopped in /usr/obj/usr/src/amd64.amd64/sys/GLATS
--- mrsas.o ---
ctfconvert -L VERSION -g mrsas.o
2 errors
make[2]: stopped in /usr/obj/usr/src/amd64.amd64/sys/GLATS
*** [buildkernel] Error code 2
make[1]: stopped in /usr/src
1 error
make[1]: stopped in /usr/src
*** [buildkernel] Error code 2
make: stopped in /usr/src
1 error
make: stopped in /usr/src
here is my /etc/make.conf
Code:
CPUTYPE?=native
CFLAGS=-O2 -pipe -fno-strict-aliasing
COPTFLAGS=-O2 -pipe -fno-strict-aliasing
MALLOC_PRODUCTION="YES"
Code:
WITHOUT_ASSERT_DEBUG="ON"
I don't think the configuration kernel is important. But if it is, please let me know to post it.
Thanks!