[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gcc-bugs
Subject:    fortran/4971: g77 complains about an undefined reference L3 which does not exist.
From:       hans () wenzel ! in-berlin ! de
Date:       2001-11-29 21:48:08
[Download RAW message or body]


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

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic