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

problems with 2.5-benh kernel source



hello list,

trying to compile a 2.6 kernel i encounter propreblems
yesterday i got benh tree with

rsync -avz --delete source.mvista.com::linuxppc-2.5-benh <directory- where-source-goes>

when i wanted to do make menuconfig i got following output (at the end of mail), today i downloaded source tarball from ppckernel.org and get the same output. what have i done wrong? do i maybe have to install 2.6-test9 source with dselect and rsync with bens tree?

thx float


bash-2.05b$ make O=/home/float/net/kernel_data/src-linuxppc-2.6.test11- benh/ menuconfig
 HOSTCC  scripts/fixdep
scripts/fixdep.c:97:23: sys/types.h: No such file or directory
scripts/fixdep.c:98:22: sys/stat.h: No such file or directory
scripts/fixdep.c:99:22: sys/mman.h: No such file or directory
scripts/fixdep.c:100:20: unistd.h: No such file or directory
scripts/fixdep.c:101:19: fcntl.h: No such file or directory
scripts/fixdep.c:102:20: string.h: No such file or directory
scripts/fixdep.c:103:20: stdlib.h: No such file or directory
scripts/fixdep.c:104:19: stdio.h: No such file or directory
In file included from /usr/lib/gcc-lib/powerpc-linux/3.3.3/include/ syslimits.h:7, from /usr/lib/gcc-lib/powerpc-linux/3.3.3/include/ limits.h:11,
                from scripts/fixdep.c:105:
/usr/lib/gcc-lib/powerpc-linux/3.3.3/include/limits.h:122:75: limits.h: No such file or directory
scripts/fixdep.c:106:19: ctype.h: No such file or directory
scripts/fixdep.c:107:24: netinet/in.h: No such file or directory
scripts/fixdep.c: In function `usage':
scripts/fixdep.c:121: warning: implicit declaration of function `fprintf' scripts/fixdep.c:121: error: `stderr' undeclared (first use in this function) scripts/fixdep.c:121: error: (Each undeclared identifier is reported only once
scripts/fixdep.c:121: error: for each function it appears in.)
scripts/fixdep.c:122: warning: implicit declaration of function `exit'
scripts/fixdep.c: In function `print_cmdline':
scripts/fixdep.c:127: warning: implicit declaration of function `printf'
scripts/fixdep.c: At top level:
scripts/fixdep.c:130: error: `NULL' undeclared here (not in a function)
scripts/fixdep.c: In function `grow_config':
scripts/fixdep.c:143: warning: implicit declaration of function `realloc' scripts/fixdep.c:143: warning: assignment makes pointer from integer without a cast scripts/fixdep.c:144: error: `NULL' undeclared (first use in this function) scripts/fixdep.c:145: warning: implicit declaration of function `perror'
scripts/fixdep.c: In function `is_defined_config':
scripts/fixdep.c:161: warning: implicit declaration of function `memcmp'
scripts/fixdep.c: In function `define_config':
scripts/fixdep.c:174: warning: implicit declaration of function `memcpy'
scripts/fixdep.c: In function `use_config':
scripts/fixdep.c:193: error: `PATH_MAX' undeclared (first use in this function) scripts/fixdep.c:207: warning: implicit declaration of function `tolower'
scripts/fixdep.c:193: warning: unused variable `s'
scripts/fixdep.c: At top level:
scripts/fixdep.c:212: error: syntax error before "size_t"
scripts/fixdep.c:213: warning: function declaration isn't a prototype
scripts/fixdep.c: In function `parse_config_file':
scripts/fixdep.c:214: error: `map' undeclared (first use in this function) scripts/fixdep.c:214: error: `len' undeclared (first use in this function)
scripts/fixdep.c:220: warning: implicit declaration of function `ntohl'
scripts/fixdep.c:231: warning: implicit declaration of function `isalnum'
scripts/fixdep.c: In function `strrcmp':
scripts/fixdep.c:244: warning: implicit declaration of function `strlen'
scripts/fixdep.c: In function `do_config_file':
scripts/fixdep.c:255: error: storage size of `st' isn't known
scripts/fixdep.c:259: warning: implicit declaration of function `open'
scripts/fixdep.c:259: error: `O_RDONLY' undeclared (first use in this function) scripts/fixdep.c:261: error: `stderr' undeclared (first use in this function)
scripts/fixdep.c:265: warning: implicit declaration of function `fstat'
scripts/fixdep.c:267: warning: implicit declaration of function `close'
scripts/fixdep.c:270: warning: implicit declaration of function `mmap'
scripts/fixdep.c:270: error: `NULL' undeclared (first use in this function) scripts/fixdep.c:270: error: `PROT_READ' undeclared (first use in this function)scripts/fixdep.c:270: error: `MAP_PRIVATE' undeclared (first use in this function) scripts/fixdep.c:270: warning: assignment makes pointer from integer without a cast scripts/fixdep.c:279: warning: implicit declaration of function `munmap'
scripts/fixdep.c:255: warning: unused variable `st'
scripts/fixdep.c: At top level:
scripts/fixdep.c:284: error: syntax error before "size_t"
scripts/fixdep.c:285: warning: function declaration isn't a prototype
scripts/fixdep.c: In function `parse_dep_file':
scripts/fixdep.c:286: error: `map' undeclared (first use in this function) scripts/fixdep.c:287: error: `len' undeclared (first use in this function) scripts/fixdep.c:289: error: `PATH_MAX' undeclared (first use in this function) scripts/fixdep.c:291: warning: implicit declaration of function `strchr' scripts/fixdep.c:293: error: `stderr' undeclared (first use in this function)
scripts/fixdep.c:289: warning: unused variable `s'
scripts/fixdep.c: In function `print_deps':
scripts/fixdep.c:325: error: storage size of `st' isn't known
scripts/fixdep.c:329: error: `O_RDONLY' undeclared (first use in this function) scripts/fixdep.c:331: error: `stderr' undeclared (first use in this function) scripts/fixdep.c:341: error: `NULL' undeclared (first use in this function) scripts/fixdep.c:341: error: `PROT_READ' undeclared (first use in this function)scripts/fixdep.c:341: error: `MAP_PRIVATE' undeclared (first use in this function) scripts/fixdep.c:341: warning: assignment makes pointer from integer without a cast
scripts/fixdep.c:325: warning: unused variable `st'
scripts/fixdep.c: In function `traps':
scripts/fixdep.c:360: error: `stderr' undeclared (first use in this function)
make[2]: *** [scripts/fixdep] Error 1
make[1]: *** [scripts/fixdep] Error 2
make: *** [menuconfig] Error 2

Attachment: pgps8VwIeIBoj.pgp
Description: PGP signature


Reply to: