unresoved symbol __ffs

Nicolas Pitre nico at cam.org
Mon Jul 5 21:09:59 EDT 2004


On Sun, 4 Jul 2004, dkey wrote:

> On Friday 02 July 2004 05:32, Nicolas Pitre wrote:
> > On Thu, 1 Jul 2004, Robert Lippmann wrote:
> > > hi all,
> > >
> > > haven't seen this covered before, but when i try to use recent snapshots
> > > (late june-ish), i get this unresolved symbol when building a 2.4.26
> > > kernel using linux-mips.  i assume it's because the compiler
> > > sets --disable-builtins when compiling.  it occurs in cfi_cmdset_0001.c
> > > oddly, the file compiles without warnings.  oh, and i'm using gcc 3.3.2
> >
> > __ffs should be defined in linux/asm/bitops.h.  It is defined for MIPS as
> > follows in 2.6.7:
> >
> 
> but in 2.4.x kernels, it is defined as ffs (without leading underscores), so 

Did you read my previous mail?

	ffs() != __ffs()


Nicolas





More information about the linux-mtd mailing list