Argonne-National-Laboratory / DSP

An open-source parallel optimization solver for structured mixed-integer programming
Other
81 stars 24 forks source link

make error undefined reference to `_gfortran_st_write' #279

Open Esnilg opened 2 weeks ago

Esnilg commented 2 weeks ago

Hi

I had this problem using make

[ 98%] Linking CXX shared library libDsp.so /usr/bin/ld: /usr/local/lib/libma27.a(ma27d.o): en la función ma27od_': /home/esnil/Descargas/ma27-1.0.0/src/ma27d.f:2739:(.text+0x1b16): undefined reference to_gfortran_st_write' /usr/bin/ld: /home/esnil/Descargas/ma27-1.0.0/src/ma27d.f:2739:(.text+0x1b2b): undefined reference to _gfortran_transfer_integer_write' /usr/bin/ld: /home/esnil/Descargas/ma27-1.0.0/src/ma27d.f:2739:(.text+0x1b40): undefined reference to_gfortran_transfer_integer_write' /usr/bin/ld: /home/esnil/Descargas/ma27-1.0.0/src/ma27d.f:2739:(.text+0x1b48): undefined reference to _gfortran_st_write_done' /usr/bin/ld: /usr/local/lib/libma27.a(ma27d.o): en la funciónma27nd_': /home/esnil/Descargas/ma27-1.0.0/src/ma27d.f:2248:(.text+0x27ee): undefined reference to _gfortran_st_write' /usr/bin/ld: /home/esnil/Descargas/ma27-1.0.0/src/ma27d.f:2248:(.text+0x2800): undefined reference to_gfortran_transfer_integer_write' /usr/bin/ld: /home/esnil/Descargas/ma27-1.0.0/src/ma27d.f:2248:(.text+0x2810): undefined reference to _gfortran_transfer_integer_write' /usr/bin/ld: /home/esnil/Descargas/ma27-1.0.0/src/ma27d.f:2248:(.text+0x2820): undefined reference to_gfortran_transfer_integer_write' /usr/bin/ld: /home/esnil/Descargas/ma27-1.0.0/src/ma27d.f:2248:(.text+0x2828): undefined reference to _gfortran_st_write_done' /usr/bin/ld: /home/esnil/Descargas/ma27-1.0.0/src/ma27d.f:2241:(.text+0x2aae): undefined reference to_gfortran_st_write' /usr/bin/ld: /home/esnil/Descargas/ma27-1.0.0/src/ma27d.f:2241:(.text+0x2abe): undefined reference to _gfortran_transfer_integer_write' /usr/bin/ld: /home/esnil/Descargas/ma27-1.0.0/src/ma27d.f:2241:(.text+0x2ac6): undefined reference to_gfortran_st_writedone' /usr/bin/ld: /usr/local/lib/libma27.a(ma27d.o): en la función `ma27jd': /home/esnil/Descargas/ma27-1.0.0/src/ma27d.f:1521:(.text+0x3bc2): undefined reference to _gfortran_st_write' /usr/bin/ld: /home/esnil/Descargas/ma27-1.0.0/src/ma27d.f:1521:(.text+0x3bd4): undefined reference to_gfortran_transfer_integer_write' /usr/bin/ld: /home/esnil/Descargas/ma27-1.0.0/src/ma27d.f:1521:(.text+0x3be6): undefined reference to _gfortran_transfer_integer_write' /usr/bin/ld: /home/esnil/Descargas/ma27-1.0.0/src/ma27d.f:1521:(.text+0x3bf8): undefined reference to_gfortran_transfer_integer_write' /usr/bin/ld: /home/esnil/Descargas/ma27-1.0.0/src/ma27d.f:1521:(.text+0x3c00): undefined reference to _gfortran_st_write_done' /usr/bin/ld: /home/esnil/Descargas/ma27-1.0.0/src/ma27d.f:1514:(.text+0x3f39): undefined reference to_gfortran_st_write' /usr/bin/ld: /home/esnil/Descargas/ma27-1.0.0/src/ma27d.f:1514:(.text+0x3f49): undefined reference to _gfortran_transfer_integer_write' /usr/bin/ld: /home/esnil/Descargas/ma27-1.0.0/src/ma27d.f:1514:(.text+0x3f51): undefined reference to_gfortran_st_writedone' /usr/bin/ld: /usr/local/lib/libma27.a(ma27d.o): en la función `ma27gd': /home/esnil/Descargas/ma27-1.0.0/src/ma27d.f:744:(.text+0x5634): undefined reference to _gfortran_st_write' /usr/bin/ld: /home/esnil/Descargas/ma27-1.0.0/src/ma27d.f:744:(.text+0x5644): undefined reference to_gfortran_transfer_integer_write' /usr/bin/ld: /home/esnil/Descargas/ma27-1.0.0/src/ma27d.f:744:(.text+0x564c): undefined reference to _gfortran_st_write_done' /usr/bin/ld: /home/esnil/Descargas/ma27-1.0.0/src/ma27d.f:751:(.text+0x56d2): undefined reference to_gfortran_st_write' /usr/bin/ld: /home/esnil/Descargas/ma27-1.0.0/src/ma27d.f:751:(.text+0x56e4): undefined reference to _gfortran_transfer_integer_write' /usr/bin/ld: /home/esnil/Descargas/ma27-1.0.0/src/ma27d.f:751:(.text+0x56f6): undefined reference to_gfortran_transfer_integer_write' /usr/bin/ld: /home/esnil/Descargas/ma27-1.0.0/src/ma27d.f:751:(.text+0x5708): undefined reference to _gfortran_transfer_integer_write' /usr/bin/ld: /home/esnil/Descargas/ma27-1.0.0/src/ma27d.f:751:(.text+0x5710): undefined reference to_gfortran_st_writedone' /usr/bin/ld: /usr/local/lib/libma27.a(ma27d.o): en la función `ma27ad': /home/esnil/Descargas/ma27-1.0.0/src/ma27d.f:296:(.text+0x597a): undefined reference to _gfortran_st_write' /usr/bin/ld: /home/esnil/Descargas/ma27-1.0.0/src/ma27d.f:296:(.text+0x598a): undefined reference to_gfortran_transfer_integer_write' /usr/bin/ld: /home/esnil/Descargas/ma27-1.0.0/src/ma27d.f:296:(.text+0x5992): undefined reference to _gfortran_st_write_done' /usr/bin/ld: /home/esnil/Descargas/ma27-1.0.0/src/ma27d.f:297:(.text+0x59e5): undefined reference to_gfortran_st_write' /usr/bin/ld: /home/esnil/Descargas/ma27-1.0.0/src/ma27d.f:297:(.text+0x59f7): undefined reference to _gfortran_transfer_integer_write' /usr/bin/ld: /home/esnil/Descargas/ma27-1.0.0/src/ma27d.f:297:(.text+0x5a08): undefined reference to_gfortran_transfer_integer_write' /usr/bin/ld: /home/esnil/Descargas/ma27-1.0.0/src/ma27d.f:297:(.text+0x5a10): undefined reference to _gfortran_st_write_done' /usr/bin/ld: /home/esnil/Descargas/ma27-1.0.0/src/ma27d.f:273:(.text+0x5a73): undefined reference to_gfortran_st_write' /usr/bin/ld: /home/esnil/Descargas/ma27-1.0.0/src/ma27d.f:273:(.text+0x5a83): undefined reference to _gfortran_transfer_integer_write' /usr/bin/ld: /home/esnil/Descargas/ma27-1.0.0/src/ma27d.f:273:(.text+0x5a8b): undefined reference to_gfortran_st_write_done' /usr/bin/ld: /home/esnil/Descargas/ma27-1.0.0/src/ma27d.f:277:(.text+0x5ade): undefined reference to _gfortran_st_write' /usr/bin/ld: /home/esnil/Descargas/ma27-1.0.0/src/ma27d.f:277:(.text+0x5aee): undefined reference to_gfortran_transfer_integer_write' /usr/bin/ld: /home/esnil/Descargas/ma27-1.0.0/src/ma27d.f:277:(.text+0x5af6): undefined reference to _gfortran_st_write_done' /usr/bin/ld: /home/esnil/Descargas/ma27-1.0.0/src/ma27d.f:218:(.text+0x5b5b): undefined reference to_gfortran_st_write' /usr/bin/ld: /home/esnil/Descargas/ma27-1.0.0/src/ma27d.f:218:(.text+0x5b6b): undefined reference to _gfortran_transfer_integer_write' /usr/bin/ld: /home/esnil/Descargas/ma27-1.0.0/src/ma27d.f:218:(.text+0x5b7b): undefined reference to_gfortran_transfer_integer_write' /usr/bin/ld: /home/esnil/Descargas/ma27-1.0.0/src/ma27d.f:218:(.text+0x5b8d): undefined reference to _gfortran_transfer_integer_write' /usr/bin/ld: /home/esnil/Descargas/ma27-1.0.0/src/ma27d.f:218:(.text+0x5ba2): undefined reference to_gfortran_transfer_integer_write' /usr/bin/ld: /home/esnil/Descargas/ma27-1.0.0/src/ma27d.f:218:(.text+0x5baa): undefined reference to _gfortran_st_write_done' /usr/bin/ld: /home/esnil/Descargas/ma27-1.0.0/src/ma27d.f:234:(.text+0x5c43): undefined reference to_gfortran_st_write' /usr/bin/ld: /home/esnil/Descargas/ma27-1.0.0/src/ma27d.f:234:(.text+0x5cae): undefined reference to _gfortran_transfer_array_write' /usr/bin/ld: /home/esnil/Descargas/ma27-1.0.0/src/ma27d.f:234:(.text+0x5cb6): undefined reference to_gfortran_st_write_done' /usr/bin/ld: /home/esnil/Descargas/ma27-1.0.0/src/ma27d.f:305:(.text+0x5d1b): undefined reference to _gfortran_st_write' /usr/bin/ld: /home/esnil/Descargas/ma27-1.0.0/src/ma27d.f:304:(.text+0x5d30): undefined reference to_gfortran_transfer_integer_write' /usr/bin/ld: /home/esnil/Descargas/ma27-1.0.0/src/ma27d.f:304:(.text+0x5d40): undefined reference to _gfortran_transfer_integer_write' /usr/bin/ld: /home/esnil/Descargas/ma27-1.0.0/src/ma27d.f:304:(.text+0x5d55): undefined reference to_gfortran_transfer_real_write' /usr/bin/ld: /home/esnil/Descargas/ma27-1.0.0/src/ma27d.f:304:(.text+0x5d66): undefined reference to _gfortran_transfer_integer_write' /usr/bin/ld: /home/esnil/Descargas/ma27-1.0.0/src/ma27d.f:304:(.text+0x5d77): undefined reference to_gfortran_transfer_integer_write' /usr/bin/ld: /home/esnil/Descargas/ma27-1.0.0/src/ma27d.f:305:(.text+0x5d88): undefined reference to _gfortran_transfer_integer_write' /usr/bin/ld: /home/esnil/Descargas/ma27-1.0.0/src/ma27d.f:305:(.text+0x5d99): undefined reference to_gfortran_transfer_integer_write' /usr/bin/ld: /home/esnil/Descargas/ma27-1.0.0/src/ma27d.f:305:(.text+0x5daa): undefined reference to _gfortran_transfer_integer_write' /usr/bin/ld: /usr/local/lib/libma27.a(ma27d.o):/home/esnil/Descargas/ma27-1.0.0/src/ma27d.f:305: más referencias a_gfortran_transfer_integerwrite' sin definir a continuación /usr/bin/ld: /usr/local/lib/libma27.a(ma27d.o): en la función `ma27ad': /home/esnil/Descargas/ma27-1.0.0/src/ma27d.f:305:(.text+0x5de5): undefined reference to _gfortran_st_write_done' /usr/bin/ld: /home/esnil/Descargas/ma27-1.0.0/src/ma27d.f:315:(.text+0x5e65): undefined reference to_gfortran_st_write' /usr/bin/ld: /home/esnil/Descargas/ma27-1.0.0/src/ma27d.f:315:(.text+0x5ec2): undefined reference to _gfortran_transfer_array_write' /usr/bin/ld: /home/esnil/Descargas/ma27-1.0.0/src/ma27d.f:315:(.text+0x5eca): undefined reference to_gfortran_st_write_done' /usr/bin/ld: /home/esnil/Descargas/ma27-1.0.0/src/ma27d.f:317:(.text+0x5f35): undefined reference to _gfortran_st_write' /usr/bin/ld: /home/esnil/Descargas/ma27-1.0.0/src/ma27d.f:317:(.text+0x5fa4): undefined reference to_gfortran_transfer_array_write' /usr/bin/ld: /home/esnil/Descargas/ma27-1.0.0/src/ma27d.f:317:(.text+0x5fac): undefined reference to _gfortran_st_write_done' /usr/bin/ld: /home/esnil/Descargas/ma27-1.0.0/src/ma27d.f:321:(.text+0x5ffd): undefined reference to_gfortran_st_write' /usr/bin/ld: /home/esnil/Descargas/ma27-1.0.0/src/ma27d.f:321:(.text+0x6053): undefined reference to _gfortran_transfer_array_write' /usr/bin/ld: /home/esnil/Descargas/ma27-1.0.0/src/ma27d.f:321:(.text+0x605b): undefined reference to_gfortran_st_write_done' /usr/bin/ld: /home/esnil/Descargas/ma27-1.0.0/src/ma27d.f:284:(.text+0x60c8): undefined reference to _gfortran_st_write' /usr/bin/ld: /home/esnil/Descargas/ma27-1.0.0/src/ma27d.f:284:(.text+0x60d8): undefined reference to_gfortran_transfer_integer_write' /usr/bin/ld: /home/esnil/Descargas/ma27-1.0.0/src/ma27d.f:284:(.text+0x60e0): undefined reference to _gfortran_st_write_done' /usr/bin/ld: /home/esnil/Descargas/ma27-1.0.0/src/ma27d.f:285:(.text+0x6133): undefined reference to_gfortran_st_write' /usr/bin/ld: /home/esnil/Descargas/ma27-1.0.0/src/ma27d.f:285:(.text+0x6144): undefined reference to _gfortran_transfer_integer_write' /usr/bin/ld: /home/esnil/Descargas/ma27-1.0.0/src/ma27d.f:285:(.text+0x614c): undefined reference to_gfortran_st_write_done' /usr/bin/ld: /home/esnil/Descargas/ma27-1.0.0/src/ma27d.f:226:(.text+0x61c7): undefined reference to _gfortran_st_write' /usr/bin/ld: /home/esnil/Descargas/ma27-1.0.0/src/ma27d.f:226:(.text+0x6224): undefined reference to_gfortran_transfer_integer_write' /usr/bin/ld: /home/esnil/Descargas/ma27-1.0.0/src/ma27d.f:226:(.text+0x6234): undefined reference to _gfortran_transfer_integer_write' /usr/bin/ld: /home/esnil/Descargas/ma27-1.0.0/src/ma27d.f:226:(.text+0x6260): undefined reference to_gfortran_st_writedone' /usr/bin/ld: /usr/local/lib/libma27.a(ma27d.o): en la función `ma27bd': /home/esnil/Descargas/ma27-1.0.0/src/ma27d.f:473:(.text+0x6682): undefined reference to _gfortran_st_write' /usr/bin/ld: /home/esnil/Descargas/ma27-1.0.0/src/ma27d.f:473:(.text+0x6692): undefined reference to_gfortran_transfer_integer_write' /usr/bin/ld: /home/esnil/Descargas/ma27-1.0.0/src/ma27d.f:473:(.text+0x669a): undefined reference to _gfortran_st_write_done' /usr/bin/ld: /home/esnil/Descargas/ma27-1.0.0/src/ma27d.f:474:(.text+0x66ed): undefined reference to_gfortran_st_write' /usr/bin/ld: /home/esnil/Descargas/ma27-1.0.0/src/ma27d.f:464:(.text+0x66ff): undefined reference to _gfortran_transfer_integer_write' /usr/bin/ld: /home/esnil/Descargas/ma27-1.0.0/src/ma27d.f:464:(.text+0x6710): undefined reference to_gfortran_transfer_integer_write' /usr/bin/ld: /home/esnil/Descargas/ma27-1.0.0/src/ma27d.f:464:(.text+0x6718): undefined reference to _gfortran_st_write_done' /usr/bin/ld: /home/esnil/Descargas/ma27-1.0.0/src/ma27d.f:443:(.text+0x677b): undefined reference to_gfortran_st_write' /usr/bin/ld: /home/esnil/Descargas/ma27-1.0.0/src/ma27d.f:443:(.text+0x678b): undefined reference to _gfortran_transfer_integer_write' /usr/bin/ld: /home/esnil/Descargas/ma27-1.0.0/src/ma27d.f:443:(.text+0x6793): undefined reference to_gfortran_st_write_done' /usr/bin/ld: /home/esnil/Descargas/ma27-1.0.0/src/ma27d.f:447:(.text+0x67e6): undefined reference to _gfortran_st_write' /usr/bin/ld: /home/esnil/Descargas/ma27-1.0.0/src/ma27d.f:447:(.text+0x67f6): undefined reference to_gfortran_transfer_integer_write' /usr/bin/ld: /home/esnil/Descargas/ma27-1.0.0/src/ma27d.f:447:(.text+0x67fe): undefined reference to _gfortran_st_write_done' /usr/bin/ld: /home/esnil/Descargas/ma27-1.0.0/src/ma27d.f:387:(.text+0x6873): undefined reference to_gfortran_st_write' /usr/bin/ld: /home/esnil/Descargas/ma27-1.0.0/src/ma27d.f:387:(.text+0x6883): undefined reference to _gfortran_transfer_integer_write' /usr/bin/ld: /home/esnil/Descargas/ma27-1.0.0/src/ma27d.f:387:(.text+0x6893): undefined reference to_gfortran_transfer_integer_write' /usr/bin/ld: /home/esnil/Descargas/ma27-1.0.0/src/ma27d.f:387:(.text+0x68a3): undefined reference to _gfortran_transfer_integer_write' /usr/bin/ld: /home/esnil/Descargas/ma27-1.0.0/src/ma27d.f:387:(.text+0x68b8): undefined reference to_gfortran_transfer_integer_write' /usr/bin/ld: /home/esnil/Descargas/ma27-1.0.0/src/ma27d.f:387:(.text+0x68cd): undefined reference to _gfortran_transfer_integer_write' /usr/bin/ld: /home/esnil/Descargas/ma27-1.0.0/src/ma27d.f:387:(.text+0x68e2): undefined reference to_gfortran_transfer_real_write' /usr/bin/ld: /home/esnil/Descargas/ma27-1.0.0/src/ma27d.f:387:(.text+0x68ea): undefined reference to _gfortran_st_write_done' /usr/bin/ld: /home/esnil/Descargas/ma27-1.0.0/src/ma27d.f:402:(.text+0x6975): undefined reference to_gfortran_st_write' /usr/bin/ld: /home/esnil/Descargas/ma27-1.0.0/src/ma27d.f:402:(.text+0x69f0): undefined reference to _gfortran_transfer_array_write' /usr/bin/ld: /home/esnil/Descargas/ma27-1.0.0/src/ma27d.f:402:(.text+0x69f8): undefined reference to_gfortran_st_write_done' /usr/bin/ld: /home/esnil/Descargas/ma27-1.0.0/src/ma27d.f:407:(.text+0x6a6e): undefined reference to _gfortran_st_write' /usr/bin/ld: /home/esnil/Descargas/ma27-1.0.0/src/ma27d.f:407:(.text+0x6af3): undefined reference to_gfortran_transfer_array_write' /usr/bin/ld: /home/esnil/Descargas/ma27-1.0.0/src/ma27d.f:407:(.text+0x6afb): undefined reference to _gfortran_st_write_done' /usr/bin/ld: /home/esnil/Descargas/ma27-1.0.0/src/ma27d.f:411:(.text+0x6b4c): undefined reference to_gfortran_st_write' /usr/bin/ld: /home/esnil/Descargas/ma27-1.0.0/src/ma27d.f:411:(.text+0x6bb7): undefined reference to _gfortran_transfer_array_write' /usr/bin/ld: /home/esnil/Descargas/ma27-1.0.0/src/ma27d.f:411:(.text+0x6bbf): undefined reference to_gfortran_st_write_done' /usr/bin/ld: /home/esnil/Descargas/ma27-1.0.0/src/ma27d.f:505:(.text+0x6c30): undefined reference to _gfortran_st_write' /usr/bin/ld: /home/esnil/Descargas/ma27-1.0.0/src/ma27d.f:504:(.text+0x6c45): undefined reference to_gfortran_transfer_integer_write' /usr/bin/ld: /home/esnil/Descargas/ma27-1.0.0/src/ma27d.f:504:(.text+0x6c55): undefined reference to _gfortran_transfer_integer_write' /usr/bin/ld: /home/esnil/Descargas/ma27-1.0.0/src/ma27d.f:504:(.text+0x6c66): undefined reference to_gfortran_transfer_integer_write' /usr/bin/ld: /home/esnil/Descargas/ma27-1.0.0/src/ma27d.f:504:(.text+0x6c77): undefined reference to _gfortran_transfer_integer_write' /usr/bin/ld: /home/esnil/Descargas/ma27-1.0.0/src/ma27d.f:504:(.text+0x6c88): undefined reference to_gfortran_transfer_integer_write' /usr/bin/ld: /usr/local/lib/libma27.a(ma27d.o):/home/esnil/Descargas/ma27-1.0.0/src/ma27d.f:505: más referencias a _gfortran_transfer_integer_write' sin definir a continuación /usr/bin/ld: /usr/local/lib/libma27.a(ma27d.o): en la funciónma27bd_': /home/esnil/Descargas/ma27-1.0.0/src/ma27d.f:505:(.text+0x6cc3): undefined reference to _gfortran_st_write_done' /usr/bin/ld: /home/esnil/Descargas/ma27-1.0.0/src/ma27d.f:527:(.text+0x6ddb): undefined reference to_gfortran_st_write' /usr/bin/ld: /home/esnil/Descargas/ma27-1.0.0/src/ma27d.f:527:(.text+0x6ded): undefined reference to _gfortran_transfer_integer_write' /usr/bin/ld: /home/esnil/Descargas/ma27-1.0.0/src/ma27d.f:527:(.text+0x6dff): undefined reference to_gfortran_transfer_integer_write' /usr/bin/ld: /home/esnil/Descargas/ma27-1.0.0/src/ma27d.f:527:(.text+0x6e11): undefined reference to _gfortran_transfer_integer_write' /usr/bin/ld: /home/esnil/Descargas/ma27-1.0.0/src/ma27d.f:527:(.text+0x6e19): undefined reference to_gfortran_st_write_done' /usr/bin/ld: /home/esnil/Descargas/ma27-1.0.0/src/ma27d.f:533:(.text+0x6e76): undefined reference to _gfortran_st_write' /usr/bin/ld: /home/esnil/Descargas/ma27-1.0.0/src/ma27d.f:533:(.text+0x6efd): undefined reference to_gfortran_transfer_array_write' /usr/bin/ld: /home/esnil/Descargas/ma27-1.0.0/src/ma27d.f:533:(.text+0x6f05): undefined reference to _gfortran_st_write_done' /usr/bin/ld: /home/esnil/Descargas/ma27-1.0.0/src/ma27d.f:537:(.text+0x6f56): undefined reference to_gfortran_st_write' /usr/bin/ld: /home/esnil/Descargas/ma27-1.0.0/src/ma27d.f:537:(.text+0x6f5e): undefined reference to _gfortran_st_write_done' /usr/bin/ld: /home/esnil/Descargas/ma27-1.0.0/src/ma27d.f:545:(.text+0x6fe7): undefined reference to_gfortran_st_write' /usr/bin/ld: /home/esnil/Descargas/ma27-1.0.0/src/ma27d.f:545:(.text+0x7068): undefined reference to _gfortran_transfer_array_write' /usr/bin/ld: /home/esnil/Descargas/ma27-1.0.0/src/ma27d.f:545:(.text+0x7070): undefined reference to_gfortran_st_write_done' /usr/bin/ld: /home/esnil/Descargas/ma27-1.0.0/src/ma27d.f:454:(.text+0x7115): undefined reference to _gfortran_st_write' /usr/bin/ld: /home/esnil/Descargas/ma27-1.0.0/src/ma27d.f:454:(.text+0x7125): undefined reference to_gfortran_transfer_integer_write' /usr/bin/ld: /home/esnil/Descargas/ma27-1.0.0/src/ma27d.f:454:(.text+0x712d): undefined reference to _gfortran_st_write_done' /usr/bin/ld: /home/esnil/Descargas/ma27-1.0.0/src/ma27d.f:455:(.text+0x7180): undefined reference to_gfortran_st_write' /usr/bin/ld: /home/esnil/Descargas/ma27-1.0.0/src/ma27d.f:455:(.text+0x7192): undefined reference to _gfortran_transfer_integer_write' /usr/bin/ld: /home/esnil/Descargas/ma27-1.0.0/src/ma27d.f:455:(.text+0x719a): undefined reference to_gfortran_st_write_done' /usr/bin/ld: /home/esnil/Descargas/ma27-1.0.0/src/ma27d.f:395:(.text+0x7228): undefined reference to _gfortran_st_write' /usr/bin/ld: /home/esnil/Descargas/ma27-1.0.0/src/ma27d.f:395:(.text+0x7294): undefined reference to_gfortran_transfer_real_write' /usr/bin/ld: /home/esnil/Descargas/ma27-1.0.0/src/ma27d.f:395:(.text+0x72a4): undefined reference to _gfortran_transfer_integer_write' /usr/bin/ld: /home/esnil/Descargas/ma27-1.0.0/src/ma27d.f:395:(.text+0x72b4): undefined reference to_gfortran_transfer_integer_write' /usr/bin/ld: /home/esnil/Descargas/ma27-1.0.0/src/ma27d.f:395:(.text+0x72f1): undefined reference to _gfortran_st_write_done' /usr/bin/ld: /home/esnil/Descargas/ma27-1.0.0/src/ma27d.f:463:(.text+0x7380): undefined reference to_gfortran_st_write' /usr/bin/ld: /home/esnil/Descargas/ma27-1.0.0/src/ma27d.f:463:(.text+0x7390): undefined reference to _gfortran_transfer_integer_write' /usr/bin/ld: /home/esnil/Descargas/ma27-1.0.0/src/ma27d.f:463:(.text+0x7398): undefined reference to_gfortran_st_write_done' /usr/bin/ld: /home/esnil/Descargas/ma27-1.0.0/src/ma27d.f:464:(.text+0x73eb): undefined reference to _gfortran_st_write' /usr/bin/ld: /home/esnil/Descargas/ma27-1.0.0/src/ma27d.f:482:(.text+0x7483): undefined reference to_gfortran_st_write' /usr/bin/ld: /home/esnil/Descargas/ma27-1.0.0/src/ma27d.f:482:(.text+0x7493): undefined reference to _gfortran_transfer_integer_write' /usr/bin/ld: /home/esnil/Descargas/ma27-1.0.0/src/ma27d.f:482:(.text+0x749b): undefined reference to_gfortran_st_write_done' /usr/bin/ld: /home/esnil/Descargas/ma27-1.0.0/src/ma27d.f:484:(.text+0x74ee): undefined reference to _gfortran_st_write' /usr/bin/ld: /home/esnil/Descargas/ma27-1.0.0/src/ma27d.f:484:(.text+0x7502): undefined reference to_gfortran_transfer_character_write' /usr/bin/ld: /home/esnil/Descargas/ma27-1.0.0/src/ma27d.f:484:(.text+0x750a): undefined reference to _gfortran_st_write_done' /usr/bin/ld: /home/esnil/Descargas/ma27-1.0.0/src/ma27d.f:433:(.text+0x76ae): undefined reference to_gfortran_st_write' /usr/bin/ld: /home/esnil/Descargas/ma27-1.0.0/src/ma27d.f:488:(.text+0x771d): undefined reference to _gfortran_st_write' /usr/bin/ld: /home/esnil/Descargas/ma27-1.0.0/src/ma27d.f:488:(.text+0x772d): undefined reference to_gfortran_transfer_integer_write' /usr/bin/ld: /home/esnil/Descargas/ma27-1.0.0/src/ma27d.f:488:(.text+0x7735): undefined reference to _gfortran_st_write_done' /usr/bin/ld: /home/esnil/Descargas/ma27-1.0.0/src/ma27d.f:489:(.text+0x7788): undefined reference to_gfortran_st_write' /usr/bin/ld: /home/esnil/Descargas/ma27-1.0.0/src/ma27d.f:496:(.text+0x77ef): undefined reference to _gfortran_st_write' /usr/bin/ld: /home/esnil/Descargas/ma27-1.0.0/src/ma27d.f:496:(.text+0x77ff): undefined reference to_gfortran_transfer_integer_write' /usr/bin/ld: /home/esnil/Descargas/ma27-1.0.0/src/ma27d.f:496:(.text+0x7807): undefined reference to _gfortran_st_write_done' /usr/bin/ld: /home/esnil/Descargas/ma27-1.0.0/src/ma27d.f:497:(.text+0x785a): undefined reference to_gfortran_st_write' /usr/bin/ld: /home/esnil/Descargas/ma27-1.0.0/src/ma27d.f:497:(.text+0x7862): undefined reference to _gfortran_st_write_done' /usr/bin/ld: /usr/local/lib/libma27.a(ma27d.o): en la funciónma27cd_': /home/esnil/Descargas/ma27-1.0.0/src/ma27d.f:598:(.text+0x7a1e): undefined reference to _gfortran_st_write' /usr/bin/ld: /home/esnil/Descargas/ma27-1.0.0/src/ma27d.f:598:(.text+0x7a2e): undefined reference to_gfortran_transfer_integer_write' /usr/bin/ld: /home/esnil/Descargas/ma27-1.0.0/src/ma27d.f:598:(.text+0x7a3e): undefined reference to _gfortran_transfer_integer_write' /usr/bin/ld: /home/esnil/Descargas/ma27-1.0.0/src/ma27d.f:598:(.text+0x7a4e): undefined reference to_gfortran_transfer_integer_write' /usr/bin/ld: /home/esnil/Descargas/ma27-1.0.0/src/ma27d.f:598:(.text+0x7a63): undefined reference to _gfortran_transfer_integer_write' /usr/bin/ld: /home/esnil/Descargas/ma27-1.0.0/src/ma27d.f:598:(.text+0x7a78): undefined reference to_gfortran_transfer_integer_write' /usr/bin/ld: /home/esnil/Descargas/ma27-1.0.0/src/ma27d.f:598:(.text+0x7a80): undefined reference to _gfortran_st_write_done' /usr/bin/ld: /home/esnil/Descargas/ma27-1.0.0/src/ma27d.f:616:(.text+0x7b92): undefined reference to_gfortran_st_write' /usr/bin/ld: /home/esnil/Descargas/ma27-1.0.0/src/ma27d.f:616:(.text+0x7ba4): undefined reference to _gfortran_transfer_integer_write' /usr/bin/ld: /home/esnil/Descargas/ma27-1.0.0/src/ma27d.f:616:(.text+0x7bb6): undefined reference to_gfortran_transfer_integer_write' /usr/bin/ld: /home/esnil/Descargas/ma27-1.0.0/src/ma27d.f:616:(.text+0x7bc8): undefined reference to _gfortran_transfer_integer_write' /usr/bin/ld: /home/esnil/Descargas/ma27-1.0.0/src/ma27d.f:616:(.text+0x7bd0): undefined reference to_gfortran_st_write_done' /usr/bin/ld: /home/esnil/Descargas/ma27-1.0.0/src/ma27d.f:622:(.text+0x7c2e): undefined reference to _gfortran_st_write' /usr/bin/ld: /home/esnil/Descargas/ma27-1.0.0/src/ma27d.f:622:(.text+0x7cb4): undefined reference to_gfortran_transfer_array_write' /usr/bin/ld: /home/esnil/Descargas/ma27-1.0.0/src/ma27d.f:622:(.text+0x7cbc): undefined reference to _gfortran_st_write_done' /usr/bin/ld: /home/esnil/Descargas/ma27-1.0.0/src/ma27d.f:626:(.text+0x7d0f): undefined reference to_gfortran_st_write' /usr/bin/ld: /home/esnil/Descargas/ma27-1.0.0/src/ma27d.f:626:(.text+0x7d17): undefined reference to _gfortran_st_write_done' /usr/bin/ld: /home/esnil/Descargas/ma27-1.0.0/src/ma27d.f:634:(.text+0x7da9): undefined reference to_gfortran_st_write' /usr/bin/ld: /home/esnil/Descargas/ma27-1.0.0/src/ma27d.f:634:(.text+0x7e29): undefined reference to _gfortran_transfer_array_write' /usr/bin/ld: /home/esnil/Descargas/ma27-1.0.0/src/ma27d.f:634:(.text+0x7e31): undefined reference to_gfortran_st_write_done' /usr/bin/ld: /home/esnil/Descargas/ma27-1.0.0/src/ma27d.f:644:(.text+0x7ee7): undefined reference to _gfortran_st_write' /usr/bin/ld: /home/esnil/Descargas/ma27-1.0.0/src/ma27d.f:644:(.text+0x7f5f): undefined reference to_gfortran_transfer_array_write' /usr/bin/ld: /home/esnil/Descargas/ma27-1.0.0/src/ma27d.f:644:(.text+0x7f67): undefined reference to _gfortran_st_write_done' /usr/bin/ld: /home/esnil/Descargas/ma27-1.0.0/src/ma27d.f:664:(.text+0x7fe3): undefined reference to_gfortran_st_write' /usr/bin/ld: /home/esnil/Descargas/ma27-1.0.0/src/ma27d.f:664:(.text+0x7feb): undefined reference to _gfortran_st_write_done' /usr/bin/ld: /home/esnil/Descargas/ma27-1.0.0/src/ma27d.f:668:(.text+0x8049): undefined reference to_gfortran_st_write' /usr/bin/ld: /home/esnil/Descargas/ma27-1.0.0/src/ma27d.f:668:(.text+0x80be): undefined reference to _gfortran_transfer_array_write' /usr/bin/ld: /home/esnil/Descargas/ma27-1.0.0/src/ma27d.f:668:(.text+0x80c6): undefined reference to_gfortran_st_write_done' collect2: error: ld returned 1 exit status make[2]: [src/CMakeFiles/Dsp.dir/build.make:222: src/libDsp.so] Error 1 make[1]: [CMakeFiles/Makefile2:333: src/CMakeFiles/Dsp.dir/all] Error 2 make: *** [Makefile:146: all] Error 2

kibaekkim commented 2 weeks ago

The issue seems related to gfortran. Can you describe your build settings, such as os, compilers, etc?

Esnilg commented 2 weeks ago

Hi

How i do it?

Im working from vitualbox, I installed ubuntu 24.04.

Thanks

kibaekkim commented 2 weeks ago

Do you have screen output when you ran cmake? Otherwise, you can remove and recreate build directory and rerun cmake there.

Esnilg commented 2 weeks ago

Hi

esnil@esnil-VirtualBox:~/Descargas/DSP/build$ cmake .. CMake Warning (dev) at CMakeLists.txt:1 (project): cmake_minimum_required() should be called prior to this top-level project() call. Please see the cmake-commands(7) manual for usage documentation of both commands. This warning is for project developers. Use -Wno-dev to suppress it.

-- The C compiler identification is GNU 13.2.0 -- The CXX compiler identification is GNU 13.2.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/cc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/c++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- The Fortran compiler identification is GNU 13.2.0 -- Detecting Fortran compiler ABI info -- Detecting Fortran compiler ABI info - done -- Check for working Fortran compiler: /usr/bin/gfortran - skipped -- The system information: Linux-6.8.0-41-generic.x86_64 -- Build type: Release -- Looking for Fortran sgemm -- Looking for Fortran sgemm - not found -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success -- Found Threads: TRUE -- Looking for Fortran sgemm -- Looking for Fortran sgemm - found -- Found BLAS: /usr/lib/x86_64-linux-gnu/libopenblas.so -- Looking for Fortran cheev -- Looking for Fortran cheev - found -- Found LAPACK: /usr/lib/x86_64-linux-gnu/libopenblas.so;-lm;-ldl -- Found ZLIB: /usr/lib/x86_64-linux-gnu/libz.so (found version "1.3") -- Found BZip2: /usr/lib/x86_64-linux-gnu/libbz2.so (found version "1.0.8") -- Looking for BZ2_bzCompressInit -- Looking for BZ2_bzCompressInit - found -- Checking for module 'mpi-c' -- Package 'mpi-c', required by 'virtual:world', not found -- Could NOT find MPI_C (missing: MPI_C_LIB_NAMES MPI_C_HEADER_DIR MPI_C_WORKS) -- Checking for module 'mpi-cxx' -- Package 'mpi-cxx', required by 'virtual:world', not found -- Could NOT find MPI_CXX (missing: MPI_CXX_LIB_NAMES MPI_CXX_HEADER_DIR MPI_CXX_WORKS) -- Checking for module 'mpi-fort' -- Package 'mpi-fort', required by 'virtual:world', not found -- Could NOT find MPI_Fortran (missing: MPI_Fortran_LIB_NAMES MPI_Fortran_F77_HEADER_DIR MPI_Fortran_MODULE_DIR MPI_Fortran_WORKS) -- Could NOT find MPI (missing: MPI_C_FOUND MPI_CXX_FOUND MPI_Fortran_FOUND) -- Found /usr/local/lib/libscip.so -- Found /usr/local/lib/libma27.a -- Found /home/esnil/Descargas/cplex/cplex/lib/x86-64_linux/static_pic/libcplex.a -- Found libgfortran: /usr/bin -- Code coverage: OFF -- Configuring done (6.3s) CMake Warning at src/CMakeLists.txt:232 (target_link_libraries): Target "Dsp" requests linking to directory "/usr/bin". Targets may link only to libraries. CMake is dropping the item.

CMake Warning at src/CMakeLists.txt:232 (target_link_libraries): Target "Dsp" requests linking to directory "/usr/bin". Targets may link only to libraries. CMake is dropping the item.

CMake Warning at src/CMakeLists.txt:233 (target_link_libraries): Target "runDsp" requests linking to directory "/usr/bin". Targets may link only to libraries. CMake is dropping the item.

CMake Warning at src/CMakeLists.txt:233 (target_link_libraries): Target "runDsp" requests linking to directory "/usr/bin". Targets may link only to libraries. CMake is dropping the item.

-- Generating done (0.1s) -- Build files have been written to: /home/esnil/Descargas/DSP/build

set(MA27LIB_DIR "/home/esnil/Descargas/ma27-1.0.0/src") set(CPLEX_LIB_DIR "/home/esnil/Descargas/cplex/cplex/lib/x86-64_linux/static_pic") set(CPLEX_INC_DIR "/home/esnil/Descargas/cplex/cplex/include/ilcplex") set(GUROBI_LIB_DIR "$ENV{GUROBI_LIB_DIR}") set(GUROBI_INC_DIR "$ENV{GUROBI_INC_DIR}") set(SCIPOPT_INC_DIR "/usr/local/include") set(SCIPOPT_LIB_DIR "/usr/local/lib") set(GFORTRANLIB "/usr/bin")

Thanks

kibaekkim commented 2 weeks ago

I notice that your gnu version is 13.2, which looks very recent. Since you have successfully built the code but failed linking some gfortran functions, I suspect that the gfortran version may be conflicting with your C++ compiler version. But it's more or less my guess... Unfortunately, I do not have the version to test on my machines.

If you can build the code with GCC 10 or 11 and observe the same issue, I would be happy to test that on my side.