Checking for required tools ... Done. Checking for required packages ... Done. Checking for previous installation ... None Beginning install, please wait... Creating build directory /home/womb/Downloads/PCIE_1CH_4K60_CAPTURE_CARD_DRIVER_FOR_LINUX/hwsuhdX1/hws_build ... Done. Copying driver source into /home/womb/Downloads/PCIE_1CH_4K60_CAPTURE_CARD_DRIVER_FOR_LINUX/hwsuhdX1/hws_build ... '/home/womb/Downloads/PCIE_1CH_4K60_CAPTURE_CARD_DRIVER_FOR_LINUX/hwsuhdX1/scripts/../src/./.tmp_6120' -> '/home/womb/Downloads/PCIE_1CH_4K60_CAPTURE_CARD_DRIVER_FOR_LINUX/hwsuhdX1/hws_build/./.tmp_6120' '/home/womb/Downloads/PCIE_1CH_4K60_CAPTURE_CARD_DRIVER_FOR_LINUX/hwsuhdX1/scripts/../src/./.tmp_6120/tmp' -> '/home/womb/Downloads/PCIE_1CH_4K60_CAPTURE_CARD_DRIVER_FOR_LINUX/hwsuhdX1/hws_build/./.tmp_6120/tmp' '/home/womb/Downloads/PCIE_1CH_4K60_CAPTURE_CARD_DRIVER_FOR_LINUX/hwsuhdX1/scripts/../src/./.tmp_6218' -> '/home/womb/Downloads/PCIE_1CH_4K60_CAPTURE_CARD_DRIVER_FOR_LINUX/hwsuhdX1/hws_build/./.tmp_6218' '/home/womb/Downloads/PCIE_1CH_4K60_CAPTURE_CARD_DRIVER_FOR_LINUX/hwsuhdX1/scripts/../src/./dkms.conf' -> '/home/womb/Downloads/PCIE_1CH_4K60_CAPTURE_CARD_DRIVER_FOR_LINUX/hwsuhdX1/hws_build/./dkms.conf' '/home/womb/Downloads/PCIE_1CH_4K60_CAPTURE_CARD_DRIVER_FOR_LINUX/hwsuhdX1/scripts/../src/./hws.h' -> '/home/womb/Downloads/PCIE_1CH_4K60_CAPTURE_CARD_DRIVER_FOR_LINUX/hwsuhdX1/hws_build/./hws.h' '/home/womb/Downloads/PCIE_1CH_4K60_CAPTURE_CARD_DRIVER_FOR_LINUX/hwsuhdX1/scripts/../src/./hws_reg.h' -> '/home/womb/Downloads/PCIE_1CH_4K60_CAPTURE_CARD_DRIVER_FOR_LINUX/hwsuhdX1/hws_build/./hws_reg.h' '/home/womb/Downloads/PCIE_1CH_4K60_CAPTURE_CARD_DRIVER_FOR_LINUX/hwsuhdX1/scripts/../src/./hws_video.c' -> '/home/womb/Downloads/PCIE_1CH_4K60_CAPTURE_CARD_DRIVER_FOR_LINUX/hwsuhdX1/hws_build/./hws_video.c' '/home/womb/Downloads/PCIE_1CH_4K60_CAPTURE_CARD_DRIVER_FOR_LINUX/hwsuhdX1/scripts/../src/./load.sh' -> '/home/womb/Downloads/PCIE_1CH_4K60_CAPTURE_CARD_DRIVER_FOR_LINUX/hwsuhdX1/hws_build/./load.sh' '/home/womb/Downloads/PCIE_1CH_4K60_CAPTURE_CARD_DRIVER_FOR_LINUX/hwsuhdX1/scripts/../src/./Makefile' -> '/home/womb/Downloads/PCIE_1CH_4K60_CAPTURE_CARD_DRIVER_FOR_LINUX/hwsuhdX1/hws_build/./Makefile' Done. Building module for kernel 6.8.0-45-generic ... make: Entering directory '/home/womb/Downloads/PCIE_1CH_4K60_CAPTURE_CARD_DRIVER_FOR_LINUX/hwsuhdX1/hws_build' make -C /lib/modules/6.8.0-45-generic/build M=/home/womb/Downloads/PCIE_1CH_4K60_CAPTURE_CARD_DRIVER_FOR_LINUX/hwsuhdX1/hws_build modules make[1]: Entering directory '/usr/src/linux-headers-6.8.0-45-generic' warning: the compiler differs from the one used to build the kernel The kernel was built by: x86_64-linux-gnu-gcc-12 (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0 You are using: gcc-12 (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0 CC [M] /home/womb/Downloads/PCIE_1CH_4K60_CAPTURE_CARD_DRIVER_FOR_LINUX/hwsuhdX1/hws_build/hws_video.o /home/womb/Downloads/PCIE_1CH_4K60_CAPTURE_CARD_DRIVER_FOR_LINUX/hwsuhdX1/hws_build/hws_video.c:227:22: warning: no previous prototype for ‘v4l2_model_get_support_videoformat’ [-Wmissing-prototypes] 227 | v4l2_model_timing_t *v4l2_model_get_support_videoformat(int index) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/womb/Downloads/PCIE_1CH_4K60_CAPTURE_CARD_DRIVER_FOR_LINUX/hwsuhdX1/hws_build/hws_video.c:236:24: warning: no previous prototype for ‘v4l2_model_get_support_pixformat’ [-Wmissing-prototypes] 236 | framegrabber_pixfmt_t *v4l2_model_get_support_pixformat(int index) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/womb/Downloads/PCIE_1CH_4K60_CAPTURE_CARD_DRIVER_FOR_LINUX/hwsuhdX1/hws_build/hws_video.c:243:30: warning: no previous prototype for ‘framegrabber_g_support_pixelfmt_by_fourcc’ [-Wmissing-prototypes] 243 | const framegrabber_pixfmt_t *framegrabber_g_support_pixelfmt_by_fourcc(u32 fourcc) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/womb/Downloads/PCIE_1CH_4K60_CAPTURE_CARD_DRIVER_FOR_LINUX/hwsuhdX1/hws_build/hws_video.c: In function ‘hws_vidioc_enum_fmt_vid_cap’: /home/womb/Downloads/PCIE_1CH_4K60_CAPTURE_CARD_DRIVER_FOR_LINUX/hwsuhdX1/hws_build/hws_video.c:307:21: error: implicit declaration of function ‘strlcpy’; did you mean ‘strscpy’? [-Werror=implicit-function-declaration] 307 | strlcpy(f->description, pixfmt->name, sizeof(f->description)); | ^~~~~~~ | strscpy /home/womb/Downloads/PCIE_1CH_4K60_CAPTURE_CARD_DRIVER_FOR_LINUX/hwsuhdX1/hws_build/hws_video.c: At top level: /home/womb/Downloads/PCIE_1CH_4K60_CAPTURE_CARD_DRIVER_FOR_LINUX/hwsuhdX1/hws_build/hws_video.c:313:6: warning: no previous prototype for ‘framegrabber_g_Curr_input_framesize’ [-Wmissing-prototypes] 313 | void framegrabber_g_Curr_input_framesize(struct hws_video *dev,int *width,int *height) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/womb/Downloads/PCIE_1CH_4K60_CAPTURE_CARD_DRIVER_FOR_LINUX/hwsuhdX1/hws_build/hws_video.c:320:30: warning: no previous prototype for ‘framegrabber_g_out_pixelfmt’ [-Wmissing-prototypes] 320 | const framegrabber_pixfmt_t *framegrabber_g_out_pixelfmt(struct hws_video *dev) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/womb/Downloads/PCIE_1CH_4K60_CAPTURE_CARD_DRIVER_FOR_LINUX/hwsuhdX1/hws_build/hws_video.c:449:5: warning: no previous prototype for ‘hws_vidioc_g_parm’ [-Wmissing-prototypes] 449 | int hws_vidioc_g_parm(struct file *file,void *fh, struct v4l2_streamparm *setfps) | ^~~~~~~~~~~~~~~~~ /home/womb/Downloads/PCIE_1CH_4K60_CAPTURE_CARD_DRIVER_FOR_LINUX/hwsuhdX1/hws_build/hws_video.c:773:5: warning: no previous prototype for ‘hws_vidioc_g_ctrl’ [-Wmissing-prototypes] 773 | int hws_vidioc_g_ctrl(struct file *file, void *fh,struct v4l2_control *a)// | ^~~~~~~~~~~~~~~~~ /home/womb/Downloads/PCIE_1CH_4K60_CAPTURE_CARD_DRIVER_FOR_LINUX/hwsuhdX1/hws_build/hws_video.c:830:5: warning: no previous prototype for ‘hws_vidioc_s_ctrl’ [-Wmissing-prototypes] 830 | int hws_vidioc_s_ctrl(struct file *file, void *fh,struct v4l2_control *a) | ^~~~~~~~~~~~~~~~~ /home/womb/Downloads/PCIE_1CH_4K60_CAPTURE_CARD_DRIVER_FOR_LINUX/hwsuhdX1/hws_build/hws_video.c:888:6: warning: no previous prototype for ‘mem_model_memset’ [-Wmissing-prototypes] 888 | void mem_model_memset(void *s,int c,unsigned int n) | ^~~~~~~~~~~~~~~~ /home/womb/Downloads/PCIE_1CH_4K60_CAPTURE_CARD_DRIVER_FOR_LINUX/hwsuhdX1/hws_build/hws_video.c:1003:5: warning: no previous prototype for ‘hws_vidioc_s_parm’ [-Wmissing-prototypes] 1003 | int hws_vidioc_s_parm(struct file *file, void *fh,struct v4l2_streamparm *a) | ^~~~~~~~~~~~~~~~~ /home/womb/Downloads/PCIE_1CH_4K60_CAPTURE_CARD_DRIVER_FOR_LINUX/hwsuhdX1/hws_build/hws_video.c:1327:6: warning: no previous prototype for ‘audio_data_process’ [-Wmissing-prototypes] 1327 | void audio_data_process(struct work_struct *p_work) | ^~~~~~~~~~~~~~~~~~ /home/womb/Downloads/PCIE_1CH_4K60_CAPTURE_CARD_DRIVER_FOR_LINUX/hwsuhdX1/hws_build/hws_video.c:2922:6: warning: no previous prototype for ‘video_data_process’ [-Wmissing-prototypes] 2922 | void video_data_process(struct work_struct *p_work) | ^~~~~~~~~~~~~~~~~~ /home/womb/Downloads/PCIE_1CH_4K60_CAPTURE_CARD_DRIVER_FOR_LINUX/hwsuhdX1/hws_build/hws_video.c:3097:6: warning: no previous prototype for ‘hws_remove_deviceregister’ [-Wmissing-prototypes] 3097 | void hws_remove_deviceregister(struct hws_pcie_dev *dev) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/womb/Downloads/PCIE_1CH_4K60_CAPTURE_CARD_DRIVER_FOR_LINUX/hwsuhdX1/hws_build/hws_video.c:3111:5: warning: no previous prototype for ‘hws_video_register’ [-Wmissing-prototypes] 3111 | int hws_video_register(struct hws_pcie_dev *dev) | ^~~~~~~~~~~~~~~~~~ /home/womb/Downloads/PCIE_1CH_4K60_CAPTURE_CARD_DRIVER_FOR_LINUX/hwsuhdX1/hws_build/hws_video.c: In function ‘hws_video_register’: /home/womb/Downloads/PCIE_1CH_4K60_CAPTURE_CARD_DRIVER_FOR_LINUX/hwsuhdX1/hws_build/hws_video.c:3170:18: error: ‘struct vb2_queue’ has no member named ‘min_buffers_needed’ 3170 | q->min_buffers_needed = 2; | ^~ /home/womb/Downloads/PCIE_1CH_4K60_CAPTURE_CARD_DRIVER_FOR_LINUX/hwsuhdX1/hws_build/hws_video.c: At top level: /home/womb/Downloads/PCIE_1CH_4K60_CAPTURE_CARD_DRIVER_FOR_LINUX/hwsuhdX1/hws_build/hws_video.c:3268:5: warning: no previous prototype for ‘hws_pcie_audio_open’ [-Wmissing-prototypes] 3268 | int hws_pcie_audio_open(struct snd_pcm_substream *substream) | ^~~~~~~~~~~~~~~~~~~ /home/womb/Downloads/PCIE_1CH_4K60_CAPTURE_CARD_DRIVER_FOR_LINUX/hwsuhdX1/hws_build/hws_video.c:3283:5: warning: no previous prototype for ‘hws_pcie_audio_close’ [-Wmissing-prototypes] 3283 | int hws_pcie_audio_close(struct snd_pcm_substream *substream) | ^~~~~~~~~~~~~~~~~~~~ /home/womb/Downloads/PCIE_1CH_4K60_CAPTURE_CARD_DRIVER_FOR_LINUX/hwsuhdX1/hws_build/hws_video.c:3289:5: warning: no previous prototype for ‘hws_pcie_audio_hw_params’ [-Wmissing-prototypes] 3289 | int hws_pcie_audio_hw_params(struct snd_pcm_substream *substream, struct snd_pcm_hw_params *hw_params) | ^~~~~~~~~~~~~~~~~~~~~~~~ /home/womb/Downloads/PCIE_1CH_4K60_CAPTURE_CARD_DRIVER_FOR_LINUX/hwsuhdX1/hws_build/hws_video.c:3295:5: warning: no previous prototype for ‘hws_pcie_audio_hw_free’ [-Wmissing-prototypes] 3295 | int hws_pcie_audio_hw_free(struct snd_pcm_substream *substream) | ^~~~~~~~~~~~~~~~~~~~~~ /home/womb/Downloads/PCIE_1CH_4K60_CAPTURE_CARD_DRIVER_FOR_LINUX/hwsuhdX1/hws_build/hws_video.c:3301:5: warning: no previous prototype for ‘hws_pcie_audio_prepare’ [-Wmissing-prototypes] 3301 | int hws_pcie_audio_prepare(struct snd_pcm_substream *substream) | ^~~~~~~~~~~~~~~~~~~~~~ /home/womb/Downloads/PCIE_1CH_4K60_CAPTURE_CARD_DRIVER_FOR_LINUX/hwsuhdX1/hws_build/hws_video.c:3321:5: warning: no previous prototype for ‘hws_pcie_audio_trigger’ [-Wmissing-prototypes] 3321 | int hws_pcie_audio_trigger(struct snd_pcm_substream *substream, int cmd) | ^~~~~~~~~~~~~~~~~~~~~~ /home/womb/Downloads/PCIE_1CH_4K60_CAPTURE_CARD_DRIVER_FOR_LINUX/hwsuhdX1/hws_build/hws_video.c:3379:5: warning: no previous prototype for ‘hws_audio_register’ [-Wmissing-prototypes] 3379 | int hws_audio_register(struct hws_pcie_dev *dev) | ^~~~~~~~~~~~~~~~~~ /home/womb/Downloads/PCIE_1CH_4K60_CAPTURE_CARD_DRIVER_FOR_LINUX/hwsuhdX1/hws_build/hws_video.c:4004:6: warning: no previous prototype for ‘StopKSThread’ [-Wmissing-prototypes] 4004 | void StopKSThread(struct hws_pcie_dev *pdx) | ^~~~~~~~~~~~ /home/womb/Downloads/PCIE_1CH_4K60_CAPTURE_CARD_DRIVER_FOR_LINUX/hwsuhdX1/hws_build/hws_video.c:4449:5: warning: no previous prototype for ‘MemCopyAudioToSteam’ [-Wmissing-prototypes] 4449 | int MemCopyAudioToSteam( struct hws_pcie_dev *pdx,int dwAudioCh) | ^~~~~~~~~~~~~~~~~~~ /home/womb/Downloads/PCIE_1CH_4K60_CAPTURE_CARD_DRIVER_FOR_LINUX/hwsuhdX1/hws_build/hws_video.c:4528:5: warning: no previous prototype for ‘SetAudioQuene’ [-Wmissing-prototypes] 4528 | int SetAudioQuene( struct hws_pcie_dev *pdx,int dwAudioCh) | ^~~~~~~~~~~~~ /home/womb/Downloads/PCIE_1CH_4K60_CAPTURE_CARD_DRIVER_FOR_LINUX/hwsuhdX1/hws_build/hws_video.c:5242:5: warning: no previous prototype for ‘MainKsThreadHandle’ [-Wmissing-prototypes] 5242 | int MainKsThreadHandle(void *arg) | ^~~~~~~~~~~~~~~~~~ /home/womb/Downloads/PCIE_1CH_4K60_CAPTURE_CARD_DRIVER_FOR_LINUX/hwsuhdX1/hws_build/hws_video.c:5285:5: warning: no previous prototype for ‘arch_msi_check_device’ [-Wmissing-prototypes] 5285 | int arch_msi_check_device(struct pci_dev *dev, int nvec, int type) | ^~~~~~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors make[3]: *** [scripts/Makefile.build:243: /home/womb/Downloads/PCIE_1CH_4K60_CAPTURE_CARD_DRIVER_FOR_LINUX/hwsuhdX1/hws_build/hws_video.o] Error 1 make[2]: *** [/usr/src/linux-headers-6.8.0-45-generic/Makefile:1925: /home/womb/Downloads/PCIE_1CH_4K60_CAPTURE_CARD_DRIVER_FOR_LINUX/hwsuhdX1/hws_build] Error 2 make[1]: *** [Makefile:240: __sub-make] Error 2 make[1]: Leaving directory '/usr/src/linux-headers-6.8.0-45-generic' make: *** [Makefile:18: all] Error 2 make: Leaving directory '/home/womb/Downloads/PCIE_1CH_4K60_CAPTURE_CARD_DRIVER_FOR_LINUX/hwsuhdX1/hws_build' ERROR: Failed to build module!