undefined reference to `__ffs'
Brian T
btuch at usa.net
Fri Aug 27 11:35:42 EDT 2004
> drivers/mtd/mtdlink.o: In function `cfi_intelext_partition_fixup':
> drivers/mtd/mtdlink.o(.text+0x76c6): undefined reference to `__ffs'
> make: *** [vmlinux] Error 1
>
Hmmm,
Looks like _ffs is defined in :
[root at Smog include]# grep -l -r "__ffs" *
asm-ia64/topology.h
asm-ia64/bitops.h
asm-ppc64/bitops.h
but in asm-i386/bitops.h it is defined as ffs()
So, should there be a macro rule for ffs->__ffs for compiling for i386?
-Brian
More information about the linux-mtd
mailing list