<lurk mode off> Greetings seeker of knowledge,
by your statement, I am working on the assumption that you have checked for rejected parts of the patch? the patch program should have either commented out with a /* */ block or removed, the original definition of page_to_char ( looks something like void page_to_char( const char *txt, CHAR_DATA *ch ) if I remember correctly) this allows for the changed code (lopes puts the color codes in here to send to the player) to be used as the definition.. try commenting out the one that looks shorter :) then do a make clean, this will remove the .o files and the executable so that you can make sure all files are working with the same data.. always do a make clean for something like this function, there are like 30 some odd places in many diff files that use the definition of page_to_char made in comm.c. if you change comm.c you need to not only recompile it, but all that depend on it.. search the archives for discussions about make depend and whatnot if you are interested. this _should_ fix your problem :) good luck, Steve Boleware </lurk mode back on> ----- Original Message ----- From: <[EMAIL PROTECTED]> To: <[email protected]> Sent: Friday, August 13, 2004 7:13 PM Subject: Redefinition Error > I just started up basic Rom 2.4b6 and I am trying to insert Lope's color code. So I toss it in, patch over and all, and now I am coming up with an error when I compile in my comm.c file. The error is: > > comm.c:2379 redefinition of 'page_to_char' > comm.c:2355 'page_to_char' previously defined here > > I am new to coding and not sure what to do about this. I went in and looked at both lines, and they are identical, which I assume is why it says it was previously defined. The notes also state that they are both responsible for sending a page to a character, so does that mean I have two functions doing the same thing? I tried deleting the first function, that just made more errors in a different file, and taking out the first definition of page_to_char generates errors as well. Could someone help me out and maybe give me a little info on what this error means so I will know how to correct it in the future? > > __________________________________________________________________ > Switch to Netscape Internet Service. > As low as $9.95 a month -- Sign up today at http://isp.netscape.com/register > > Netscape. Just the Net You Need. > > New! Netscape Toolbar for Internet Explorer > Search from anywhere on the Web and block those annoying pop-ups. > Download now at http://channels.netscape.com/ns/search/install.jsp > > -- > ROM mailing list > [email protected] > http://www.rom.org/cgi-bin/mailman/listinfo/rom

