[OpenAFS-devel] strlen() undefined?

Derek Atkins warlord@MIT.EDU
Tue, 17 May 2005 18:45:12 -0400


Quoting Jim Rees <rees@umich.edu>:

> I've been trying to build OpenAFS for linux 2.6.12 and almost have it
> working, but now I'm getting strlen() undefined from xdr.o.  It's not really
> referenced from anywhere else so I assume it's supposed to be inlined.  Why
> is it getting inlined everywhere else but not in xdr.o?
> 
> So I guess there's no strlen() in the linux kernel?

It exists.  I believe it's static inline on most platforms.  See asm/string.h

-derek

-- 
       Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
       Member, MIT Student Information Processing Board  (SIPB)
       URL: http://web.mit.edu/warlord/    PP-ASEL-IA     N1NWH
       warlord@MIT.EDU                        PGP key available