How to re-solve 'multiple main definitions' error ?
From: vsk (vsk_cit_at_yahoo.co.in)
Date: 02/28/05
- Next message: bettervssremoting: "A comparison among VSS Remote Access Tools including SourceOffSite, SourceAnyWhere and VSS Remoting"
- Previous message: RoSsIaCrIiLoIA: "Re: ANSI C Newbie Question"
- Next in thread: Walter Roberson: "Re: How to re-solve 'multiple main definitions' error ?"
- Reply: Walter Roberson: "Re: How to re-solve 'multiple main definitions' error ?"
- Reply: Vinod Patel: "Re: How to re-solve 'multiple main definitions' error ?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 27 Feb 2005 23:19:11 -0800
Hai all,
I have written a parser in lex. I hope most of you know that lex, a
command line utility available in linux
will take .lex file as input and it will produce .c file as output. Now
i need to make this file as a library such that
it could be used in another c-file. Thing here is, .c file produced by
lex will have a 'main' function.I renamed the main function into an
other name say 'parse' and i converted this into a library. When i
tried to use this in another c-file, it gives me the erroe as multiple
mail definitions.
Can anyne help me in this regard ?.
Thanks in advance,
- Next message: bettervssremoting: "A comparison among VSS Remote Access Tools including SourceOffSite, SourceAnyWhere and VSS Remoting"
- Previous message: RoSsIaCrIiLoIA: "Re: ANSI C Newbie Question"
- Next in thread: Walter Roberson: "Re: How to re-solve 'multiple main definitions' error ?"
- Reply: Walter Roberson: "Re: How to re-solve 'multiple main definitions' error ?"
- Reply: Vinod Patel: "Re: How to re-solve 'multiple main definitions' error ?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|