Kernel Compile Error

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

 



Hi All,

I have just extracted kernel sources.

Doing "make menuconfig" gives me error  .

Please have a look .  Why this error is occuring and how I can resolve this?


Error Details

[root@localhost linux-2.6.27.i686]# make menuconfig
  HOSTCC  scripts/basic/fixdep
In file included from scripts/basic/fixdep.c:112:
/usr/include/string.h:32:22: error: iostream: No such file or directory
In file included from scripts/basic/fixdep.c:112:
/usr/include/string.h:45: error: expected '=', ',', ';', 'asm' or
'__attribute__' before 'DwStringRep'
/usr/include/string.h:92: error: expected '=', ',', ';', 'asm' or
'__attribute__' before 'DwString'
/usr/include/string.h:536: error: expected '=', ',', ';', 'asm' or
'__attribute__' before 'operator'
/usr/include/string.h:537: error: expected '=', ',', ';', 'asm' or
'__attribute__' before 'operator'
/usr/include/string.h:538: error: expected '=', ',', ';', 'asm' or
'__attribute__' before 'operator'
/usr/include/string.h:539: error: expected '=', ',', ';', 'asm' or
'__attribute__' before 'operator'
/usr/include/string.h:540: error: expected '=', ',', ';', 'asm' or
'__attribute__' before 'operator'
/usr/include/string.h:542: error: expected '=', ',', ';', 'asm' or
'__attribute__' before '==' token
/usr/include/string.h:543: error: expected '=', ',', ';', 'asm' or
'__attribute__' before '==' token
/usr/include/string.h:544: error: expected '=', ',', ';', 'asm' or
'__attribute__' before '==' token
/usr/include/string.h:546: error: expected '=', ',', ';', 'asm' or
'__attribute__' before '!=' token
/usr/include/string.h:547: error: expected '=', ',', ';', 'asm' or
'__attribute__' before '!=' token
/usr/include/string.h:548: error: expected '=', ',', ';', 'asm' or
'__attribute__' before '!=' token
/usr/include/string.h:550: error: expected '=', ',', ';', 'asm' or
'__attribute__' before '<' token
/usr/include/string.h:551: error: expected '=', ',', ';', 'asm' or
'__attribute__' before '<' token
/usr/include/string.h:552: error: expected '=', ',', ';', 'asm' or
'__attribute__' before '<' token
/usr/include/string.h:554: error: expected '=', ',', ';', 'asm' or
'__attribute__' before '>' token
/usr/include/string.h:555: error: expected '=', ',', ';', 'asm' or
'__attribute__' before '>' token
/usr/include/string.h:556: error: expected '=', ',', ';', 'asm' or
'__attribute__' before '>' token
/usr/include/string.h:558: error: expected '=', ',', ';', 'asm' or
'__attribute__' before '<=' token
/usr/include/string.h:559: error: expected '=', ',', ';', 'asm' or
'__attribute__' before '<=' token
/usr/include/string.h:560: error: expected '=', ',', ';', 'asm' or
'__attribute__' before '<=' token
/usr/include/string.h:562: error: expected '=', ',', ';', 'asm' or
'__attribute__' before '>=' token
/usr/include/string.h:563: error: expected '=', ',', ';', 'asm' or
'__attribute__' before '>=' token
/usr/include/string.h:564: error: expected '=', ',', ';', 'asm' or
'__attribute__' before '>=' token
/usr/include/string.h:566: error: expected '=', ',', ';', 'asm' or
'__attribute__' before ':' token
/usr/include/string.h:569: error: expected '=', ',', ';', 'asm' or
'__attribute__' before ':' token
/usr/include/string.h:570: error: expected '=', ',', ';', 'asm' or
'__attribute__' before ':' token
/usr/include/string.h:572: error: expected ';', ',' or ')' before '&'
token
/usr/include/string.h:573: error: expected ';', ',' or ')' before '&'
token
/usr/include/string.h:574: error: expected ';', ',' or ')' before '&'
token
/usr/include/string.h:576: error: expected ';', ',' or ')' before '&'
token
/usr/include/string.h:578: error: expected ';', ',' or ')' before '&'
token
/usr/include/string.h:579: error: expected ';', ',' or ')' before '&'
token
/usr/include/string.h:581: error: expected ';', ',' or ')' before '&'
token
/usr/include/string.h:582: error: expected ';', ',' or ')' before '&' token
/usr/include/string.h:583: error: expected ';', ',' or ')' before '&' token
/usr/include/string.h:585: error: expected ';', ',' or ')' before '&' token
/usr/include/string.h:586: error: expected ';', ',' or ')' before '&' token
/usr/include/string.h:587: error: expected ';', ',' or ')' before '&' token
/usr/include/string.h:589: error: expected ')' before '&' token
/usr/include/string.h:590: error: expected ')' before '&' token
/usr/include/string.h:591: error: expected ';', ',' or ')' before '&' token
/usr/include/string.h:593: error: expected ')' before '&' token
/usr/include/string.h:594: error: expected ')' before '&' token
/usr/include/string.h:595: error: expected ';', ',' or ')' before '&' token
/usr/include/string.h:597: error: expected ';', ',' or ')' before '&' token
scripts/basic/fixdep.c: In function 'is_defined_config':
scripts/basic/fixdep.c:174: warning: implicit declaration of function 'memcmp'
scripts/basic/fixdep.c: In function 'define_config':
scripts/basic/fixdep.c:187: warning: implicit declaration of function 'memcpy'
scripts/basic/fixdep.c:187: warning: incompatible implicit declaration
of built-in function 'memcpy'
scripts/basic/fixdep.c: In function 'use_config':
scripts/basic/fixdep.c:214: warning: incompatible implicit declaration
of built-in function 'memcpy'
scripts/basic/fixdep.c: In function 'strrcmp':
scripts/basic/fixdep.c:261: warning: implicit declaration of function 'strlen'
scripts/basic/fixdep.c:261: warning: incompatible implicit declaration
of built-in function 'strlen'
scripts/basic/fixdep.c: In function 'parse_dep_file':
scripts/basic/fixdep.c:308: warning: implicit declaration of function 'strchr'
scripts/basic/fixdep.c:308: warning: incompatible implicit declaration
of built-in function 'strchr'
scripts/basic/fixdep.c:313: warning: incompatible implicit declaration
of built-in function 'memcpy'
make[1]: *** [scripts/basic/fixdep] Error 1
make: *** [scripts_basic] Error 2
[root@localhost linux-2.6.27.i686]# grep -i iostream
[root@localhost linux-2.6.27.i686]# make menuconfig
  HOSTCC  scripts/basic/fixdep
In file included from scripts/basic/fixdep.c:112:
/usr/include/string.h:32:22: error: iostream: No such file or directory
In file included from scripts/basic/fixdep.c:112:
/usr/include/string.h:45: error: expected '=', ',', ';', 'asm' or
'__attribute__' before 'DwStringRep'
/usr/include/string.h:92: error: expected '=', ',', ';', 'asm' or
'__attribute__' before 'DwString'
/usr/include/string.h:536: error: expected '=', ',', ';', 'asm' or
'__attribute__' before 'operator'
/usr/include/string.h:537: error: expected '=', ',', ';', 'asm' or
'__attribute__' before 'operator'
/usr/include/string.h:538: error: expected '=', ',', ';', 'asm' or
'__attribute__' before 'operator'
/usr/include/string.h:539: error: expected '=', ',', ';', 'asm' or
'__attribute__' before 'operator'
/usr/include/string.h:540: error: expected '=', ',', ';', 'asm' or
'__attribute__' before 'operator'
/usr/include/string.h:542: error: expected '=', ',', ';', 'asm' or
'__attribute__' before '==' token
/usr/include/string.h:543: error: expected '=', ',', ';', 'asm' or
'__attribute__' before '==' token
/usr/include/string.h:544: error: expected '=', ',', ';', 'asm' or
'__attribute__' before '==' token
/usr/include/string.h:546: error: expected '=', ',', ';', 'asm' or
'__attribute__' before '!=' token
/usr/include/string.h:547: error: expected '=', ',', ';', 'asm' or
'__attribute__' before '!=' token
/usr/include/string.h:548: error: expected '=', ',', ';', 'asm' or
'__attribute__' before '!=' token
/usr/include/string.h:550: error: expected '=', ',', ';', 'asm' or
'__attribute__' before '<' token
/usr/include/string.h:551: error: expected '=', ',', ';', 'asm' or
'__attribute__' before '<' token
/usr/include/string.h:552: error: expected '=', ',', ';', 'asm' or
'__attribute__' before '<' token
/usr/include/string.h:554: error: expected '=', ',', ';', 'asm' or
'__attribute__' before '>' token
/usr/include/string.h:555: error: expected '=', ',', ';', 'asm' or
'__attribute__' before '>' token
/usr/include/string.h:556: error: expected '=', ',', ';', 'asm' or
'__attribute__' before '>' token
/usr/include/string.h:558: error: expected '=', ',', ';', 'asm' or
'__attribute__' before '<=' token
/usr/include/string.h:559: error: expected '=', ',', ';', 'asm' or
'__attribute__' before '<=' token
/usr/include/string.h:560: error: expected '=', ',', ';', 'asm' or
'__attribute__' before '<=' token
/usr/include/string.h:562: error: expected '=', ',', ';', 'asm' or
'__attribute__' before '>=' token
/usr/include/string.h:563: error: expected '=', ',', ';', 'asm' or
'__attribute__' before '>=' token
/usr/include/string.h:564: error: expected '=', ',', ';', 'asm' or
'__attribute__' before '>=' token
/usr/include/string.h:566: error: expected '=', ',', ';', 'asm' or
'__attribute__' before ':' token
/usr/include/string.h:569: error: expected '=', ',', ';', 'asm' or
'__attribute__' before ':' token
/usr/include/string.h:570: error: expected '=', ',', ';', 'asm' or
'__attribute__' before ':' token
/usr/include/string.h:572: error: expected ';', ',' or ')' before '&'
token
/usr/include/string.h:573: error: expected ';', ',' or ')' before '&'
token
/usr/include/string.h:574: error: expected ';', ',' or ')' before '&'
token
/usr/include/string.h:576: error: expected ';', ',' or ')' before '&'
token
/usr/include/string.h:578: error: expected ';', ',' or ')' before '&'
token
/usr/include/string.h:579: error: expected ';', ',' or ')' before '&'
token
/usr/include/string.h:581: error: expected ';', ',' or ')' before '&'
token
/usr/include/string.h:582: error: expected ';', ',' or ')' before '&' token
/usr/include/string.h:583: error: expected ';', ',' or ')' before '&' token
/usr/include/string.h:585: error: expected ';', ',' or ')' before '&' token
/usr/include/string.h:586: error: expected ';', ',' or ')' before '&' token
/usr/include/string.h:587: error: expected ';', ',' or ')' before '&' token
/usr/include/string.h:589: error: expected ')' before '&' token
/usr/include/string.h:590: error: expected ')' before '&' token
/usr/include/string.h:591: error: expected ';', ',' or ')' before '&' token
/usr/include/string.h:593: error: expected ')' before '&' token
/usr/include/string.h:594: error: expected ')' before '&' token
/usr/include/string.h:595: error: expected ';', ',' or ')' before '&' token
/usr/include/string.h:597: error: expected ';', ',' or ')' before '&' token
scripts/basic/fixdep.c: In function 'is_defined_config':
scripts/basic/fixdep.c:174: warning: implicit declaration of function 'memcmp'
scripts/basic/fixdep.c: In function 'define_config':
scripts/basic/fixdep.c:187: warning: implicit declaration of function 'memcpy'
scripts/basic/fixdep.c:187: warning: incompatible implicit declaration
of built-in function 'memcpy'
scripts/basic/fixdep.c: In function 'use_config':
scripts/basic/fixdep.c:214: warning: incompatible implicit declaration
of built-in function 'memcpy'
scripts/basic/fixdep.c: In function 'strrcmp':
scripts/basic/fixdep.c:261: warning: implicit declaration of function 'strlen'
scripts/basic/fixdep.c:261: warning: incompatible implicit declaration
of built-in function 'strlen'
scripts/basic/fixdep.c: In function 'parse_dep_file':
scripts/basic/fixdep.c:308: warning: implicit declaration of function 'strchr'
scripts/basic/fixdep.c:308: warning: incompatible implicit declaration
of built-in function 'strchr'
scripts/basic/fixdep.c:313: warning: incompatible implicit declaration
of built-in function 'memcpy'
make[1]: *** [scripts/basic/fixdep] Error 1
make: *** [scripts_basic] Error 2
[root@localhost linux-2.6.27.i686]# grep -i iostream

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux