Re: [tlan] 2.1.110 compiling error

bryan sebastian kiechle (crain@goober.wireless.ucsc.edu)
Wed, 22 Jul 1998 12:16:59 -0700 (PDT)


if you remove the FREE_WRITE from any referance to dev_kfree_skb in the
tlan.c file this problem goes away, most of the time. As in:

if ( ! priv->phyOnline ) {
TLAN_DBG( TLAN_DEBUG_TX, "TLAN TRANSMIT: %s PHY is not ready\n$
dev_kfree_skb( skb, FREE_WRITE );
return 0; ^^^^^^^^^^^^

As told to me by brian@goober.wireless.ucsc.edu

On Wed, 22 Jul 1998, Xintian Wu wrote:

>
> gcc -D__KERNEL__ -I/usr/src/linux-2.1.110/include -Wall -Wstrict-prototypes -O2
> -fomit-frame-pointer -D__SMP__ -pipe -fno-strength-reduce -m486 -malign-loops=2
> -malign-jumps=2 -malign-functions=2 -DCPU=586 -c -o tlan.o tlan.c
> In file included from tlan.c:35:
> /usr/src/linux-2.1.110/include/linux/bios32.h:11: warning: #warning This driver
> uses the old PCI interface, please fix it (see Documentation/pci.txt)
> tlan.c:782: macro `dev_kfree_skb' used with too many (2) args
> tlan.c:840: macro `dev_kfree_skb' used with too many (2) args
> tlan.c:1129: macro `dev_kfree_skb' used with too many (2) args
> tlan.c:1695: macro `dev_kfree_skb' used with too many (2) args
> tlan.c:1704: macro `dev_kfree_skb' used with too many (2) args
> tlan.c: In function `TLan_MiiSendData':
> tlan.c:2535: warning: value computed is not used
> tlan.c:2541: warning: value computed is not used
> tlan.c: At top level:
> tlan.c:55: warning: `aui' defined but not used
> tlan.c:56: warning: `sa_int' defined but not used
> tlan.c:58: warning: `duplex' defined but not used
> tlan.c:59: warning: `speed' defined but not used
> make[3]: *** [tlan.o] Error 1
> make[3]: Leaving directory `/usr/src/linux-2.1.110/drivers/net'
> make[2]: *** [first_rule] Error 2
> make[2]: Leaving directory `/usr/src/linux-2.1.110/drivers/net'
> make[1]: *** [sub_dirs] Error 2
> make[1]: Leaving directory `/usr/src/linux-2.1.110/drivers'
> make: *** [linuxsubdirs] Error 2
>
>

==================================================================
bryan sebastian kiechle
crain@goober.wireless.ucsc.edu http://www.outcast.org/~thinboy
------------------------------------------------------------------
Genetic Memories Fri. 11:00pm-1:00am KZSC Santa Cruz 88.1 FM
http://www.outcast.org/~thinboy/genmem

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.altern.org/andrebalsa/doc/lkml-faq.html