This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Pb with ioctl()


On Fri, Jun 16, 2000 at 10:46:45AM +0200, Bertrand Bourdon wrote:
>I have a problem for compiling this function :
>
>Errors :
>gpublic.c: In function `get_hwaddr':
>gpublic.c:943: `SIOCGIFHWADDR' undeclared (first use in this function)
>gpublic.c:943: (Each undeclared identifier is reported only once
>gpublic.c:943: for each function it appears in.)
>gpublic.c:956: structure has no member named `ifr_hwaddr'
>gpublic.c:957: structure has no member named `ifr_hwaddr'
>gpublic.c:958: structure has no member named `ifr_hwaddr'
>gpublic.c:959: structure has no member named `ifr_hwaddr'
>gpublic.c:960: structure has no member named `ifr_hwaddr'
>gpublic.c:961: structure has no member named `ifr_hwaddr'

That would be because there is no definition for SIOCGIFHWADDR
and the structure that you are using has no member named
ifr_hwaddr.

I.e., neither thing is implemented.

cgf

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]