Re: asciipasswd.c

From: tap3w0rm (tap3_w0rm@attbi.com)
Date: 10/17/02


> i just ran all the cvs patches and came acrost somethign weird
>
> asciipasswd.c contains a function called
>
> int main(int argc, char **argv) {
>   if (argc != 3)
>     fprintf(stderr, "Usage: %s name password\n", argv[0]);
>   else
>     printf("Name: %s\nPass: %s\n", CAP(argv[1]), CRYPT(argv[2],
> CAP(argv[1])));
>   return (0);
> }
>
> and it conflicts like this
> asciipasswd.obj : error LNK2005: _main already defined in comm.obj
> ../circlewin32.exe : fatal error LNK1169: one or more multiply defined
> symbols found
>
> with a function of the same name in comm.c
>
> i dont know what to do

ok i feel like a total twit i ran the patches and for some reason it droped
that file in the main directory and i jsut added all the new .c files to my
msvc project that one included. i am so sorry if i am cluttering up the list

i still have 1 problem maby it is because i am new to some of this.

when i patch -u < patchname.patch

it never finds the files in other directorys accept the one i am running it
from
do i need another swtch or an i donting somethign wrong ..

i patched the mud from /circle/ and it fixed all the autorun's and stuff but
skipped everythign in the /src directory

i copyed the patch to the /src directory and ran it agian skipping all the
files
that were in /circle and it patched all the source ...

i am so sorry agian for cloging up the lsit with useless post's ... but i
guess
there is a possability someone else will have the same problem and this
E-mail will help them

--
   +---------------------------------------------------------------+
   | FAQ: http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html |
   | Archives: http://post.queensu.ca/listserv/wwwarch/circle.html |
   | Newbie List:  http://groups.yahoo.com/group/circle-newbies/   |
   +---------------------------------------------------------------+



This archive was generated by hypermail 2b30 : 06/25/03 PDT