In article <[EMAIL PROTECTED]>,
David Wolfskill  <[EMAIL PROTECTED]> wrote:
> >From: Poul-Henning Kamp <[EMAIL PROTECTED]>
> >Date: Sun, 29 Apr 2001 19:10:36 +0200
> > /usr/obj/flat/src/sys/boot/i386/loader/../../ficl/libficl.a 
> >i386/loader/../../../../lib/libstand/libstand.a
> >/usr/obj/flat/src/sys/boot/i386/loader/../../ficl/libficl.a(words.o): In function 
> >words.o(.text+0x1ae): undefined reference to `isalnum'
> >*** Error code 1
> >1 error
> >*** Error code 2
> >1 error
> The only reference to isalnum() I see is in boot/ficl/words.c:274, and
> appears to replace a couple of references, one to isdigit() and the
> other to isalpha().
> Perhaps something was omitted in the upgrade to ficl 2.05?

It's because words.c uses <stand.h> instead of <ctype.h>, and
<stand.h> is missing the #define for isalnum().  I imagine adding
something like this to <stand.h> would fix it:

#define isalnum(c)      (isalpha(c) || isdigit(c))

  John Polstra                                               [EMAIL PROTECTED]
  John D. Polstra & Co., Inc.                        Seattle, Washington USA
  "Disappointment is a good sign of basic intelligence."  -- Chögyam Trungpa

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to