| www.delorie.com/archives/browse.cgi | search |
| Mailing-List: | contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm |
| List-Subscribe: | <mailto:cygwin-subscribe AT sources DOT redhat DOT com> |
| List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT sources DOT redhat DOT com> |
| List-Help: | <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs> |
| Sender: | cygwin-owner AT sources DOT redhat DOT com |
| Delivered-To: | mailing list cygwin AT sources DOT redhat DOT com |
| X-Internal-ID: | 3B235FA800192D74 |
| From: | "Chris Wenk" <christophe DOT wenk AT kuehne-nagel DOT com> |
| To: | <cygwin AT cygwin DOT com> |
| Subject: | Error on compilation |
| Date: | Tue, 17 Jul 2001 08:42:50 +0200 |
| Message-ID: | <POEMIHAKNHMKPMCELLMEKELECFAA.christophe.wenk@kuehne-nagel.com> |
| MIME-Version: | 1.0 |
| X-Priority: | 3 (Normal) |
| X-MSMail-Priority: | Normal |
| X-Mailer: | Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) |
| In-Reply-To: | <EA18B9FA0FE4194AA2B4CDB91F73C0EF08F126@itdomain002.itdomain.net.au> |
| X-MimeOLE: | Produced By Microsoft MimeOLE V6.00.2479.0006 |
| Importance: | Normal |
Hi there
I tried to compile several programs ported from a suse linux box.
Some compilation works but then I have also a lot of programs with
following error message:
sizeof applied to an incomplete type
dereferencing pointer to incomplete type
Does anybody know what I have to change ?
my compilation is as follow: gcc -o test.exe test.c
the errors first appears at following statement (see ==>):
unsigned char *packet;
struct iphdr *ip;
struct icmphdr *icmp;
==> packet = (unsigned char *)malloc(sizeof(struct iphdr) +
sizeof(struct
icmphdr) + 8);
Thanks for help
Chris
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |