Due to changes in GCC, functions declared 'incline' will not be compiled properly by GCC. With Ubuntu 18.04, for example, I receive the error below. The solution is to add the 'static' keyword before the declaration of all 'inline' functions.
'static' must be added to mvm() and rk_float() in scrnmodule.c, iscrnmodule.c and centmodule.c
python scao.py --iterations=200
Traceback (most recent call last):
File "scao.py", line 28, in
import science.infScrn
File "/home/joncox/git/dasp/science/infScrn.py", line 103, in
import cmod.scrn
ImportError: /home/joncox/git/dasp/cmod/scrnmodule.so: undefined symbol: mvm
Due to changes in GCC, functions declared 'incline' will not be compiled properly by GCC. With Ubuntu 18.04, for example, I receive the error below. The solution is to add the 'static' keyword before the declaration of all 'inline' functions.
'static' must be added to mvm() and rk_float() in scrnmodule.c, iscrnmodule.c and centmodule.c