Chyba pri kompilaci 2.1.41
Pavel JANIK ml.
pjanik na aida.inet.cz
Čtvrtek Květen 29 18:17:54 CEST 1997
Cau.
> Zkousel jsem zkompilovat vyvojove jadro 2.1.41. Upgradoval jsem vsechny
> nezbytne - alespon podle www.linuxhq.com - casti (napr. modutils, libc
> atd.), ale pri kompilaci jsem obdrzel nasledujici chybu:
>
> gcc -D__KERNEL__ -I/usr/src/linux-2.1.41/include -D__ASSEMBLY__-D__SMP__
> -traditional -c trampoline.S -o trampoline.o
> /tmp/cca02297.s: Assembler messages:
> /tmp/cca02297.s:118: Error: Value of ffffffff40000000 too large for field
> of 4 bytes at 000000000000003d
> make[1]: *** [trampoline.o] Error 1
> make[1]: Leaving directory `/usr/src/linux-2.1.41/arch/i386/kernel'
> make: *** [linuxsubdirs] Error 2
>
> -------------
>
> Zajimave je ze jsem uz predtim kompiloval verze 2.1.33 az 2.1.35 a tato
> chyba se neobjevovala. Zacalo to u me az s verzi 2.1.39.
>
Soubor arch/i386/kernel/trampoline.S se od verze 2.1.38 do
2.1.41 nezmenil:
----------------------------- cut here -------------------------
inserv:/home/www/lsd$ diff -urN 2.1.38/arch/i386/kernel/trampoline.S
2.1.41/arch/i386/kernel/trampoline.S
inserv:/home/www/lsd$
----------------------------- cut here -------------------------
Pravdepodobne jste nespravne upradeoval nejaky balik. Jake pouzivate
binutils ? 2.7.0.9 ? Opravdu pouzivate vsechny potrebne baliky ?
- Kernel modules modutils-2.1.34
- Gnu C 2.7.2.1
- Binutils 2.8.0.3
- Linux C Library 5.4.23
- Dynamic Linker (ld.so) 1.8.5
- Linux C++ Library 2.7.2.1
V comp.os.linux.development.system probehlo:
Walter,
I was getting the same problem. I then was using binutils 2.7.0.9 & once I
removed that with package tool & installed the 2.8.0.3 it went away. If
your using slackware try removing the package with pkgtool & re-install it.
By the way, did you get the binutils 2.8.0.3 from the slackware
distribution or use one from somewhere else ?
The reason I ask is that the non-slackware ones use /usr/ix86-linux vs
slackware uses the old way still /usr/i486-linux, which is the way I set it
up.
haladay na ixc.net
Walter Werner <wally na san.rr.com> wrote in article
<3384048b.749324 na news-server>...
> I have Walnut-Creek's Slackware Linux 3.2 installed
>
> I've upgraded to
>
> bin-utils 2.8.0.3
> ld.so 1.9.2
> mod-utils 2.1.34
> net-tools 1.41
> sh-utils 1.16
>
> I've tried compiling 2.1.38, 2.1.39 and 2.1.40 and get the same error
>
> on the line that reads
>
> gcc -D__KERNEL__ -I/usr/src/linux/include -D__ASSEMBLY__ -D__SMP__
> -tradional -c trampoline.S -o trampolne.o
>
> I get the message
>
> /tmp/cca?????.s: Assembly messages:
> /tmp/cca?????.s:118: Error: Value of ffffffff40000000 to large for
> field of 4 bytes at 000000000000003d
> make[1]: *** [trampoline.o] Error 1
PJ
--
############################################################################
# #
# Pavel.JANIK na inet.cz #
# arch/sparc/kernel/smp.c: #
# #
# printk("Entering SparclinuxMultiPenguin(SMP) Mode...\n"); #
# printk("Penguin %d is stuck in the bottle.\n", i); #
# #
# PGP Public Key - http://www.inet.cz/~pjanik/pgp_public_key.txt #
# Top URL - http://www.math.muni.cz/cgi-bin/LSD #
############################################################################
Další informace o konferenci Linux