2.5.45 net: warning + patch

2.5.45 net: warning + patch

Post by Randy.Dunla » Fri, 01 Nov 2002 08:20:07



  gcc -Wp,-MD,net/sunrpc/.clnt.o.d -D__KERNEL__ -Iinclude -Wall
-Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer
-fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2
-march=i686 -Iarch/i386/mach-generic -nostdinc -iwithprefix include  
-DKBUILD_BASENAME=clnt   -c -o net/sunrpc/clnt.o net/sunrpc/clnt.c
net/ipv4/route.c: In function `ip_rt_init':
net/ipv4/route.c:2544: warning: implicit declaration of function
`xfrm_init'

and one patch is:

--- ./include/net/xfrm.h%syntax Wed Oct 30 16:42:22 2002

 extern int km_query(struct xfrm_state *x);

 extern int ah4_init(void);
+extern void xfrm_init(void);
--- ./net/ipv4/route.c%syntax   Wed Oct 30 16:43:45 2002

 #include <net/arp.h>
 #include <net/tcp.h>
 #include <net/icmp.h>
+#include <net/xfrm.h>
 #ifdef CONFIG_SYSCTL
 #include <linux/sysctl.h>
 #endif

~Randy
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

 
 
 

1. 2.5.45 compile time warnings

Don't think I'll be playing with this kernel right off, few gremlins to run down first.

Report of gouls follows:

In file included from arch/i386/kernel/timers/timer_pit.c:15:
arch/i386/mach-generic/do_timer.h: In function `do_timer_interrupt_hook':
arch/i386/mach-generic/do_timer.h:23: warning: implicit declaration of function `x86_do_profile'
drivers/base/base.h:64: warning: `class_hotplug' defined but not used
drivers/base/base.h:64: warning: `class_hotplug' defined but not used
drivers/base/base.h:64: warning: `class_hotplug' defined but not used
drivers/base/base.h:64: warning: `class_hotplug' defined but not used
drivers/base/base.h:64: warning: `class_hotplug' defined but not used
net/ipv4/route.c: In function `ip_rt_init':
net/ipv4/route.c:2544: warning: implicit declaration of function `xfrm_init'
Root device is (3, 7)
Boot sector 512 bytes.
Setup is 4856 bytes.
System is 761 kB
drivers/char/agp/agp.h:87: warning: `global_cache_flush' defined but not used
drivers/char/agp/agp.h:87: warning: `global_cache_flush' defined but not used
drivers/message/i2o/i2o_pci.c: In function `i2o_pci_core_attach':
drivers/message/i2o/i2o_pci.c:371: warning: implicit declaration of function `i2o_sys_init'
drivers/message/i2o/i2o_block.c: In function `i2o_block_init':
drivers/message/i2o/i2o_block.c:1672: warning: implicit declaration of function `BLK_DEFAULT_QUEUE'
drivers/message/i2o/i2o_block.c:1672: warning: passing arg 1 of `blk_cleanup_queue_R06279b1c' makes pointer from integer without a cast
drivers/message/i2o/i2o_lan.c:28: #error Please convert me to Documentation/DMA-mapping.txt
drivers/message/i2o/i2o_lan.c:119: parse error before `struct'
drivers/message/i2o/i2o_lan.c: In function `i2o_lan_receive_post_reply':
drivers/message/i2o/i2o_lan.c:385: `run_i2o_post_buckets_task' undeclared (first use in this function)
drivers/message/i2o/i2o_lan.c:385: (Each undeclared identifier is reported only once
drivers/message/i2o/i2o_lan.c:385: for each function it appears in.)
drivers/message/i2o/i2o_lan.c: In function `i2o_lan_register_device':
drivers/message/i2o/i2o_lan.c:1406: structure has no member named `list'
drivers/message/i2o/i2o_lan.c:1406: structure has no member named `list'
drivers/message/i2o/i2o_lan.c:1406: structure has no member named `list'
drivers/message/i2o/i2o_lan.c:1406: structure has no member named `list'
drivers/message/i2o/i2o_lan.c:1407: structure has no member named `sync'
make[4]: *** [drivers/message/i2o/i2o_lan.o] Error 1
make[3]: *** [drivers/message/i2o] Error 2
make[2]: *** [drivers/message] Error 2
make[1]: *** [drivers] Error 2
make: *** [modules] Error 2

Cheers,
   Dave

PS: The lkcd guys could resort to the brew bribe method no???

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

2. Emacs in X

3. 2.5.45 drivers/net/irda/irda-usb.c Compile Fix

4. binhqx for unix (Solaris)?

5. include/net/dst.h and linux 2.5.45

6. Uninterruptible Power Source FAQ

7. 2.5.45 : net/ipv4/ipconfig.c

8. Ultrastar 18XP's in a 7133-600?

9. Patch: 2.5.45 PCI Fixups for PCI HotPlug

10. Patch(2.5.45): Eliminate unchecked kfree(disk->random)

11. 2.5.45 Patch to fix ipt_TCPMSS compile error

12. 2.5.45 cpqphp driver patch w/ intcphp driver enhancements

13. Pseudo-patch/RFC move io_restrictions to blkdev.h in 2.5.45