This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: f build dies with: undefined reference to `lookup_name'


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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]