Closed shentu95 closed 5 years ago
When l complied the code ,there are two errors.l have tried several times,but l don't know how to solve it.
`shentu@shentu-Lenovo-Product:~/code/vnlb-master/build$ make [ 11%] Built target iio
[ 22%] Built target tvl1flow
[ 33%] Built target tvl1flow-bin
[ 50%] Built target vidutils
[ 66%] Built target vnlb
[ 77%] Built target awgn
[ 83%] Linking CXX executable ../bin/vnlbayes
/usr/bin/ld: /usr/local/lib/liblapack.a(xerbla.o): undefined reference to symbol
'_gfortran_string_len_trim@@GFORTRAN_1.0'
//usr/lib/x86_64-linux-gnu/libgfortran.so.3: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
src/CMakeFiles/vnlbayes.dir/build.make:101: recipe for target 'bin/vnlbayes' failed
make[2]: *** [bin/vnlbayes] Error 1
CMakeFiles/Makefile2:389: recipe for target 'src/CMakeFiles/vnlbayes.dir/all' failed
make[1]: *** [src/CMakeFiles/vnlbayes.dir/all] Error 2
Makefile:127: recipe for target 'all' failed
make: *** [all] Error 2
When l complied the code ,there are two errors.l have tried several times,but l don't know how to solve it.
`shentu@shentu-Lenovo-Product:~/code/vnlb-master/build$ make [ 11%] Built target iio
[ 22%] Built target tvl1flow
[ 33%] Built target tvl1flow-bin
[ 50%] Built target vidutils
[ 66%] Built target vnlb
[ 77%] Built target awgn
[ 83%] Linking CXX executable ../bin/vnlbayes
/usr/bin/ld: /usr/local/lib/liblapack.a(xerbla.o): undefined reference to symbol
'_gfortran_string_len_trim@@GFORTRAN_1.0'
//usr/lib/x86_64-linux-gnu/libgfortran.so.3: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
src/CMakeFiles/vnlbayes.dir/build.make:101: recipe for target 'bin/vnlbayes' failed
make[2]: *** [bin/vnlbayes] Error 1
CMakeFiles/Makefile2:389: recipe for target 'src/CMakeFiles/vnlbayes.dir/all' failed
make[1]: *** [src/CMakeFiles/vnlbayes.dir/all] Error 2
Makefile:127: recipe for target 'all' failed
make: *** [all] Error 2