dev Digest, Vol 139, Issue 35
A message that is not in the archive (sent off-list or not yet received): [email protected]
Yes, as you said I had copied the header files to a location that is in some way packagable with your application. But it didn't work even after I had copied the rte_config.h file. Now I have removed the header files from the location and included them using -I directives in the makefile of my application. On building DPDK, no error is obtained. But after setting the source and target and running the makefile of my application, I am getting the same error as:-
/root/dpdk-stable-16.07.2/lib/librte_eal/common/include/rte_memory.h:83:2:
error: #error "Unsupported cache line size".
I have checked my cacheline size using
/sys/devices/system/cpu/cpu0/cache/coherency_line_size in which the size is 64.
Is there any dependency on the system in which I am running the application. Since I am
running my application in 32-bit system.
Message: 5
Quoted 47 lines
Date: Tue, 11 Apr 2017 08:34:40 -0400
From: Neil Horman <[email protected]>
To: reshma sarat <[email protected]>
Cc: [email protected]
Subject: Re: [dpdk-dev] Integration of DPDK with a seperate
application
Message-ID: <[email protected]>
Content-Type: text/plain; charset=us-asciiQuoted 9 lines · reshma sarat
Hi,
In my application, I am making use of DPDK APIs for sending and receiving packets. I have now imported some of its header files of DPDK to my application. But on executing make command, an error such as :/rte_memory.h:83:2: error: #error "Unsupported cache line size"
is what I am getting. How to overcome this error?
Regards,
ReshmaI assume by exporting, you mean moving the header files to a location that is in
some way packagable with your application?Don't do that.
the DPDK header files rely on their heirarchy to work properly. You could move
therte_config.hfile, which is what you are missing in this case, to define the
proper cache line size for the system on which you are building, but the correct
solution is to independently install the DPDK on your devel system, and include
those dpdk header files with -I directivesNeil
------------------------------