f build dies with: undefined reference to `lookup_name'
Andrew Cagney
cagney@mac.com
Wed Mar 6 08:53:00 GMT 2002
>> I'm trying to get some patches committed but am finding that my build
>> dies in while building fortran with:
>> /home/scratch/PENDING/GCC-2002-02-02-switch-default/gcc/gcc/varasm.c:5111:
>> undefined reference to `lookup_name'
>
> The patch works on Linux and AIX and eABI. What is different
> about the NetBSD configuration? The function is declared in c-tree.h and
> defined in c-decl.c.
Fortran? The archive libbackend.a (which the fortran compiler linked
against) contains varasm.o but not contain c-decl.o. Looking at
gcc/Makefile.in, C_AND_OBJC_OBJS includes c-decl.o but OBJS (used for
libbackend.a) does not.
Andrew
More information about the Gcc-patches
mailing list