Quantcast
Channel: Intel® Software - Intel® Integrated Performance Primitives
Viewing all articles
Browse latest Browse all 1489

how to use ippcp in linux kernel-mode

$
0
0

I only call ippGetLibVersion in test.c and below shows the flags in Makefile:

TARGET = test.ko

test-objs := /nonpic/libippcp.a

ccflags-y += $(FLAG) -I$(KERNELDIR)/include -D__KERNEL__ -DMODULE -fno-pic -DEXPORT_SYMTAB -mcmodel=kernel

 

After excuting 'insmod test.ko', the console outputs:

overflow in relocation type 10 val ****

'test' likely not compiled with -mcmodel=kernel

 

How do I resolve this issue? Can ippcp be used in linux kernel-mode?

 


Viewing all articles
Browse latest Browse all 1489

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>