It is probably defined in "merc.h" (which is included in your comm.c includes at the top) and then you have also defined it in the "comm.c" file as well, either as a local function, or as a external function. Either way, check "merc.h" and see if it lists there. If so, check the top of "comm.c", if it lists there as well, remove it from the top of "comm.c" and recompile.
- Valnir ----- Original Message ----- From: <[EMAIL PROTECTED]> To: <[email protected]> Sent: Friday, August 13, 2004 10: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 >

