Message ID | 2705084.vuYhMxLoTh@adam-laptop-hp (mailing list archive) |
---|---|
State | Not Applicable, archived |
Headers | show |
Series | Linker errors with external ELL | expand |
Hi Adam, On 7/21/24 6:14 AM, Adam Pigg wrote: > Hi Dennnis > > Just to let you know, I have to patch Makefile.am when building with external > ELL as a few of the unit tests fail to link due to missing l_basename. None of the unit tests listed in your Makefile.am patch are upstream. I suspect they're present only in the Sailfish ofono fork you're using? Regards, -Denis
Hi Dennis Ah, ok, i (wrongly) assumed some of them (the dbus ones) were upstream, so this is a self inflicted issue! Adam On Monday 22 July 2024 16:55:23 BST Denis Kenzior wrote: > Hi Adam, > > On 7/21/24 6:14 AM, Adam Pigg wrote: > > Hi Dennnis > > > > Just to let you know, I have to patch Makefile.am when building with > > external ELL as a few of the unit tests fail to link due to missing > > l_basename. > None of the unit tests listed in your Makefile.am patch are upstream. I > suspect they're present only in the Sailfish ofono fork you're using? > > Regards, > -Denis
diff --git a/Makefile.am b/Makefile.am index 1876e489..090791d9 100644 --- a/Makefile.am +++ b/Makefile.am @@ -884,7 +884,7 @@ unit_objects += $(unit_test_common_OBJECTS) unit_test_cell_info_SOURCES = unit/test-cell-info.c src/cell-info.c src/log.c unit_test_cell_info_CFLAGS = $(AM_CFLAGS) $(COVERAGE_OPT) -unit_test_cell_info_LDADD = @GLIB_LIBS@ -ldl +unit_test_cell_info_LDADD = @GLIB_LIBS@ -ldl $(ell_ldadd) unit_objects += $(unit_test_cell_info_OBJECTS) unit_tests += unit/test-cell-info @@ -892,7 +892,7 @@ unit_test_cell_info_control_SOURCES = unit/test-cell-info- control.c \ unit/fake_cell_info.c src/cell-info.c \ src/cell-info-control.c src/log.c unit_test_cell_info_control_CFLAGS = $(AM_CFLAGS) $(COVERAGE_OPT) -unit_test_cell_info_control_LDADD = @GLIB_LIBS@ -ldl +unit_test_cell_info_control_LDADD = @GLIB_LIBS@ -ldl $(ell_ldadd) unit_objects += $(unit_test_cell_info_control_OBJECTS) unit_tests += unit/test-cell-info-control