Re: help me to resolve these errors please
- From: Thad Smith <ThadSmith@xxxxxxx>
- Date: Sat, 19 Nov 2005 12:56:51 -0700
deepu wrote:
>
> hi,
> can any one of u help me in resolving these errors.
>
> ip_arp_v4.pr.tmp.c
> C:\PROGRA~1\OPNET\10.5.A\sys\include\ip_arp_v4.h(78) : error C2143:
> syntax error : missing ')' before '('
> C:\PROGRA~1\OPNET\10.5.A\sys\include\ip_arp_v4.h(78) : error C2091:
> function returns function
[many error messages snipped]
> here is the code.
>
> /** Packet has arrived from the higher layer. **/
> /** Address mapping corresponding to next hop's **/
> /** IP address is obtained either from the global **/
> /** table or from the ARP cache depending upon the **/
> /** ARP sim efficiency mode's value and packet is **/
> /** sent to the data link layer. **/
>
> /* Obtain the packet and the accompanying ICI. */
> pkptr = op_pk_get (intrpt_strm);
> if (pkptr == OPC_NIL)
> ip_arp_error ("Unable to get packet from input stream.");
[many source lines snipped]
The error messages refer to specific source lines. The first error
messages were for a header file that you apparently did not post.
Load up the mentioned source files, go to the specific line number in
the error message, use the message as a hint as to what the error
might be, and see if you can find it. Sometimes an error will be
caused by a preceding line, such as a missing semicolon, unterminated
comment or string, etc. The actual error might even be in a different
file, in the case of a header file message.
In general, it is better to start with the first error message, since
initial errors have a way of causing subsequent error messages on
lines that won't contain errors when the earlier error is fixed.
--
Thad
.
- References:
- help me to resolve these errors please
- From: deepu
- help me to resolve these errors please
- Prev by Date: Re: What languages have huge standard libraries?
- Next by Date: Re: What cars do programming languages resemble?
- Previous by thread: help me to resolve these errors please
- Next by thread: [ot]Re: How to kill people with a computer program ???
- Index(es):
Relevant Pages
|
Loading