[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: libc5_5.4.20-1 and _ctype



>>>>> "Maarten" == Maarten Boekhold <M.Boekhold@ET.TUDelft.NL> writes:

 Maarten> Hi, Don't know if this is a bug on my part or a package bug:

 Maarten> #include <ctype.h> gave me some strange results. I looked in
 Maarten> the file, and at the start it said: #include_next <ctype.h>

 Maarten> I don't know about this preprocessor-directive, and
 Maarten> apparantly so doesn't cpp. I changed this into:

 Maarten> #include <linux/ctype.h>

 Maarten> This *seemed* to work, but on linking I get errors saying
 Maarten> that _ctype and _ctmp are undefined.

 Maarten> In <linux/ctype.h> these are declared as:

 Maarten> extern unsigned char _ctype[]; extern char _ctmp;

 Maarten> Anybody knows what I'm doing wrong? This is really annoying,
 Maarten> I just can't get programs to compile anymore!

I got this after I installed the 5.4.22 tarball from tsx-11.mit.edu.
Reinstalling 5.4.20-1 fixed the problem.

Jim

-- 
@James LewisMoss                 | moss@cs.sc.edu | Blessed Be!
@    http://www.cs.sc.edu/~moss  | dres@scsn.net  | Linux is cool!
@"Argue for your limitations and sure enough, they're yours." Bach


Reply to: