This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

How to compile kernel modules?

I use the hardware are  "816X/389X EVM ASSY 512870 REV F" and "DM816X VIDEO SECURITY BOARD ASSY 513500 REV B" ,  the software i used is  "DM8168DVR_RDK_00.07.00.01". I compile the kernel use the command "gmake" ,but how to compile kernel modules, i use "make modules" ,the error is this:

 

root@ubuntu:/work/00.07.00.01/ti_tools/linux-psp-dvr-04.00.00.10/src/kernel_40010# make modules
  CHK     include/linux/version.h
  CHK     include/generated/utsrelease.h
make[1]: `include/generated/mach-types.h' is up to date.
  CALL    scripts/checksyscalls.sh
  CC [M]  drivers/char/ti81xx_hdmi/ti81xx_hdmi_lib.o
  CC [M]  drivers/char/ti81xx_hdmi/ti81xx_hdmi.o
  LD [M]  drivers/char/ti81xx_hdmi/TI81xx_hdmi.o
  CC [M]  drivers/scsi/scsi_wait_scan.o
  CC [M]  drivers/ssb/main.o
  CC [M]  drivers/ssb/scan.o
  CC [M]  drivers/ssb/driver_chipcommon.o
  CC [M]  drivers/ssb/driver_chipcommon_pmu.o
  LD [M]  drivers/ssb/ssb.o
  CC [M]  drivers/video/ti81xx/ti81xxfb/ti81xxfb_main.o
  CC [M]  drivers/video/ti81xx/ti81xxfb/ti81xxfb_sysfs.o
  CC [M]  drivers/video/ti81xx/ti81xxfb/ti81xxfb_ioctl.o
  LD [M]  drivers/video/ti81xx/ti81xxfb/ti81xxfb.o
  CC [M]  drivers/video/ti81xx/vpss/core.o
  CC [M]  drivers/video/ti81xx/vpss/fvid2.o
drivers/video/ti81xx/vpss/fvid2.c:34:28: error: ti/syslink/Std.h: No such file or directory
drivers/video/ti81xx/vpss/fvid2.c:35:30: error: ti/ipc/MultiProc.h: No such file or directory
drivers/video/ti81xx/vpss/fvid2.c:36:27: error: ti/ipc/Notify.h: No such file or directory
drivers/video/ti81xx/vpss/fvid2.c: In function 'vps_fvid2_create':
drivers/video/ti81xx/vpss/fvid2.c:208: error: implicit declaration of function 'Notify_sendEvent'
drivers/video/ti81xx/vpss/fvid2.c:251: error: implicit declaration of function 'Notify_registerEvent'
drivers/video/ti81xx/vpss/fvid2.c:254: error: 'Notify_FnNotifyCbck' undeclared (first use in this function)
drivers/video/ti81xx/vpss/fvid2.c:254: error: (Each undeclared identifier is reported only once
drivers/video/ti81xx/vpss/fvid2.c:254: error: for each function it appears in.)
drivers/video/ti81xx/vpss/fvid2.c:254: error: expected ')' before 'vps_callback'
drivers/video/ti81xx/vpss/fvid2.c: In function 'vps_fvid2_delete':
drivers/video/ti81xx/vpss/fvid2.c:323: error: implicit declaration of function 'Notify_unregisterEvent'
drivers/video/ti81xx/vpss/fvid2.c:327: error: 'Notify_FnNotifyCbck' undeclared (first use in this function)
drivers/video/ti81xx/vpss/fvid2.c:327: error: expected ')' before 'vps_callback'
drivers/video/ti81xx/vpss/fvid2.c: In function 'vps_fvid2_init':
drivers/video/ti81xx/vpss/fvid2.c:678: error: implicit declaration of function 'MultiProc_getId'
drivers/video/ti81xx/vpss/fvid2.c:679: error: 'MultiProc_INVALIDID' undeclared (first use in this function)
make[4]: *** [drivers/video/ti81xx/vpss/fvid2.o] Error 1
make[3]: *** [drivers/video/ti81xx/vpss] Error 2
make[2]: *** [drivers/video/ti81xx] Error 2
make[1]: *** [drivers/video] Error 2
make: *** [drivers] Error 2