Master build failed for target 'test-helpers'

Daniele Palmas dnlplm at gmail.com
Thu Jan 18 13:52:27 UTC 2018


Hi,

building current master returns the following error in my system:

...
make[4]: Entering directory '/home/daniele/git/libqmi/src/qmicli/test'
  CC       test_helpers-test-helpers.o
  CCLD     test-helpers
/usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/libgio-2.0.so:
undefined reference to symbol 'g_type_class_unref'
/usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/libgobject-2.0.so:
error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
Makefile:393: recipe for target 'test-helpers' failed
...

Not sure if it is the right way to fix this issue, but the attached
patch allows building.

Regards,
Daniele
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Fix-test-helpers-build-issue.patch
Type: text/x-patch
Size: 599 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/libqmi-devel/attachments/20180118/0a606670/attachment.bin>


More information about the libqmi-devel mailing list