I am using gsoap generated classes to make a webservice client. If I include gsoap's .h in the main.cpp no problem, but if I include them in another .cpp I get these errors:


mwldsym2.exe: Multiply defined symbol: struct Namespace * namespaces (?namespaces@@3PAUNamespace@@A) in
mwldsym2.exe: files maxintervaltimer.o, main.o
mwldsym2.exe: Multiply defined symbol: struct Namespace * namespaces (?namespaces@@3PAUNamespace@@A) in
mwldsym2.exe: files moc_maxintervaltimer.o, main.o