From owner-freebsd-questions@FreeBSD.ORG Wed Sep 7 16:50:15 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7CD4A16A41F for ; Wed, 7 Sep 2005 16:50:15 +0000 (GMT) (envelope-from alicornio@ig.com.br) Received: from smtp-33.ig.com.br (smtp-33.ig.com.br [200.226.132.33]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9B55343D45 for ; Wed, 7 Sep 2005 16:50:14 +0000 (GMT) (envelope-from alicornio@ig.com.br) Received: (qmail 14601 invoked from network); 7 Sep 2005 16:50:09 -0000 Received: from 65.131.226.200.in-addr.arpa.ig.com.br (HELO localhost.localdomain) ([200.226.131.65]) (envelope-sender ) by email-33.ig.com.br (qmail-ldap-1.03) with SMTP for ; 7 Sep 2005 16:50:09 -0000 To: freebsd-questions@freebsd.org From: alicornio Date: Wed, 7 Sep 2005 13:50:09 -0300 X-Priority: 3 (Normal) Message-ID: <20050907_165009_022627.alicornio@ig.com.br> X-Originating-IP: [10.17.1.65]200.151.6.109 X-Mailer: iGMail [www.ig.com.br] X-user: alicornio@ig.com.br Teste: asaes MIME-Version: 1.0 Content-type: multipart/mixed; boundary="Message-Boundary-by-Mail-Sender-1126111809" Subject: about ip.h X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Sep 2005 16:50:15 -0000 This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. --Message-Boundary-by-Mail-Sender-1126111809 Content-type: text/plain; charset=ISO-8859-1 Content-description: Mail message body Content-transfer-encoding: 8bit Content-disposition: inline hello all i have a problem when i try to compile a code. this is the error: in file included from packetCreate.c:5: /usr/include/netinet/ip.h:160: error: systax error before "n_long" /usr/include/netinet/ip.h:163: error: systax error before "n_long" then searching in the ip.h i change "n_long" to "u_long" and the code was compiled well. my questions are: why i need to modify this ? i search for "n_long" in types.h but i can't find it, where is "n_long"? seaching on the http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/netinet/ip.h i saw which all versions of ip.h have "n_long", then "n_long" (not u_long) is the correct form, right? sorry for my bad english :-) thanks all thiago_cabeludo --Message-Boundary-by-Mail-Sender-1126111809--