undefined reference to `_gfortran_compare_string'

Post here if you have a question about the installation process

undefined reference to `_gfortran_compare_string'

Postby issmaz » Wed Dec 21, 2011 4:29 am

Hello everyone,

I installed Lapack on the 11.10 version of Ubuntu, and then I tried to install the library VNODE_LP after (which uses Lapack). But when I type the "make all" command I get the following error message:
Code: Select all
/home/NUMLIB/lapack-3.4.0/liblapack.a(dtrtri.o): In function `dtrtri_':
dtrtri.f:(.text+0x166): undefined reference to `_gfortran_concat_string'
/home/NUMLIB/lapack-3.4.0/liblapack.a(ilaenv.o): In function `ilaenv_':
ilaenv.f:(.text+0x95): undefined reference to `_gfortran_compare_string'
ilaenv.f:(.text+0xc2): undefined reference to `_gfortran_compare_string'
ilaenv.f:(.text+0x290): undefined reference to `_gfortran_compare_string'
ilaenv.f:(.text+0x2bd): undefined reference to `_gfortran_compare_string'
ilaenv.f:(.text+0x2e9): undefined reference to `_gfortran_compare_string'
/home/NUMLIB/lapack-3.4.0/liblapack.a(ilaenv.o):ilaenv.f:(.text+0x311): more undefined references to `_gfortran_compare_string' follow
/home/NUMLIB/lapack-3.4.0/liblapack.a(xerbla.o): In function `xerbla_':
xerbla.f:(.text+0x47): undefined reference to `_gfortran_st_write'
xerbla.f:(.text+0x5a): undefined reference to `_gfortran_string_len_trim'
xerbla.f:(.text+0x71): undefined reference to `_gfortran_transfer_character_write'
xerbla.f:(.text+0x8c): undefined reference to `_gfortran_transfer_integer_write'
xerbla.f:(.text+0x94): undefined reference to `_gfortran_st_write_done'
xerbla.f:(.text+0xa8): undefined reference to `_gfortran_stop_string'
collect2: ld a retourné 1 code d'état d'exécution
make[1]: *** [orbit] Erreur 1
make[1]: quittant le répertoire « /home/NUMLIB/vnodelp/examples »
make: *** [all] Erreur 2


I have the following version of gfortran:
Code: Select all
GNU Fortran (Ubuntu/Linaro 4.6.1-9ubuntu3) 4.6.1
Copyright © 2011 Free Software Foundation, Inc.


Many thanks in advance !!!
issmaz
 
Posts: 1
Joined: Wed Dec 21, 2011 4:21 am

Re: undefined reference to `_gfortran_compare_string'

Postby admin » Wed Jan 18, 2012 1:54 pm

You need to add -lgfortran to the linking sequence
Julie
admin
Site Admin
 
Posts: 501
Joined: Wed Dec 08, 2004 7:07 pm

Re: undefined reference to `_gfortran_compare_string'

Postby phonenix » Thu May 24, 2012 2:51 am

When I install Phaistos (protein structure simulation program using Lapack), the same error occurs as attachment file shows, would anyone tell me where the problem is ?

Thanks very much.
phonenix
 
Posts: 1
Joined: Thu May 24, 2012 2:35 am


Return to Installation

Who is online

Users browsing this forum: No registered users and 1 guest

cron