> 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


_______________________________________________
Qemu-devel mailing list
Qemu-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/qemu-devel

Reply via email to