[QUOTE]Originally posted by KMcD
[B]There's something missing then from the config. Run make it's own and post any error here.
When I run "make"
--------------------------------------------------------------------------------------------
root@darkstar:/usr/src/linux# make
gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -o scripts/mkdep scripts/mkdep.c
scripts/mkdep.c:33:19: ctype.h: No such file or directory
scripts/mkdep.c:34:19: fcntl.h: No such file or directory
In file included from /usr/lib/gcc-lib/i486-slackware-linux/3.3.6/include/syslimits.h:7,
from /usr/lib/gcc-lib/i486-slackware-linux/3.3.6/include/limits.h:11,
from scripts/mkdep.c:35:
/usr/lib/gcc-lib/i486-slackware-linux/3.3.6/include/limits.h:122:75: limits.h: No such file or directory
scripts/mkdep.c:36:19: stdio.h: No such file or directory
scripts/mkdep.c:37:20: stdlib.h: No such file or directory
scripts/mkdep.c:38:20: string.h: No such file or directory
scripts/mkdep.c:39:20: unistd.h: No such file or directory
scripts/mkdep.c:41:23: sys/fcntl.h: No such file or directory
scripts/mkdep.c:42:22: sys/mman.h: No such file or directory
scripts/mkdep.c:43:22: sys/stat.h: No such file or directory
scripts/mkdep.c:44:23: sys/types.h: No such file or directory
scripts/mkdep.c:69: error: `NULL' undeclared here (not in a function)
scripts/mkdep.c: In function `do_depname':
scripts/mkdep.c:78: warning: implicit declaration of function `printf'
scripts/mkdep.c: In function `grow_config':
scripts/mkdep.c:93: warning: implicit declaration of function `realloc'
scripts/mkdep.c:93: warning: assignment makes pointer from integer without a cast
scripts/mkdep.c:94: error: `NULL' undeclared (first use in this function)
scripts/mkdep.c:94: error: (Each undeclared identifier is reported only once
scripts/mkdep.c:94: error: for each function it appears in.)
scripts/mkdep.c:95: warning: implicit declaration of function `perror'
scripts/mkdep.c:95: warning: implicit declaration of function `exit'
scripts/mkdep.c: In function `is_defined_config':
scripts/mkdep.c:111: warning: implicit declaration of function `memcmp'
scripts/mkdep.c: In function `define_config':
scripts/mkdep.c:126: warning: implicit declaration of function `memcpy'
scripts/mkdep.c: At top level:
scripts/mkdep.c:148: error: `NULL' undeclared here (not in a function)
scripts/mkdep.c: In function `grow_precious':
scripts/mkdep.c:163: warning: assignment makes pointer from integer without a cast
scripts/mkdep.c:164: error: `NULL' undeclared (first use in this function)
scripts/mkdep.c: In function `define_precious':
scripts/mkdep.c:176: warning: implicit declaration of function `strlen'
scripts/mkdep.c: In function `handle_include':
scripts/mkdep.c:204: warning: implicit declaration of function `access'
scripts/mkdep.c:204: error: `F_OK' undeclared (first use in this function)
scripts/mkdep.c: In function `add_path':
scripts/mkdep.c:221: error: `PATH_MAX' undeclared (first use in this function)
scripts/mkdep.c:224: warning: implicit declaration of function `strcmp'
scripts/mkdep.c:225: warning: implicit declaration of function `realpath'
scripts/mkdep.c:225: warning: assignment makes pointer from integer without a cast
scripts/mkdep.c:227: warning: implicit declaration of function `fprintf'
scripts/mkdep.c:227: error: `stderr' undeclared (first use in this function)
scripts/mkdep.c:235: warning: assignment makes pointer from integer without a cast
scripts/mkdep.c:243: warning: implicit declaration of function `malloc'
scripts/mkdep.c:243: warning: assignment makes pointer from integer without a cast
scripts/mkdep.c:248: warning: implicit declaration of function `strcpy'
scripts/mkdep.c:221: warning: unused variable `resolved_path'
scripts/mkdep.c: In function `use_config':
scripts/mkdep.c:271: warning: implicit declaration of function `isupper'
scripts/mkdep.c:271: warning: implicit declaration of function `tolower'
scripts/mkdep.c: In function `state_machine':
scripts/mkdep.c:493: warning: implicit declaration of function `isalnum'
scripts/mkdep.c: In function `do_depend':
scripts/mkdep.c:526: warning: implicit declaration of function `getpagesize'
scripts/mkdep.c:528: error: storage size of `st' isn't known
scripts/mkdep.c:531: warning: implicit declaration of function `open'
scripts/mkdep.c:531: error: `O_RDONLY' undeclared (first use in this function)
scripts/mkdep.c:537: warning: implicit declaration of function `fstat'
scripts/mkdep.c:539: error: `stderr' undeclared (first use in this function)
scripts/mkdep.c:540: warning: implicit declaration of function `close'
scripts/mkdep.c:546: warning: implicit declaration of function `mmap'
scripts/mkdep.c:546: error: `NULL' undeclared (first use in this function)
scripts/mkdep.c:546: error: `PROT_READ' undeclared (first use in this function)
scripts/mkdep.c:546: error: `MAP_PRIVATE' undeclared (first use in this function)
scripts/mkdep.c:546: warning: assignment makes pointer from integer without a cast
scripts/mkdep.c:562: warning: implicit declaration of function `puts'
scripts/mkdep.c:567: warning: implicit declaration of function `munmap'
scripts/mkdep.c:528: warning: unused variable `st'
scripts/mkdep.c: In function `main':
scripts/mkdep.c:581: warning: implicit declaration of function `getenv'
scripts/mkdep.c:581: warning: assignment makes pointer from integer without a cast
scripts/mkdep.c:583: warning: implicit declaration of function `fputs'
scripts/mkdep.c:584: error: `stderr' undeclared (first use in this function)
scripts/mkdep.c:591: warning: implicit declaration of function `strncmp'
make: *** [scripts/mkdep] Error 1
------------------------------------------------------------------------------------
Last edited by Sushy; 10-20-2005 at 07:50 AM.
|