2.4.19-pre9 compile error

From: Mike Black (mblack@csihq.com)
Date: Wed May 29 2002 - 05:37:40 EST


gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame
-pointer -pipe -mpreferred-stack-boundary=2 -march=i686 -DMODULE -nostdinc -I /usr/local/lib/gcc-lib/i686-pc-linux-gnu/2.95.3/inclu
de -DKBUILD_BASENAME=sdla_fr -c -o sdla_fr.o sdla_fr.c
sdla_fr.c: In function `process_route':
sdla_fr.c:2819: warning: unknown conversion type character `U' in format
sdla_fr.c:2819: warning: too many arguments for format
sdla_fr.c: In function `process_ARP':
sdla_fr.c:4351: structure has no member named `ida_list'
sdla_fr.c:4351: structure has no member named `ida_list'
sdla_fr.c:4351: structure has no member named `ida_list'
sdla_fr.c:4351: structure has no member named `ida_list'
sdla_fr.c:4353: structure has no member named `ida_list'
sdla_fr.c:4353: structure has no member named `ida_list'
sdla_fr.c:4353: structure has no member named `ida_list'
sdla_fr.c:4353: structure has no member named `ida_list'
make[3]: *** [sdla_fr.o] Error 1
make[3]: Leaving directory `/usr/src/linux/drivers/net/wan'
make[2]: *** [_modsubdir_wan] Error 2

Not sure where the typos came from but here they are:

                        printk(KERN_INFO "%s: Route Added Successfully: %u.%u.%u.%U\n",
Should be printk(KERN_INFO "%s: Route Added Successfully: %u.%u.%u.%U\n",

                        printk(KERN_INFO "%s: mask %u.%u.%u.%u\n",
                                card->devname, NIPQUAD(in_dev->ida_list->ifa_mask));
                                printk(KERN_INFO "%s: local %u.%u.%u.%u\n",
                                card->devname,NIPQUAD(in_dev->ida_list->ifa_local));

Should be ifa_list -- not ida_list

Michael D. Black mblack@csihq.com
http://www.csihq.com/
http://www.csihq.com/~mike
321-676-2923, x203
Melbourne FL

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Fri May 31 2002 - 22:00:24 EST