[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-tulip
Subject:    Re: Kingston 10/100 tulip card (fwd)
From:       Dirk Staneker <dirk.staneker () student ! uni-tuebingen ! de>
Date:       1997-12-13 15:10:06
[Download RAW message or body]


On Fri, 12 Dec 1997, Greg J. Siekas wrote:

[...snip...]
> 
> When compiling tulip-diag.c ......
> 
> [siekas@calvin Tulip]# cc -O -Wall -o tulip-diag tulip-diag.c -DLIBMII
> libmii.c
> tulip-diag.c: In function `main':
> tulip-diag.c:168: warning: implicit declaration of function `iopl'
> tulip-diag.c:253: `ENODEV' undeclared (first use this function)
> tulip-diag.c:253: (Each undeclared identifier is reported only once
> tulip-diag.c:253: for each function it appears in.)
> 
> [siekas@calvin Tulip]# cc -N -O -Wall -o tulip-diag tulip-diag.c
> tulip-diag.c: In function `main':
> tulip-diag.c:168: warning: implicit declaration of function `iopl'
> tulip-diag.c:253: `ENODEV' undeclared (first use this function)
> tulip-diag.c:253: (Each undeclared identifier is reported only once
> tulip-diag.c:253: for each function it appears in.)
> 

I had the same problem. ENODEV is defined in errno.h, so you should add a
#include<errno.h> in tulip-diag.c

                                                  Dirk
           **
          ****   EMail:
           **    mailto:dirk.staneker@student.uni-tuebingen.de
   **********
       ******    Homepage:
 Windows   **    http://www.jura.uni-tuebingen.de/student/dirk.staneker/
           **
# # # # # *  *   Fingerprint:
 # # # #  *  *   89 83 A0 45 18 62 76 8C  A3 64 6B E4 C8 62 FD EE
  # # #  *    *
   ###   *    * Linux!

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic