This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
Re: Pb with ioctl()
- To: cygwin at sourceware dot cygnus dot com
- Subject: Re: Pb with ioctl()
- From: Chris Faylor <cgf at cygnus dot com>
- Date: Fri, 16 Jun 2000 11:30:20 -0400
- References: <3949E975.90737477@performanse.fr>
- Reply-To: cygwin at sourceware dot cygnus dot com
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