[PyKDE] multiply-defined
Fred Polgardy
fred at polgardy.com
Fri Jun 11 20:59:01 BST 2004
Sounds like you're defining your class methods in a header file somewhere,
and then including the header file in multiple places.
What does this have to do with Python or KDE? :)
----- Original Message -----
From: "Meng Li" <mengqeic at cs.tu-berlin.de>
To: <pykde at mats.imk.fraunhofer.de>
Sent: Friday, June 11, 2004 1:43 PM
Subject: [PyKDE] multiply-defined
> 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
>
> _______________________________________________
> PyKDE mailing list PyKDE at mats.imk.fraunhofer.de
> http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
>
>
More information about the PyQt
mailing list