« -: Jan 30, 2004, 12:47 »
rabotia na RedHat 8.0 s kernel 2.4.18
pribavil sam edin patch kam source koda na kernela - bez problemi
no kato zapochna da prekompiliram kernala mi dava slednite greshki:
pri make menuconfig
rm -f include/asm
( cd include ; ln -sf asm-i386 asm)
make -C scripts/lxdialog all
make[1]: Entering directory `/usr/src/linux-2.4.18-14/scripts/lxdialog'
gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -DLOCALE -DCURSES_LOC="<curses.h>" -c -o checklist.o checklist.c
In file included from checklist.c:24:
dialog.h:22:23: sys/types.h: No such file or directory
dialog.h:23:19: fcntl.h: No such file or directory
dialog.h:24:20: unistd.h: No such file or directory
dialog.h:25:19: ctype.h: No such file or directory
dialog.h:26:20: stdlib.h: No such file or directory
dialog.h:27:20: string.h: No such file or directory
dialog.h:29:20: curses.h: No such file or directory
In file included from checklist.c:24:
dialog.h:127: parse error before "use_colors"
dialog.h:127: warning: type defaults to `int' in declaration of `use_colors'
dialog.h:127: warning: data definition has no type or storage class
dialog.h:128: parse error before "use_shadow"
dialog.h:128: warning: type defaults to `int' in declaration of `use_shadow'
dialog.h:128: warning: data definition has no type or storage class
dialog.h:130: parse error before "attributes"
dialog.h:130: warning: type defaults to `int' in declaration of `attributes'
dialog.h:130: warning: data definition has no type or storage class
dialog.h:143: parse error before '*' token
dialog.h:143: warning: function declaration isn't a prototype
dialog.h:146: parse error before '*' token
.......
make[1]: *** [checklist.o] Error 1
make[1]: Leaving directory `/usr/src/linux-2.4.18-14/scripts/lxdialog'
make: *** [menuconfig] Error 2
--------------------------------------------------------
pri make bzImage
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/i386-redhat-linux/3.2/include/syslimits.h:7,
from /usr/lib/gcc-lib/i386-redhat-linux/3.2/include/limits.h:11,
from scripts/mkdep.c:35:
/usr/lib/gcc-lib/i386-redhat-linux/3.2/include/limits.h:132: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:51: storage size of `cwd' isn't known
make: *** [scripts/mkdep] Error 1
--------------------------------
e-mi, tva e.... dava mi geshki mama mu!
are ako niakoi e specialist da pomogne
mersi mnogo