undefined reference to `__ffs'

Josh Boyer jdub at us.ibm.com
Mon Aug 30 14:35:30 EDT 2004


On Mon, 2004-08-30 at 13:20, Brian T wrote:
> Not sure how to fix it for non-x86 then.  Point me in the right direction?

Welcome to the hell that is compatmac.h ;).

Seriously though, maybe take a look at generic_ffs() in
include/linux/bitops.h (in the 2.6 kernel).  It's not optimized, but it
should work for all architectures if I am reading things right.

josh





More information about the linux-mtd mailing list