-
Notifications
You must be signed in to change notification settings - Fork 12
Build fails to link. #13
Comments
Those are liblxi functions so it's related to linking of liblxi. |
|
but the linker can't see it? |
We've had at least one other user with this same issue, also on 18.04. The LXI code is pretty new (past week or two) and this didn't show up during initial testing on more recent systems. We're still working to identify a root cause and proper fix. Can you try removing liblxi from the distro package and installing liblxi 1.13 or newer from https://github.com/lxi-tools/liblxi? |
Will try rebooting like Windows 98, as suggested by ngscopeclient/scopehal#115
|
Replacing the system liblxi with git pull of liblxi works, for reasons I don't understand. |
We've had numerous issues with 18.04's packaged build of liblxi. There's already workarounds in the code (ngscopeclient/scopehal#131). Glad your problem is solved. Leaving this issue open until we figure out a more final path forward. It's likely we will document liblxi 1.13 as the new minimum required version and add a note to the README saying that the packaged version on Ubuntu 18.04 is known to not work. |
Looks like liblxi v1.8 predates lxi-tools/liblxi@4c71f5c, which is the So version 1.8 and earlier will not link properly with C++. |
For completeness: I wrapped the |
Can you make a clean pull of the latest HEAD using the system liblxi and confirm it builds properly? |
Yes, it builds and links without errors with system liblxi. |
Following instructions in README, applying workaround from #12 .
These functions don't seem to be defined, only used.
The text was updated successfully, but these errors were encountered: