Can't pinpoint linker error

N

Nick Overdijk

Hey guys,

MinGW GCC's linker is giving me these errors, and I can't really figure
out what they mean. Any help on this?

[errors]
Linking console executable: bin\Debug\Program.exe

obj\Debug\net.o: In function
`_ZNSt8_Rb_treeISsSt4pairIKSsSsESt10_Select1stIS2_ESt4lessISsESaIS2_EEC1ERKS6_RKS7_':
/include/c++/3.4.5/bits/allocator.h:(.bss+0x0): multiple definition of
`_settings'
obj\Debug\main.o:C:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/c++/3.4.5/ext/new_allocator.h:(.bss+0x0):
first defined here

obj\Debug\service.o: In function
`_ZNSaISt13_Rb_tree_nodeISt4pairIKSsN4stfu4nodeEEEEC1IS4_EERKSaIT_E':
/include/c++/3.4.5/ext/new_allocator.h:(.bss+0x0): multiple definition
of `_settings'
obj\Debug\main.o:C:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/c++/3.4.5/ext/new_allocator.h:(.bss+0x0):
first defined here

obj\Debug\servicecontrol.o: In function
`_ZN9__gnu_cxx13new_allocatorISt4pairIKSsN4stfu4nodeEEED2Ev':
/include/c++/3.4.5/ext/new_allocator.h:(.bss+0x0): multiple definition
of `_settings'
obj\Debug\main.o:C:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/c++/3.4.5/ext/new_allocator.h:(.bss+0x0):
first defined here

obj\Debug\settings.o: In function
`_ZNSaISt4pairIKSsSsEEC1ISt13_Rb_tree_nodeIS1_EEERKSaIT_E':
/include/c++/3.4.5/bits/stl_tree.h:(.bss+0x0): multiple definition of
`_settings'
obj\Debug\main.o:C:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/c++/3.4.5/ext/new_allocator.h:(.bss+0x0):
first defined here

obj\Debug\worm.o: In function
`_ZN9__gnu_cxx13new_allocatorISt4pairIKSsN4stfu4nodeEEED2Ev':
include/c++/3.4.5/ext/new_allocator.h:(.bss+0x0): multiple definition of
`_settings'
obj\Debug\main.o:C:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/c++/3.4.5/ext/new_allocator.h:(.bss+0x0):
first defined here
[/errors]

Thanks in advance,
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,994
Messages
2,570,222
Members
46,809
Latest member
moe77

Latest Threads

Top