Open Pranavchiku opened 1 year ago
build successfully works with gfortran
, till the error is resolved I am compiling minpack
directly from scipy ( the files that are present in scipy)
The following fails on your system:
/home/pranavchiku/lfortran/src/bin/lfortran CMakeFiles/cmTC_d141a.dir/testFortranCompiler.f.o -o cmTC_d141a
/home/pranavchiku/conda_root/envs/lf/bin/../lib/gcc/x86_64-conda-linux-gnu/12.1.0/../../../../x86_64-conda-linux-gnu/bin/ld: /home/pranavchiku/lfortran/src/bin/../runtime/liblfortran_runtime.so: undefined reference to `clock_gettime'
clang-11: error: linker command failed with exit code 1 (use -v to see invocation)
Which is a bug in LFortran, something in the Conda environment and the way cmake invokes LFortran break things.
Which compiler did you use to compile LFortran?
Which compiler did you use to compile LFortran?
clang
I tried to build this on my PC (ubuntu 22.04 linux) and it shows me the following logs on executing
FC = lfortran cmake .
@certik if you could look, I am trying to resolve it as soon as possible :)