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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




-----Original Message-----
From: "satyaakam goswami" <satyaakam@xxxxxxxxx>
To: gcc-help@xxxxxxxxxxx
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 of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux