[dpdk-dev] Compiling DPDK is not working on Red Hat 6.7

2016-07-13 Thread Thomas Monjalon
2016-07-13 06:01, Raslan Darawsheh: > It seems that the patch fixed the issue. Thanks, I've sent the patches: http://dpdk.org/ml/archives/dev/2016-July/043917.html > -Original Message- > From: Thomas Monjalon [mailto:thomas.monjalon at 6wind.com] > 2016-07-12 11:35, Raslan

[dpdk-dev] Compiling DPDK is not working on Red Hat 6.7

2016-07-13 Thread Raslan Darawsheh
DPDK is not working on Red Hat 6.7 Hi, 2016-07-12 11:35, Raslan Darawsheh: > I think the option is there as you see: > [...] > -Wl,--as-needed -Wl,-lrt -Wl,-lm |...] -Wl,-lrte_eal [...] > eal_timer.c:(.text+0x152): undefined reference to `clock_gettime' I suspect we need -lrt aft

[dpdk-dev] Compiling DPDK is not working on Red Hat 6.7

2016-07-12 Thread Thomas Monjalon
Hi, 2016-07-12 11:35, Raslan Darawsheh: > I think the option is there as you see: > [...] > -Wl,--as-needed -Wl,-lrt -Wl,-lm |...] -Wl,-lrte_eal [...] > eal_timer.c:(.text+0x152): undefined reference to `clock_gettime' I suspect we need -lrt after -lrte_eal. Please could you try the following

[dpdk-dev] Compiling DPDK is not working on Red Hat 6.7

2016-07-12 Thread Christian Ehrhardt
Hi, checking "man clock_gettime" I see: "Link with -lrt (only for glibc versions before 2.17)." RH 6.7 is at glibc 2.12, I haven't check the build, but you might easily run the make with V=1 and see the call. Check if it contains -lrt for the linking step. Christian Ehrhardt Software

[dpdk-dev] Compiling DPDK is not working on Red Hat 6.7

2016-07-12 Thread Raslan Darawsheh
, July 12, 2016 1:10 PM To: Raslan Darawsheh Cc: dev at dpdk.org Subject: Re: [dpdk-dev] Compiling DPDK is not working on Red Hat 6.7 Hi, checking "man clock_gettime" I see: "Link with -lrt (only for glibc versions before 2.17)." RH 6.7 is at glibc 2.12, I haven't check the

[dpdk-dev] Compiling DPDK is not working on Red Hat 6.7

2016-07-12 Thread Raslan Darawsheh
Hi, When trying to compile DPDK on Red Hat Enterprise Linux Server release 6.7 (Santiago) it fails to compile. This is the compilation error that is being seen: LD test /download/dpdk/x86_64-native-linuxapp-gcc/lib/librte_eal.a(eal_timer.o): In function `get_tsc_freq':