"multiple definitions" when linking

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

 



Hello,

when linking I obtain

/home/nm2/belov/prj/COIN/Examples/Csp2/Linux-g_-ffunction-sections_-fdata-sections_-fvtable-gc_--gc-sections/bg_mydebug.o(.data+0x0):bg_src/bg_mydebug.cpp:8: multiple definition of `outputLevel' /home/nm2/belov/prj/COIN/Examples/Csp2/Linux-g_-ffunction-sections_-fdata-sections_-fvtable-gc_--gc-sections/bg_mydebug.o(.data+0x0):bg_src/bg_mydebug.cpp:8: first defined here

i.e. the variable is defined only once in bg_mydebug.cpp line 8 but... ???
I tried G++ 3.3.3 and 4.0.1

Can anyone help?

Gleb

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux