[LTP] [PATCH v2 2/2] pec: Improve reliability
Joerg Vehlow
lkml@jv-coder.de
Tue Aug 24 09:27:24 CEST 2021
Hi Petr,
On 8/24/2021 8:29 AM, Petr Vorel wrote:
> Hi Joerg,
>
> FYI, this patch breaks build:
>
> make[1]: Leaving directory 'ltp.git/lib'
> /usr/lib64/gcc/x86_64-suse-linux/11/../../../../x86_64-suse-linux/bin/ld: ../../../../lib/libltp.a(tst_checkpoint.o):ltp.git/lib/tst_checkpoint.c:36: multiple definition of `tst_futexes'; /tmp/ccITQEiq.o:ltp.git/testcases/kernel/connectors/pec/event_generator.c:168: first defined here
> collect2: error: ld returned 1 exit status
> make: *** [../../../../include/mk/rules.mk:37: event_generator] Error 1
Strange that it builds on my system... The symbol is indeed duplicated
and a leftover from experimenting.
The declaration in event_generator.c can be removed.
Should I post a v3?
Joerg
More information about the ltp
mailing list