Build error on Jetpack 4.4.1

Hi
I tried to build for my custom board , I had one driver with an sysfs entry and I tried another sysfs entry in another driver. When I tried to make both drivers as LKM I’m getting this error
`Linux_for_Tegra/source/public/kernel/kernel-4.9/Makefile:1085: vmlinux] Error 1

make[1]: Leaving directory Linux_for_Tegra/source/public/kernel/kernel-4.9/kernel_out' make: *** [Makefile:171: sub-make] Error 2

I can’t answer this specifically, especially since not enough information is present. However, I’ll start with the most obvious questions:

  • Is this the kernel source from a specific L4T release?
  • Did you start with configuration target “tegra_defconfig”?
  • Were any edits to configuration using a dependency-aware editor, e.g., menuconfig or nconfig?
  • Is this a cross compile on a host PC using cross tools, or is this natively compiled?
  • Related to the prior question, if cross-compiled, what compiler version was used? Is that something you’ve checked as compatible with that release?

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.