Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sourceware DOT cygnus DOT com Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com From: Chris Faylor Date: Fri, 16 Jun 2000 11:30:20 -0400 To: cygwin AT sourceware DOT cygnus DOT com Subject: Re: Pb with ioctl() Message-ID: <20000616113020.E1165@cygnus.com> Reply-To: cygwin AT sourceware DOT cygnus DOT com Mail-Followup-To: cygwin AT sourceware DOT cygnus DOT com References: <3949E975 DOT 90737477 AT performanse DOT fr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i In-Reply-To: <3949E975.90737477@performanse.fr>; from bertrand.bourdon@performanse.fr on Fri, Jun 16, 2000 at 10:46:45AM +0200 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 AT sourceware DOT cygnus DOT com