qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] Can you commit the pcnet patch ?


From: Paul Brook
Subject: Re: [Qemu-devel] Can you commit the pcnet patch ?
Date: Wed, 20 Jul 2005 16:29:59 +0100
User-agent: KMail/1.7.2

> I get the following error:
> In file included from C:/dev/msys/1.0/home/xian/qemu-0.7.0/hw/pcnet.c:64:
> C:/dev/msys/1.0/home/xian/qemu-0.7.0/hw/pcnet.h: In function `padr_match':
> C:/dev/msys/1.0/home/xian/qemu-0.7.0/hw/pcnet.h:531: error:
> dereferencing pointer to incomplete type
>...
>     struct ether_header *hdr = (void *)buf;
>     uint8_t padr[6] = {
>         s->csr[12] & 0xff, s->csr[12] >> 8,
>         s->csr[13] & 0xff, s->csr[13] >> 8,
>         s->csr[14] & 0xff, s->csr[14] >> 8
>     };
> int result = (!CSR_DRCVPA(s)) && !memcmp(hdr->ether_dhost, padr, 6);

Probably win32 doesn't have a definition for "struct ether_header".

Paul




reply via email to

[Prev in Thread] Current Thread [Next in Thread]