make error in matlab-genomix for matlab 2020b
Martin Jacquet asked me to open this issue.
$ make update-<pkgset-name> in step 11 of the installation section in the ART documentation, using matlab 2020b, I get the following:
I have verified the path to the Matlab installation in the robotpkg.conf file is correct.
I have included the full configure.log file from therobotpkg/supervision/matlab-genomix/work.#/configure.log directory.
In the meantime I have got it to work on matlab 2020a, so this seems to be an issue related to the matlab version. Hopefully this information is useful and the bug can be squashed.
Updated by Anthony Mallet 12 days ago
I have included the full configure.log file from
It shows that there is a linking issue, but in order to know which
issue precisely, could you attach the "config.log" file found in the
It should be found in the following directory:
In the meantime I have got it to work on matlab 2020a, so this seems
to be an issue related to the matlab version. Hopefully this
information is useful and the bug can be squashed.
OK, this looks a bit similar to an issue with matlab-2020b and gcc-7
on ubuntu-18.04. However, since you are running gcc-9 on ubuntu-20.04,
I need to see the config.log file to check what is the error exactly.
Updated by Max Kivits 12 days ago
The config file was deleted and I am having trouble reproducing the error. Since I have got it working using matlab 2020a, it also installs when switching back to 2020b in the robotpkg.conf file. I have found that including simulation/mrsim-gazebo does cause issues and therefore produces this config.log file. I hope this can still be used!
Updated by Anthony Mallet 11 days ago
However, this config.log file is useless here since it doesn't come
from the same package (and it has no error either, by the way).
If you have an issue with mrsim-gazebo, please open an issue there:
Updated by Max Kivits 10 days ago
- File configure.log configure.log added
- File config.log config.log added
- File robotpkg.conf robotpkg.conf added
Sorry for the confusion, I managed to reproduce the error by deinstalling matlab-genomix and attempting to reinstall using matlab 2020b in the robotpkg.conf file. I have included the relevant files, the error is listed below:
===> Configuring for matlab-genomix-1.8.4 => Modifying GNU configure scripts to avoid --recheck => Disabling fatal errors with C++ preprocessor in GNU configure scripts configure: error: please set MATLAB variable An unexpected error occured. The last 10 log lines are shown below. | checking for /usr/bin/gcc option to accept ISO C89... (cached) none needed | checking whether /usr/bin/gcc understands -c and -o together... (cached) yes | checking dependency style of /usr/bin/gcc... (cached) gcc3 | checking for ranlib... (cached) ranlib | checking for library containing getaddrinfo... none required | checking mex.h usability... yes | checking mex.h presence... yes | checking for mex.h... yes | checking for mxGetString in -lmx... no | configure: error: please set MATLAB variable
Hopefully this can be used to identify the problem, and matlab-genomix can be used with matlab 2020b
Updated by Anthony Mallet 10 days ago
- with gcc-7 and gcc-8 on ubuntu-18.04
- with gcc-9 on ubuntu-20.04
So far I have not found a precise explanation nor a workaround,
especially since I have access to matlab-2019b only. I initially
thought it was a version incompatibility but this would be weird that
matlab-2020b is incompatible with ubuntu-20.04.
I will still try to understand more precisely what is happening.
Updated by Max Kivits 10 days ago
Here is the output:
$ objdump -TC /home/max/matlab/2020b/sys/os/glnxa64/libstdc++.so.6 | grep thread_atexit 0000000000000000 DF *UND* 0000000000000000 <corrupt> __cxa_thread_atexit_impl 000000000008ff30 g DF .text 0000000000000005 CXXABI_1.3.7 __cxa_thread_atexit