delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/07/11/23:21:27

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-ID: <001501c34824$cc1ea9d0$8901a8c0@nataku>
Reply-To: "Taylor Jeude" <Terin AT yaysoft DOT com>
From: "Taylor Jeude" <Terin AT yaysoft DOT com>
To: "Cygwin" <cygwin AT cygwin DOT com>
Subject: Problems with GCC
Date: Fri, 11 Jul 2003 22:22:11 -0500
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2727.1300
X-AntiAbuse: This header was added to track abuse, please include it with any abuse report
X-AntiAbuse: Primary Hostname - demeter.hmdns.net
X-AntiAbuse: Original Domain - cygwin.com
X-AntiAbuse: Originator/Caller UID/GID - [0 0] / [47 12]
X-AntiAbuse: Sender Address Domain - yaysoft.com

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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019