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

Problems with missing header files



Hello everybody,

after having installed Fedora Core 2, I tried to compile a new kernel. When I type in 'gmake gconfig' I get the following output (sorry that this is in German):

HOSTCC scripts/basic/fixdep
scripts/basic/fixdep.c:97:23: sys/types.h: Datei oder Verzeichnis nicht gefunden
scripts/basic/fixdep.c:98:22: sys/stat.h: Datei oder Verzeichnis nicht gefunden
scripts/basic/fixdep.c:99:22: sys/mman.h: Datei oder Verzeichnis nicht gefunden
scripts/basic/fixdep.c:100:20: unistd.h: Datei oder Verzeichnis nicht gefunden
scripts/basic/fixdep.c:101:19: fcntl.h: Datei oder Verzeichnis nicht gefunden
scripts/basic/fixdep.c:102:20: string.h: Datei oder Verzeichnis nicht gefunden
scripts/basic/fixdep.c:103:20: stdlib.h: Datei oder Verzeichnis nicht gefunden
scripts/basic/fixdep.c:104:19: stdio.h: Datei oder Verzeichnis nicht gefunden
In Datei, eingef?gt von /usr/lib/gcc-lib/i386-redhat-linux/3.3.3/include/syslimits.h:7,
von /usr/lib/gcc-lib/i386-redhat-linux/3.3.3/include/limits.h:11,
von scripts/basic/fixdep.c:105:
/usr/lib/gcc-lib/i386-redhat-linux/3.3.3/include/limits.h:122:75: limits.h: Datei oder Verzeichnis nicht gefunden
scripts/basic/fixdep.c:106:19: ctype.h: Datei oder Verzeichnis nicht gefunden
scripts/basic/fixdep.c:107:24: netinet/in.h: Datei oder Verzeichnis nicht gefunden
scripts/basic/fixdep.c: In Funktion >>usage<<:
scripts/basic/fixdep.c:121: Warnung: implicit declaration of function `fprintf'
scripts/basic/fixdep.c:121: error: `stderr' undeclared (first use in this function)
scripts/basic/fixdep.c:121: error: (Each undeclared identifier is reported only once
scripts/basic/fixdep.c:121: error: for each function it appears in.)
scripts/basic/fixdep.c:122: Warnung: implicit declaration of function `exit'
scripts/basic/fixdep.c: In Funktion >>print_cmdline<<:
scripts/basic/fixdep.c:127: Warnung: implicit declaration of function `printf'
scripts/basic/fixdep.c: Auf h?chster Ebene:
scripts/basic/fixdep.c:130: error: `NULL' undeclared here (not in a function)
scripts/basic/fixdep.c: In Funktion >>grow_config<<:
scripts/basic/fixdep.c:143: Warnung: implicit declaration of function `realloc'
scripts/basic/fixdep.c:143: Warnung: Zuweisung erzeugt Zeiger von Ganzzahl ohne Typkonvertierung
scripts/basic/fixdep.c:144: error: `NULL' undeclared (first use in this function)
scripts/basic/fixdep.c:145: Warnung: implicit declaration of function `perror'
scripts/basic/fixdep.c: In Funktion >>is_defined_config<<:
scripts/basic/fixdep.c:161: Warnung: implicit declaration of function `memcmp'
scripts/basic/fixdep.c: In Funktion >>define_config<<:
scripts/basic/fixdep.c:174: Warnung: implicit declaration of function `memcpy'
scripts/basic/fixdep.c: In Funktion >>use_config<<:
scripts/basic/fixdep.c:193: error: `PATH_MAX' undeclared (first use in this function)
scripts/basic/fixdep.c:207: Warnung: implicit declaration of function `tolower'
scripts/basic/fixdep.c:193: Warnung: unused variable `s'
scripts/basic/fixdep.c: Auf h?chster Ebene:
scripts/basic/fixdep.c:212: error: Syntaxfehler before "size_t"
scripts/basic/fixdep.c:213: Warnung: function declaration isn't a prototype
scripts/basic/fixdep.c: In Funktion >>parse_config_file<<:
scripts/basic/fixdep.c:214: error: `map' undeclared (first use in this function)
scripts/basic/fixdep.c:214: error: `len' undeclared (first use in this function)
scripts/basic/fixdep.c:220: Warnung: implicit declaration of function `ntohl'
scripts/basic/fixdep.c:231: Warnung: implicit declaration of function `isalnum'
scripts/basic/fixdep.c: In Funktion >>strrcmp<<:
scripts/basic/fixdep.c:244: Warnung: implicit declaration of function `strlen'
scripts/basic/fixdep.c: In Funktion >>do_config_file<<:
scripts/basic/fixdep.c:255: error: storage size of `st' isn't known
scripts/basic/fixdep.c:259: Warnung: implicit declaration of function `open'
scripts/basic/fixdep.c:259: error: `O_RDONLY' undeclared (first use in this function)
scripts/basic/fixdep.c:261: error: `stderr' undeclared (first use in this function)
scripts/basic/fixdep.c:265: Warnung: implicit declaration of function `fstat'
scripts/basic/fixdep.c:267: Warnung: implicit declaration of function `close'
scripts/basic/fixdep.c:270: Warnung: implicit declaration of function `mmap'
scripts/basic/fixdep.c:270: error: `NULL' undeclared (first use in this function)
scripts/basic/fixdep.c:270: error: `PROT_READ' undeclared (first use in this function)
scripts/basic/fixdep.c:270: error: `MAP_PRIVATE' undeclared (first use in this function)
scripts/basic/fixdep.c:270: Warnung: Zuweisung erzeugt Zeiger von Ganzzahl ohne Typkonvertierung
scripts/basic/fixdep.c:279: Warnung: implicit declaration of function `munmap'
scripts/basic/fixdep.c:255: Warnung: unused variable `st'
scripts/basic/fixdep.c: Auf h?chster Ebene:
scripts/basic/fixdep.c:284: error: Syntaxfehler before "size_t"
scripts/basic/fixdep.c:285: Warnung: function declaration isn't a prototype
scripts/basic/fixdep.c: In Funktion >>parse_dep_file<<:
scripts/basic/fixdep.c:286: error: `map' undeclared (first use in this function)
scripts/basic/fixdep.c:287: error: `len' undeclared (first use in this function)
scripts/basic/fixdep.c:289: error: `PATH_MAX' undeclared (first use in this function)
scripts/basic/fixdep.c:291: Warnung: implicit declaration of function `strchr'
scripts/basic/fixdep.c:293: error: `stderr' undeclared (first use in this function)
scripts/basic/fixdep.c:289: Warnung: unused variable `s'
scripts/basic/fixdep.c: In Funktion >>print_deps<<:
scripts/basic/fixdep.c:325: error: storage size of `st' isn't known
scripts/basic/fixdep.c:329: error: `O_RDONLY' undeclared (first use in this function)
scripts/basic/fixdep.c:331: error: `stderr' undeclared (first use in this function)
scripts/basic/fixdep.c:341: error: `NULL' undeclared (first use in this function)
scripts/basic/fixdep.c:341: error: `PROT_READ' undeclared (first use in this function)
scripts/basic/fixdep.c:341: error: `MAP_PRIVATE' undeclared (first use in this function)
scripts/basic/fixdep.c:341: Warnung: Zuweisung erzeugt Zeiger von Ganzzahl ohne Typkonvertierung
scripts/basic/fixdep.c:325: Warnung: unused variable `st'
scripts/basic/fixdep.c: In Funktion >>traps<<:
scripts/basic/fixdep.c:360: error: `stderr' undeclared (first use in this function)
make[1]: *** [scripts/basic/fixdep] Fehler 1
make: *** [scripts_basic] Fehler 2








It seems that a lot of curcial header files are missing although I am quite sure that I installed all necessary packages. Maybe something went wrong during the installation. Can someone check which package installs for example sys/types.h so that I can try to reinstall it?

Thanks a lot for your suggestions,
Florian



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