On Sunday 27 April 2003 20:15, Tristan M wrote:
> hey, thanks for the help, it works great, however im having this problem
> now, im thinking its a result of the mess i made yesterday trying to get
> this working, but im pretty sure i cleaned it all up...these are my errors:
>
> --------------------Configuration: RoT1_4wOLC - Win32 pMain
> Debug--------------------
> Compiling...
> act_comm.c
> Linking...
> act_enter.obj : error LNK2005: _tphamount already defined in act_comm.obj

............ ;-)

> pMain_Debug/rotDEBUG.exe : fatal error LNK1169: one or more multiply
> defined symbols found
> Error executing link.exe.
> Creating browse info file...
>
> rotDEBUG.exe - 337 error(s), 0 warning(s)
>
>
>
>
>
> i've done a search for all occurences of the various types of amount and
> they dont show up in act_comm.obj...i'm baffled, can anyone shed some light
> on this problem?

Umm... are you compiling clean?! if you've done a grep and the symbols do not 
exist.. then you're simply not compiling clean. (As best I can figure based 
on the nil source provided.)

Another problem, might be if the symbols are defined in multiple files... for 
instance, you have.. say.. tqc_blah in some header file.. /* innocently 
whistles */ ... and include it 500 times in all your files.... /* thinks 
people shouldn't pay attention to him... */ /* because Dennis was so right */


Mark, who (maybe) found a home at Shadowgate. !! (yippie!)
-- 
-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GCS d s: a-- C++>$ UL+ P+ L++ !E(---) W- N o? K? w 
O- M-- V-- PS+ PE-- Y+ !PGP !tv t+ 5? X? R* b+++ DI+ D- 
G++ e++> h---- r+++ y-- 
------END GEEK CODE BLOCK------




Reply via email to