[2.3.99pre7-2] compile error in ipmr.c

From: Frank Bernard (fb@fbit.de)
Date: Wed May 03 2000 - 00:00:04 EST


make[3]: Entering directory `/usr/firewall/src/frei/kernel/linux/net/ipv4'
gcc -D__KERNEL__ -I/usr/firewall/src/frei/kernel/linux/include -Wall
-Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strict-aliasing -pipe
-march=i586 -c -o ipmr.o ipmr.c
ipmr.c: In function `ipmr_reg_vif':
ipmr.c:200: incompatible types in assignment
make[3]: *** [ipmr.o] Error 1
make[3]: Leaving directory `/usr/firewall/src/frei/kernel/linux/net/ipv4'
 
The offending line is

dev->name = (char *)dev->priv + sizeof(struct net_device_stats);

But name is defines in netdevice.h as name[FIXED_CONSTANT], so no pointer
can be assigned. No idea what to do.
 

Mit freundlichen Grüßen / kind regards

Frank Bernard

Frank Bernard Informationstechnik GmbH
vanity +49 700 FIREWALL (0700 FIREWALL) phone : +49 69 477169
Dipl.-Inform. Frank Bernard fax : +49 69 47885616
Wehrheimerstr. 9 email : fb@fbit.de
60389 Frankfurt www : http://www.fbit.de
Germany http://www.linuxwall.de

-
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.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sun May 07 2000 - 21:00:11 EST