public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* errors while using -lgfortran instead of libg2c.a
@ 2007-03-08  7:51 satyaakam goswami
  0 siblings, 0 replies; 2+ messages in thread
From: satyaakam goswami @ 2007-03-08  7:51 UTC (permalink / raw)
  To: gcc-help

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: errors while using -lgfortran instead of libg2c.a
@ 2007-03-16 11:52 Timothy C Prince
  0 siblings, 0 replies; 2+ messages in thread
From: Timothy C Prince @ 2007-03-16 11:52 UTC (permalink / raw)
  To: satyaakam; +Cc: gcc-help



-----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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-03-15 23:14 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-03-08  7:51 errors while using -lgfortran instead of libg2c.a satyaakam goswami
2007-03-16 11:52 Timothy C Prince

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).