> > > The problem is that -lrt appears before -lrte_eal.
> > > The question is: where does it come from?
> > > It is even before _LDLIBS-y += -L$(RTE_SDK_BIN)/lib... mystery
> >
> > root cause:
> > commit c7cda4d8b4ea9cb0f209dda36882d225354b1db9
>
> The error is seen after this commit, yes.
>
2016-07-25 11:13, Azarewicz, PiotrX T:
> > The problem is that -lrt appears before -lrte_eal.
> > The question is: where does it come from?
> > It is even before _LDLIBS-y += -L$(RTE_SDK_BIN)/lib... mystery
>
> root cause:
> commitc7cda4d8b4ea9cb0f209dda36882d225354b1db9
The error is seen
> The problem is that -lrt appears before -lrte_eal.
> The question is: where does it come from?
> It is even before _LDLIBS-y += -L$(RTE_SDK_BIN)/lib... mystery
root cause:
commit c7cda4d8b4ea9cb0f209dda36882d225354b1db9
and my workaround is:
/app/test/Makefile
ifeq ($(CONFIG_RTE_LIBRTE_SCHED
2016-07-22 14:47, Azarewicz, PiotrX T:
> > > I was trying rc3 + fix and latest (today) dpdk version. The same fail
> > message:
> > >
> > > /x86_64-native-linuxapp-gcc/lib/librte_eal.a(eal_timer.o): In function
> > `get_tsc_freq':
> > > eal_timer.c:(.text+0x128): undefined reference to `clock_getti
2016-07-22 14:07, Azarewicz, PiotrX T:
> > > > > Tested-by: Yongjie Gu
> > > >
> > > > Applied
> > >
> > > OS: UB1204
> > > GCC: 4.6.4
> > > Kernel: 3.13.0-45
> > > glibc 2.15
> > >
> > > x86_64-native-linuxapp-gcc: FAIL
> >
> > Please don't be a bot and explain us the error you see.
>
> I was t
2016-07-22 13:38, Azarewicz, PiotrX T:
> > > Tested-by: Yongjie Gu
> >
> > Applied
>
> OS: UB1204
> GCC: 4.6.4
> Kernel: 3.13.0-45
> glibc 2.15
>
> x86_64-native-linuxapp-gcc: FAIL
Please don't be a bot and explain us the error you see.
> > > > > > Tested-by: Yongjie Gu
> > > > >
> > > > > Applied
> > > >
> > > > OS: UB1204
> > > > GCC: 4.6.4
> > > > Kernel: 3.13.0-45
> > > > glibc 2.15
> > > >
> > > > x86_64-native-linuxapp-gcc: FAIL
> > >
> > > Please don't be a bot and explain us the error you see.
> >
> > I was trying rc3 + f
> > > > Tested-by: Yongjie Gu
> > >
> > > Applied
> >
> > OS: UB1204
> > GCC: 4.6.4
> > Kernel: 3.13.0-45
> > glibc 2.15
> >
> > x86_64-native-linuxapp-gcc: FAIL
>
> Please don't be a bot and explain us the error you see.
I was trying rc3 + fix and latest (today) dpdk version. The same fail mess
> > Tested-by: Yongjie Gu
>
> Applied
OS: UB1204
GCC: 4.6.4
Kernel: 3.13.0-45
glibc 2.15
x86_64-native-linuxapp-gcc: FAIL
> Tested-by: Yongjie Gu
Applied
6_64-ivshmem-linuxapp-gcc: compile pass
Thanks
Yongjie
-Original Message-
From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Thomas Monjalon
Sent: Monday, July 18, 2016 5:44 PM
To: dev at dpdk.org
Subject: [dpdk-dev] [PATCH] mk: fix static link with glibc < 2.17
There i
There is an error when linking static EAL library with an application:
eal_alarm.c:(.text+0xd7): undefined reference to `clock_gettime'
eal_alarm.c:(.text+0x20f): undefined reference to `clock_gettime'
eal_timer.c:(.text+0x108): undefined reference to `clock_gettime'
eal_timer.c:(.text+0x146): und
12 matches
Mail list logo