UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
152 Views
Registered: ‎09-09-2018

logic core video mixer linux driver

I am trying to compile linux driver for logic core video mixer 2.0 but I am getting following errors

My compiler is the one taken from linaro  gcc version 7.3.1 20180425 [linaro-7.3-2018.05 revision d29120a424ecfbc167ef90065c0eeb7f91977701] (Linaro GCC 7.3-2018.05) 

The kernel is taken from xilinx github portal

https://github.com/Xilinx/linux-xlnx/tree/2017.4_video_ea/arch/arm

 

CHK include/config/kernel.release
CHK include/generated/uapi/linux/version.h
CHK include/generated/utsrelease.h
CHK include/generated/timeconst.h
CHK include/generated/bounds.h
CHK include/generated/asm-offsets.h
CALL scripts/checksyscalls.sh
CHK include/generated/compile.h
CHK kernel/config_data.h
LD vmlinux.o
MODPOST vmlinux.o
GEN .version
CHK include/generated/compile.h
UPD include/generated/compile.h
CC init/version.o
LD init/built-in.o
drivers/built-in.o: In function `Si5324_RatApprox':
/home/prashant/development/logic_core_graphics/linux-xlnx/drivers/staging/xilinx/clk/si5324drv.c:45: undefined reference to `__udivdi3'
/home/prashant/development/logic_core_graphics/linux-xlnx/drivers/staging/xilinx/clk/si5324drv.c:52: undefined reference to `__umoddi3'
/home/prashant/development/logic_core_graphics/linux-xlnx/drivers/staging/xilinx/clk/si5324drv.c:56: undefined reference to `__udivdi3'
drivers/built-in.o: In function `Si5324_FindN2ls':
/home/prashant/development/logic_core_graphics/linux-xlnx/drivers/staging/xilinx/clk/si5324drv.c:95: undefined reference to `__udivdi3'
/home/prashant/development/logic_core_graphics/linux-xlnx/drivers/staging/xilinx/clk/si5324drv.c:95: undefined reference to `__udivdi3'
/home/prashant/development/logic_core_graphics/linux-xlnx/drivers/staging/xilinx/clk/si5324drv.c:124: undefined reference to `__udivdi3'
/home/prashant/development/logic_core_graphics/linux-xlnx/drivers/staging/xilinx/clk/si5324drv.c:126: undefined reference to `__udivdi3'
drivers/built-in.o:/home/prashant/development/logic_core_graphics/linux-xlnx/drivers/staging/xilinx/clk/si5324drv.c:189: more undefined references to `__udivdi3' follow
drivers/built-in.o: In function `Si5324_CalcFreqSettings':
/home/prashant/development/logic_core_graphics/linux-xlnx/drivers/staging/xilinx/clk/si5324drv.c:312: undefined reference to `__divdi3'
/home/prashant/development/logic_core_graphics/linux-xlnx/drivers/staging/xilinx/clk/si5324drv.c:316: undefined reference to `__divdi3'
Makefile:969: recipe for target 'vmlinux' failed
make: *** [vmlinux] Error 1

 

0 Kudos