On Fri, Jan 03, 2003 at 11:03:36AM -0800, John Gedeon wrote:
> >> > I get the following compile time errors: linuxcniapi.c: In
> >> > function `CNI_LINUXGetMacAddress': linuxcniapi.c:1118:
> >> > dereferencing pointer to incomplete type linuxcniapi.c:1120:
> >
> >Can we see a few lines of code around those locations in that file?
>
> lines 1107 - 1128
>
> PBINDING pBinding;
>
> if (!Binding)
> return CNI_E_BAD_BINDING;
>
> pBinding = (PBINDING) Binding;
>
> if (!ppMacAddress || !pulMacAddressSize)
> return CNI_E_BAD_PARAMETER;
>
>
> *ppMacAddress = pBinding->pDevice->dev_addr; // 1118
That suggests to me that some header file is not being properly included
at the top of linuxcniapi.c. I don't know which without knowing what
PBINDING expands to, though (it'll be a #define or a typedef for some
other type).
--
Colin Watson [cjwatson@flatline.org.uk]
--
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org