Skip to contentSkip to conversation

2.4.19-pre9 compile error

DISCUSSION Mike Black 1 participant 1 message May 29, 2002

lore
Share & tools
lore

Mike Black

author
#0 lore raw

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 [email protected]
http://www.csihq.com/
http://www.csihq.com/~mike
321-676-2923, x203
Melbourne FL