[dpdk-dev] Compiling DPDK is not working on Red Hat 6.7
Thomas Monjalon
thomas.monjalon at 6wind.com
Wed Jul 13 09:45:12 CEST 2016
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 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.
Do you know where the flag -lrt is set?
Is it in your environment LDFLAGS? (it is my guess for the fix).
More information about the dev
mailing list