Hi all, Today's linux-next build (powerpc_allnoconfig) failed like this: lib/lib.a(vsprintf.o): In function `pointer': vsprintf.c:(.text+0x21ba): undefined reference to `byte_rev_table' vsprintf.c:(.text+0x21c2): undefined reference to `byte_rev_table' Caused by commit bc7259a2ce764ea16200eb9e53f6e136e918d065 ("lib/vsprintf.c: Add %pMF to format FDDI bit reversed MAC addresses") from the net tree. I applied the following fixup patch (and can carry it for a while): (BTW after this patch, CONFIG_BITREVERSE appears to not be used anywhere except where is is selected in Kconfig files.) From: Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx> Date: Mon, 11 Jan 2010 18:37:16 +1100 Subject: [PATCH] net: vsprintf now depends on the byte_rev_table Signed-off-by: Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx> --- lib/Makefile | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/lib/Makefile b/lib/Makefile index 4b78894..e21f9f9 100644 --- a/lib/Makefile +++ b/lib/Makefile @@ -7,7 +7,7 @@ ORIG_CFLAGS := $(KBUILD_CFLAGS) KBUILD_CFLAGS = $(subst -pg,,$(ORIG_CFLAGS)) endif -lib-y := ctype.o string.o vsprintf.o cmdline.o \ +lib-y := ctype.o string.o vsprintf.o cmdline.o bitrev.o \ rbtree.o radix-tree.o dump_stack.o \ idr.o int_sqrt.o extable.o prio_tree.o \ sha1.o irq_regs.o reciprocal_div.o argv_split.o \ @@ -50,7 +50,6 @@ ifneq ($(CONFIG_HAVE_DEC_LOCK),y) lib-y += dec_and_lock.o endif -obj-$(CONFIG_BITREVERSE) += bitrev.o obj-$(CONFIG_RATIONAL) += rational.o obj-$(CONFIG_CRC_CCITT) += crc-ccitt.o obj-$(CONFIG_CRC16) += crc16.o -- 1.6.5.7 -- Cheers, Stephen Rothwell Stephen@xxxxxxxxxxxxxx -- To unsubscribe from this list: send the line "unsubscribe linux-next" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html