#56 Compiling 8139too.c fail !!

closed-wont-fix
None
5
2001-10-26
2001-08-31
Anonymous
No

Compiling 8139too.c fail !!

tar -vxzf 8139too-0.9.18.tar.gz
cd 8139too-0.9.18
make

gcc -O2 -fomit-frame-pointer -D__KERNEL__ -
I/spare/cvs/linux_2_3/include -DCPU=586 -march=i586 -
Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-
strict-aliasing -pipe -DMODULE -c 8139too.c
8139too.c:154: linux/mii.h: No such file or directory
8139too.c: In function `mdio_read':
8139too.c:1195: warning: unused variable `i'
8139too.c:1193: warning: unused variable `mii_cmd'
8139too.c:1192: warning: unused variable `mdio_addr'
8139too.c: In function `mdio_write':
8139too.c:1238: warning: unused variable `i'
8139too.c:1237: warning: unused variable `mii_cmd'
8139too.c:1236: warning: unused variable `mdio_addr'
8139too.c: In function `netdev_ioctl':
8139too.c:2214: dereferencing pointer to incomplete
type
8139too.c:2215: dereferencing pointer to incomplete
type
8139too.c:2221: `SIOCGMIIPHY' undeclared (first use in
this function)
8139too.c:2221: (Each undeclared identifier is
reported only once
8139too.c:2221: for each function it appears in.)
8139too.c:2223: dereferencing pointer to incomplete
type
8139too.c:2226: `SIOCGMIIREG' undeclared (first use in
this function)
8139too.c:2228: dereferencing pointer to incomplete
type
8139too.c:2228: dereferencing pointer to incomplete
type
8139too.c:2228: dereferencing pointer to incomplete
type
8139too.c:2231: `SIOCSMIIREG' undeclared (first use in
this function)
8139too.c:2238: dereferencing pointer to incomplete
type
8139too.c:2239: dereferencing pointer to incomplete
type
8139too.c:2240: dereferencing pointer to incomplete
type
8139too.c:2243: warning: unreachable code at beginning
of switch statement
8139too.c:2250: dereferencing pointer to incomplete
type
8139too.c:2250: dereferencing pointer to incomplete
type
8139too.c:2250: dereferencing pointer to incomplete
type
8139too.c: At top level:
8139too.c:1173: warning: `mdio_sync' defined but not
used
make: *** [8139too.o] Error 1

Discussion

  • Jeff Garzik

    Jeff Garzik - 2001-09-22
    • assigned_to: nobody --> jgarzik
     
  • Jeff Garzik

    Jeff Garzik - 2001-10-26
    • status: open --> closed-wont-fix
     
  • Jeff Garzik

    Jeff Garzik - 2001-10-26

    Logged In: YES
    user_id=17443

    Update your 2.4 kernel to a more recent version.

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks