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

Re: I can't build kernel; cpp 2.7.2.1-5, gcc 2.7.2.1-5, libc 5.4.20-1, kernel-source-2.0.27-2



Manoj Srivastava <srivasta@datasync.com> writes:

> 	Pardon what maybe a silly question, but do you have libc5-dev
>  and ncurses-dev installed? 
> 
> 	manoj

 Sure. 

$ dpkg -s ncurses3.0-dev
Package: ncurses3.0-dev
Status: install ok installed
[skip]
$ dpkg -s libc5-dev
Package: libc5-dev
Status: install ok installed
[skip]

 The trouble was in /usr/include/ctype.h, when I said
#include <linux/ctype.h>, gcc compiles O.k., but ld
still does complain about _ctype.

Here is /usr/include/ctype.h

$ cat /usr/include/ctype.h 
#include_next <ctype.h>

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

 Well, I'm going to install libc5-5.23 tonight, I hope,
this stupid trouble will gone.

-- 
 Alexey V. Naidyonov   | mailto:Growler@OCNIT.TSU.Tula.Ru
 Tula State University | http://www.ocnit.tsu.tula.ru/~growler/


Reply to: