Mail Archives: cygwin/2003/07/11/23:21:27
Didn't include the actual problem earlier. I keep getting this error. I've
reinstalled Cygwin 3 times, and finally, I installed the entire blasted
thing... Still no luck.
$ make
gcc -c -O -Wall -g -DNOCRYPT admin.c
In file included from /usr/include/cygwin/in.h:21,
from /usr/include/netinet/in.h:14,
from /usr/include/arpa/inet.h:14,
from admin.c:12:
/usr/include/cygwin/types.h:120: parse error before "int16_t"
/usr/include/cygwin/types.h:124: parse error before "int32_t"
/usr/include/cygwin/types.h:128: parse error before "int64_t"
/usr/include/cygwin/types.h:137: parse error before "uint16_t"
/usr/include/cygwin/types.h:141: parse error before "uint32_t"
/usr/include/cygwin/types.h:145: parse error before "uint64_t"
/usr/include/cygwin/types.h:154: parse error before "u_int16_t"
/usr/include/cygwin/types.h:158: parse error before "u_int32_t"
/usr/include/cygwin/types.h:162: parse error before "u_int64_t"
/usr/include/cygwin/types.h:177: parse error before "register_t"
In file included from /usr/include/netinet/in.h:14,
from /usr/include/arpa/inet.h:14,
from admin.c:12:
/usr/include/cygwin/in.h:40: parse error before "in_port_t"
/usr/include/cygwin/in.h:81: parse error before "in_addr_t"
In file included from admin.c:12:
/usr/include/arpa/inet.h:22: parse error before "inet_addr"
/usr/include/arpa/inet.h:24: parse error before "inet_lnaof"
/usr/include/arpa/inet.h:26: parse error before "inet_netof"
/usr/include/arpa/inet.h:27: parse error before "inet_network"
In file included from admin.c:21:
game.h:360:3: warning: no newline at end of file
admin.c:95:2: warning: no newline at end of file
make: *** [admin.o] Error 1
Anyhow, I'm developing a program in C as a TCP-type server for a client =
system being made in Windows. They've talked fine, but I recently had =
trouble using GDB. Well, seeing as my copy of Cygwin was old, I =
decided, "Hey, I'll get the latest and greatest!"
Unfortunately, I'm getting errors out the wazoo now. The code worked =
fine, prior to being used on this Cygwin and nothign has been altered. =
It immediately has problems in 'types.h,' (under the include/cygwin =
directory) and finds parse errors prior to line 120 before, "int16_t." =
Well, not only is this a problem, but in.h (also under the same =
directory) does the same with in_port_t prior to line 40, and then again =
with inet.h...
Did something pretty big change that would cause this to no longer =
compile? I get a few warnings (actually in my source files now) that =
say, "warning: no newline at end of file," also something which I had =
never seen before.
Any help is greatly appreciated!
--Terin
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
- Raw text -