[PyKDE] multiply-defined

Meng Li mengqeic at cs.tu-berlin.de
Fri Jun 11 20:44:01 BST 2004


hallo, 

i believ the following error in unix. 

g++  -o programm main.o  visual.o  vokalgui.o  vokImpl.o  au_laden.o 
audioprozess.o  fft.o  netz.o  neuron.o  neuronnetz.o  neuronschicht.o
moc_visual.o  moc_vokalgui.o  moc_vokImpl.o  
-Wl,-R,/home/pub/lib/qt3/lib -L/home/pub/lib/qt3/lib -L/usr/openwin/lib
-lqt-mt -lXext -lX11 -lresolv -lsocket -lnsl
ld: fatal: symbol `NeuronSchicht::forward(double*)' is multiply-defined:
        (file neuronnetz.o type=FUNC; file neuronschicht.o type=FUNC);
ld: fatal: symbol `NeuronSchicht::neuronschicht_zufall(int,
TransferFkt)' is multiply-defined:
        (file neuronnetz.o type=FUNC; file neuronschicht.o type=FUNC);
ld: fatal: symbol `NeuronSchicht::NeuronSchicht[in-charge]()' is
multiply-defined:
        (file neuronnetz.o type=FUNC; file neuronschicht.o type=FUNC);
ld: fatal: symbol `NeuronSchicht::NeuronSchicht[not-in-charge]()' is
multiply-defined:
        (file neuronnetz.o type=FUNC; file neuronschicht.o type=FUNC);
ld: fatal: File processing errors. No output written to programm
collect2: ld returned 1 exit status
*** Error code 1
make: Fatal error: Command failed for target `programm'

Can someone help me?
thanks first!

i have in neuronnetz: #include "neuronschicht.h"
and in neuornschicht.h: #ifndef NEURONSCHICHT_H
		    	#define NEURONScHICHT_H
			......
		    	#endif 

meng




More information about the PyQt mailing list