weird 'undefined reference to' error
gnuml
gnuml@bootweb.nl
Tue Apr 6 14:06:00 GMT 2004
Hi,
Ok I will, but is there some sort of workaround for this? I need to get
the program up and running. I am using gcc 3.2 on SuSe Linux 8.1 (i386).
Are there any relevant gcc options to modify the linker's behavior?
Also, the .o files I am linking to the C file have been compiled on a
different Linux system. Could that be a problem? Unfortunately I cannot
recompile the sources of those .o files on the SuSe 8.1 machine.
Any suggestions?
Thanks alot!
Martin
On Tue, 6 Apr 2004, Nathan Sidwell wrote:
> gnuml wrote:
> > Hi,
> >
> > I am trying to compile a C file and link it to a bunch of other files
> > using gcc, but without success.
> > The problem is
> >
> > /tmp/ccRIrJS7.o: In function `pr_writ':
> > /tmp/ccRIrJS7.o(.text+0x5431): undefined reference to `.L1064'
> >
> > What is this .L1064? Line 1064? I checked that line but all it contains is
> > a '}'. Nothing interesting is going on the code, neither is L1064
> > mentioned anywhere in the files' code.
> > Can anyone explain to me what this linking error means?
> > Thanks,
>
> .L1064 is an internal assembler label generated by the compiler. You have
> possibly discovered a compiler bug. Please submit a bug report as
> http://gcc.gnu.org/bugs.html describes
>
More information about the Gcc-help
mailing list