|
|||||||
|
|
|
![]() |
|
|
Strumenti |
|
|
#1 |
|
Member
Iscritto dal: Jul 2008
Messaggi: 34
|
[Fortran] Problemi compilazione programma
Ciao a tutti. Ho un problema con un programma scritto in Fortran, che sfrutta una procedura .c per interfacciare le chiamate fortran con quelle di un solver che serve utilizzare nel programma(si chiama Cplex)
Mi tocca installare questo codice sul mio Fedora FC9). Non ci sono file di configurazione, ho solo il makefile. Quando lancio il make mi restituisce: atsp_sub.o: In function `checktsp_': atsp_sub.for: (.text+0x2546): undefined reference to `s_wsle' atsp_sub.for: (.text+0x255c): undefined reference to `do_lio' atsp_sub.for: (.text+0x2564): undefined reference to `e_wsle' atsp_sub.for: (.text+0x2571): undefined reference to `s_wsle' atsp_sub.for: (.text+0x2587): undefined reference to `do_lio' atsp_sub.for: (.text+0x259f): undefined reference to `do_lio' atsp_sub.for: (.text+0x25b4): undefined reference to `do_lio' atsp_sub.for: (.text+0x25cb): undefined reference to `do_lio' atsp_sub.for: (.text+0x25d0): undefined reference to `e_wsle' atsp_sub.for: (.text+0x25de): undefined reference to `s_stop' atsp_sub.o: In function `wrisol_': atsp_sub.for: (.text+0x261e): undefined reference to `s_wsle' atsp_sub.for: (.text+0x2634): undefined reference to `do_lio' atsp_sub.for: (.text+0x264b): undefined reference to `do_lio' atsp_sub.for: (.text+0x2661): undefined reference to `do_lio' atsp_sub.for: (.text+0x2669): undefined reference to `e_wsle' atsp_sub.for: (.text+0x2693): undefined reference to `s_wsfe' atsp_sub.for: (.text+0x26a3): undefined reference to `do_fio' atsp_sub.for: (.text+0x26b3): undefined reference to `do_fio' atsp_sub.for: (.text+0x26c3): undefined reference to `do_fio' atsp_sub.for: (.text+0x26cb): undefined reference to `e_wsfe' atsp_sub.o: In function `viol_': atsp_sub.for: (.text+0x2780): undefined reference to `s_stop' atsp_sub.o: In function `killcut_': atsp_sub.for: (.text+0x2837): undefined reference to `s_stop' 65cpx2lp.o: In function `lpsetup_': 65cpx2lp.c: (.text+0x404): undefined reference to `CPXopenCPLEXdevelop' /usr/CPLEX10/cplex100/lib/x86_rhel4.0_3.4/static_pic/libcplex.a(par.o): In function `CPXPparfork': ......src/cplex/par.c: (.text+0x1c6): undefined reference to `pthread_create' ......src/cplex/par.c: (.text+0x232): undefined reference to `pthread_join' /usr/CPLEX10/cplex100/lib/x86_rhel4.0_3.4/static_pic/libcplex.a(par.o): In function `CPXPblocksigint': ......src/cplex/par.c: (.text+0x4a3): undefined reference to `pthread_sigmask' collect2: ld returned 1 exit status make: *** [main] Error 1 Ho letto un po in giro che il problema probabilmente è dovuto al compilatore fortran ( che io ho installato tramite yumex sul mio pc) ma non riesco a risolverlo. Qualcuno sa aiutarmi? Se puo essere utile posto il makefile o quello che serve. Grazie mille!!! |
|
|
|
|
| Strumenti | |
|
|
Tutti gli orari sono GMT +1. Ora sono le: 16:26.



















