Chyba pri kompilaci kernelu
Tomas Kouba
tomas na jikos.cz
Pondělí Únor 13 09:44:32 CET 2006
Zdenek Janis wrote:
> Dobry vecer,
> kompilace jadra mi konci touto chybou (viz. nize). Stejna chyba je i u
> starsich, ktere jsem drive prelozil bezproblemu. Chyba nebude ani tak v
> jadru jako v necem "okolo" - nejspis po upgrade. Nicmene nevim kudy se
> do toho zakousnout. Pouzivam unstable AMD64 debian. Prikaz pro kompilaci:
>
> make-kpkg kernel_image --revision=xxx.18
>
> Poslednich par radku, koncici chybou:
>
>
> make[1]: Leaving directory `/usr/src/linux-2.6.16-rc2'
> /usr/bin/make ARCH=x86_64 prepare
> make[1]: Entering directory `/usr/src/linux-2.6.16-rc2'
> /bin/sh: -c: line 0: syntax error near unexpected token `('
> /bin/sh: -c: line 0: `set -e; echo ' CHK include/linux/version.h';
> mkdir -p include/linux/; if [ `echo -n "2.6.16-rc2 .file null
> .ident GCC:(GNU)4.0.320060128(prerelease)(Debian4.0.2-8) .section
> .note.GNU-stack,, na progbits" | wc -c ` -gt 64 ]; then echo '"2.6.16-rc2
> .file null .ident GCC:(GNU)4.0.320060128(prerelease)(Debian4.0.2-8)
> .section .note.GNU-stack,, na progbits" exceeds 64 characters' >&2; exit 1;
> fi; (echo \#define UTS_RELEASE \"2.6.16-rc2 .file null .ident
> GCC:(GNU)4.0.320060128(prerelease)(Debian4.0.2-8) .section
> .note.GNU-stack,, na progbits\"; echo \#define LINUX_VERSION_CODE `expr 2
> \\* 65536 + 6 \\* 256 + 16`; echo '#define KERNEL_VERSION(a,b,c) (((a)
> << 16) + ((b) << 8) + (c))'; ) < /usr/src/linux-2.6.16-rc2/Makefile >
V tomhle kousku:
echo \#define UTS_RELEASE \"2.6.16-rc2 .file null .ident
GCC:(GNU)4.0.320060128(prerelease)(Debian4.0.2-8) .section
.note.GNU-stack,, na progbits\"
nejsou "oeskejpovane" zavorky. Tedy imho spravne by melo byt:
echo \#define UTS_RELEASE \"2.6.16-rc2 .file null .ident
GCC:\(GNU\)4.0.320060128\(prerelease\)\(Debian4.0.2-8\) .section
.note.GNU-stack,, na progbits\"
--
Tomas Kouba
Další informace o konferenci Linux