[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: collect2 ld returned 1 exit status

From: Paul Pluzhnikov
Subject: Re: collect2 ld returned 1 exit status
Date: Tue, 26 Aug 2008 07:42:51 -0700
User-agent: Gnus/5.1006 (Gnus v5.10.6) XEmacs/21.4 (Jumbo Shrimp, linux) writes:

> cd LinuxRelease && g++ -o ../Obelix.elf -L../../../../SiSRC/Libs/LinuxRelease 
> -L/usr/lib Game.o  -lSiEngine -lSiMath -lSiUtil -lglut -lGLU -lGL -lGLEW      
> ../../../../SiSRC/Libs/LinuxRelease/libSiEngine.a(SiCamera.o):(.data+0x0): 
> multiple definition of `font' Game.o:(.data+0x0): first defined here

> The trouble  with font which i never defined anywhere:

Au contraire: you defined it *everywhere*.

To understand the error, read this:

Most likely cause: you've done something like this in one of your
header files:

  int font = 42;


  const int font = 42;

In order to understand recursion you must first understand recursion.
Remove /-nsp/ for email.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]