Click here to Skip to main content
15,894,410 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
MSIL
C:\FBCode>bcc32 netsniff.c
Borland C++ 5.5.1 for Win32 Copyright (c) 1993, 2000 Borland
netsniff.c:
Error E2141 netsniff.c 4: Declaration syntax error
Error E2206 netsniff.c 4: Illegal character '#' (0x23)
Error E2141 C:\Borland\BCC55\Include\stdio.h 166: Declaration syntax error
Error E2141 C:\Borland\BCC55\Include\stdio.h 177: Declaration syntax error
Error E2303 C:\Borland\BCC55\Include\stdio.h 202: Type name expected
Error E2303 C:\Borland\BCC55\Include\stdio.h 205: Type name expected
Error E2303 C:\Borland\BCC55\Include\stdio.h 207: Type name expected
Error E2303 C:\Borland\BCC55\Include\stdio.h 210: Type name expected
Error E2303 C:\Borland\BCC55\Include\stdio.h 212: Type name expected
Error E2303 C:\Borland\BCC55\Include\stdio.h 233: Type name expected
Error E2303 C:\Borland\BCC55\Include\stdio.h 245: Type name expected
Error E2303 C:\Borland\BCC55\Include\stdio.h 252: Type name expected
Error E2303 C:\Borland\BCC55\Include\stdio.h 254: Type name expected
Error E2303 C:\Borland\BCC55\Include\search.h 37: Type name expected
Error E2303 C:\Borland\BCC55\Include\search.h 41: Type name expected
Error E2303 C:\Borland\BCC55\Include\search.h 44: Type name expected
Error E2303 C:\Borland\BCC55\Include\search.h 46: Type name expected
Error E2147 C:\Borland\BCC55\Include\stdlib.h 127: 'size_t' cannot start a param
eter declaration
Error E2303 C:\Borland\BCC55\Include\stdlib.h 127: Type name expected
Error E2147 C:\Borland\BCC55\Include\stdlib.h 134: 'size_t' cannot start a param
eter declaration
Error E2303 C:\Borland\BCC55\Include\stdlib.h 135: Type name expected
Error E2141 C:\Borland\BCC55\Include\stdlib.h 136: Declaration syntax error
Error E2303 C:\Borland\BCC55\Include\stdlib.h 138: Type name expected
Error E2303 C:\Borland\BCC55\Include\stdlib.h 140: Type name expected
Error E2141 C:\Borland\BCC55\Include\stdlib.h 150: Declaration syntax error
Error E2228 C:\Borland\BCC55\Include\stdlib.h 150: Too many error or warning mes
sages
*** 26 errors in Compile ***
Posted
Comments
Wendelius 10-Apr-11 11:07am    
There is currently something strange going on on some threads. However posting your errors related to another post quite likely won't result to good answers. Try adding the problem description to this post.
Member 7766180 10-Apr-11 11:29am    
Problem found, INEXPERIENCE! This is Linux and I'm doing windows! So sorry, I do apologize!

1 solution

The appropriate code as well would help, but line number 4 in netsniff.c is the first problem: fix that and the others will likely disappear. (It is also likely that others will appear to replace them, but hey! One step at a time!).

The chances are that line 4 should be a "#include" of some kind: have you got a space between the '#' and teh "include"?
 
Share this answer
 
Comments
Sergey Alexandrovich Kryukov 10-Apr-11 15:45pm    
This is most likely, well spotted. My 5.
--SA

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900