undefined reference to `__ffs'

Brian T btuch at usa.net
Fri Aug 27 10:28:38 EDT 2004


Hi,

With kernel 2.4.27 and the snapshot patch from 8/26 (yesterday) I am getting
the following error :

make[1]: Leaving directory
`/usr/src/Lineo/current_build2/linux-2.4.27/arch/i386/lib'
ld -m elf_i386 -T
/usr/src/Lineo/current_build2/linux-2.4.27/arch/i386/vmlinux.lds -e stext
arch/i386/kernel/head.o arch/i386/kernel/init_task.o init/main.o
init/version.o init/do_mounts.o \
        --start-group \
        arch/i386/kernel/kernel.o arch/i386/mm/mm.o kernel/kernel.o mm/mm.o
fs/fs.o ipc/ipc.o \
         drivers/char/char.o drivers/block/block.o drivers/misc/misc.o
drivers/net/net.o drivers/pci/driver.o drivers/mtd/mtdlink.o
drivers/net/pcmcia/pcmcia_net.o drivers/media/media.o \
        net/network.o \
        /usr/src/Lineo/current_build2/linux-2.4.27/arch/i386/lib/lib.a
/usr/src/Lineo/current_build2/linux-2.4.27/lib/lib.a
/usr/src/Lineo/current_build2/linux-2.4.27/arch/i386/lib/lib.a \
        --end-group \
        -o vmlinux
drivers/mtd/mtdlink.o: In function `cfi_intelext_partition_fixup':
drivers/mtd/mtdlink.o(.text+0x76c6): undefined reference to `__ffs'
make: *** [vmlinux] Error 1


Any ideas?

-Brian







More information about the linux-mtd mailing list