On Fri, 16 May 2003, William Bittick wrote:

> olc_mpcode.o: In function `mpedit_create':
> /home/mobius/pdox/src/olc_mpcode.c:414: multiple definition of
> `mpedit_create'
> olc_mpcode.o:/home/mobius/pdox/src/olc_mpcode.c:414: first defined here

[etc etc]


Read what the compiler's saying:

You compiled everything into object files.  Now you're trying to link
those object files together to create an executable.  But you have more
than one function with the same name.  The first function named
mpedit_create is from olc_mpcode.c line 414 (which you compiled into
olc_mpcode.o).  The second one is from olc_mpcode.c line 414 (which you
compiled into olc_mpcode.o).  And similarly for all the other functions
where you're trying to link together more than one function with the
same name, one from olc_mpcode.o and one from olc_mpcode.o.

(Of course I'm assuming you don't have an '#include "olc_mpcode.c"'
laying around somewhere).


Dennis


Reply via email to