This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: errors while using -lgfortran instead of libg2c.a



-----Original Message-----
From: "satyaakam goswami" <satyaakam@gmail.com>
To: gcc-help@gcc.gnu.org
Date: Thu, 8 Mar 2007 11:07:05 +0530
Subject: errors while using -lgfortran instead of libg2c.a

we getting undefined symbol:`d_sign', please suggest.

/tsi71/pubref/liba/lnx86_gcc_ia32/liblapack.a
/tsi71/pubref/liba/lnx86_gcc_ia32/libblas.a
/tsi71/pubref/liba/lnx86_gcc_ia32/liblamatrix++.a    -lm -lgfortran
/tsi71/pubref/liba/lnx86_gcc_ia32/liblapack++.a(dtimmg.o): In function
`dtimmg_':
dtimmg.c:(.text+0xe47): undefined reference to `d_sign'
dtimmg.c:(.text+0xf11): undefined reference to `d_sign'
dtimmg.c:(.text+0x1004): undefined reference to `d_sign'
dtimmg.c:(.text+0x10de): undefined reference to `d_sign'
dtimmg.c:(.text+0x120d): undefined reference to `d_sign'

Satya

_____________________________
It's probably better not to mix libraries built with libg2c with gfortran.  One would think that a linux distribution which supports a satisfactory gfortran (gcc 4.1 or newer) would have libraries built for libgfortran.  Older libraries might be better rebuilt using gfortran.
Tim Prince


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]