Re: linux-next: Tree for October 17 (build errors/warnings)

From: Randy.Dunlap
Date: Fri Oct 17 2008 - 16:56:39 EST


On Fri, 17 Oct 2008, Stephen Rothwell wrote:

> Today's tree will not build for powerpc allyesconfig (libc aborts the
> link due to a free() problem), sparc(32) defconfig and probably some
> other configurations.

Since I don't have time to fix all of these, I'll just list a summary of
today's randconfig build errors:

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

build-r9562.out:ksysfs.c:(.text+0x21463): undefined reference to `create_proc_profile'
with CONFIG_PROC_FS=n, CONFIG_SYSFS=n

build-r9567.out:linux-next-20081017/fs/nfsctl.c:45: error: implicit declaration of function 'current_cred'

build-r9580.out:wm8400-core.c:(.text+0x5a6ab): undefined reference to `i2c_master_send'
build-r9580.out:wm8400-core.c:(.text+0x5a73e): undefined reference to `i2c_transfer'
build-r9580.out:wm8400-core.c:(.init.text+0x3443): undefined reference to `i2c_register_driver'
build-r9580.out:wm8400-core.c:(.exit.text+0x50c): undefined reference to `i2c_del_driver'
with CONFIG_I2C=m, CONFIG_MFD_WM8400=y

build-r9589.out:linux-next-20081017/net/9p/protocol.c:545: error: 'p9_debug_level' undeclared (first use in this function)
build-r9589.out:linux-next-20081017/net/9p/protocol.c:545: error: 'P9_DEBUG_PKT' undeclared (first use in this function)

build-r9599.out:linux-next-20081017/fs/coda/file.c:177: error: dereferencing pointer to incomplete type

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

and printk format warnings (omitting x86 io_apic*.c):

[on i386]
linux-next-20081017/drivers/pci/hotplug/acpiphp_ibm.c:207: warning: format '%08lx' expects type 'long unsigned int', but argument 3 has type 'long long unsigned int'

[on x86_64]
linux-next-20081017/kernel/softirq.c:218: warning: format '%d' expects type 'int', but argument 2 has type 'long int'

linux-next-20081017/drivers/gpu/drm/drm_proc.c:525: warning: format '%d' expects type 'int', but argument 3 has type 'size_t'
linux-next-20081017/drivers/gpu/drm/drm_proc.c:533: warning: format '%9d' expects type 'int', but argument 4 has type 'size_t'

linux-next-20081017/drivers/usb/misc/vstusb.c:623: warning: format '%d' expects type 'int', but argument 5 has type 'size_t'

linux-next-20081017/drivers/misc/intel_menlow.c:107: warning: format '%ld' expects type 'long int', but argument 3 has type 'long long unsigned int'

linux-next-20081017/drivers/pci/hotplug/acpiphp_ibm.c:207: warning: format '%08lx' expects type 'long unsigned int', but argument 3 has type 'long long unsigned int'


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