fortran/4971: g77 complains about an undefined reference L3 which does not exist.

hans@wenzel.in-berlin.de hans@wenzel.in-berlin.de
Mon Nov 19 09:37:00 GMT 2001


>Number:         4971
>Category:       fortran
>Synopsis:       g77 complains about an undefined reference L3 which does not exist.
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Nov 29 13:56:01 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     hans@wenzel.in-berlin.de
>Release:        g77 v0.5.24
>Organization:
>Environment:
SUSE Linux 7.3, AMD Athlon 1.4 GHz
>Description:
I invoke the g77 compiler for linkung using a self-made
library (qip.a). g77 goes not link because it complains
about an undefined reference L3 which does, definitly,
not occure in my sourcefiles.
It does work with other compilers.


g77 -g -static -fno-silent qip.o qip.a -o qip.e
/usr/lib/gcc-lib/i486-suse-linux/2.95.3/libg2c.a(open.o): In function `f_open':
open.o(.text+0x4da): the use of `tempnam' is dangerous, better use `mkstemp'
qip.a(matpar.o): In function `matpar_':
/home/hans/fortran/qip/matpar.for:66: undefined reference to `L3'
/home/hans/fortran/qip/matpar.for:71: undefined reference to `L3'
collect2: ld returned 1 exit status
make: *** [qip] Error 1
rm matpar.o


>How-To-Repeat:

>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the Gcc-bugs mailing list