[lttng-dev] 2.13-rc2 fails to build with buildroot crosscompiler
mjeanson at efficios.com
Thu May 20 10:37:20 EDT 2021
On 2021-05-20 9:52 a.m., Norbert Lange via lttng-dev wrote:
> many tests fail to build, apparently because transitive dependencies
> are not found.
> I managed to patch out building the test sub-directory, at which
> points the errors are gone,
> I dont know how to fix it with automake, seems like
> should be added to library search paths.
The libtool integration with autotools should be handling these transitive
dependencies but somehow doesn't seem to work in your environment. A
workaround could be to add the liblttng-ust-common.la file to all the test
binaries _LDADD where liblttng-ust.la is already present, for example:
ust_fields_compatapi1_LDADD = \
Can you check if this works?
More information about the lttng-dev