Hello everybody,

   I am sorry in advance for this long message, but this is the only way 
to explain what is going on.
   It seems either me or my computer goes crazy. Indeed, I try to perform 
a very simple operation - to recompile the kernel. I used to do it dozens 
of times and everything was going without problems. But now I get the message
about some fatal signal 11 for cc1:

---------------------------------------------------------------------------
gcc -D__KERNEL__ -I/usr/src/linux-2.0.32/include -Wall -Wstrict-prototypes
-O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -malign-loops=2
-malign-jumps=2 -malign-functions=2 -DCPU=586  -c -o filemap.o filemap.c
cpp: output pipe has been closed
gcc: Internal compiler error: program cc1 got fatal signal 11
make[2]: *** [filemap.o] Error 1
make[2]: Leaving directory `/usr/src/linux-2.0.32/mm'
make[1]: *** [first_rule] Error 2
make[1]: Leaving directory `/usr/src/linux-2.0.32/mm'
make: *** [linuxsubdirs] Error 2
---------------------------------------------------------------------------

The situation looks very strange as
1) if I type 'make zImage' once again I overcome this place and get the same
message in quite a different moment of compilation.
2) the problem remains if I change the kernel source and even if I reinstall 
the whole distribution of RH5.0.
3) the same happens to another sources like mc-4.1.33, but in the case of mc
I managed to get the binary by typing 'make' several times.
4) on repeating 'make zImage' several times I almost get to the end of 
compilation, but still get the following error:

----------------------------------------------------------------------------
ld -m elf_i386 -Ttext 0x100000 -e stext arch/i386/kernel/head.o
init/main.o init/version.o \
        arch/i386/kernel/kernel.o arch/i386/mm/mm.o kernel/kernel.o
mm/mm.o fs/fs.o ipc/ipc.o net/network.a \
        fs/filesystems.a \
        drivers/block/block.a drivers/char/char.a drivers/net/net.a
drivers/pci/pci.a \
        /usr/src/linux-2.0.32/arch/i386/lib/lib.a
/usr/src/linux-2.0.32/lib/lib.a /usr/src/linux-2.0.32/arch/i386/lib/lib.a
-o vmlinux
arch/i386/kernel/kernel.o(.data+0x2a8): undefined reference to `sys_msync'
kernel/kernel.o(.data+0x20c): undefined reference to `generic_file_read'
kernel/kernel.o(.data+0x214): undefined reference to `generic_file_mmap'
mm/mm.o: In function `invalidate_inode_pages':
mm/mm.o(.text+0x2fa9): undefined reference to `page_hash_table'
mm/mm.o(.text+0x2fb1): undefined reference to `page_hash_table'
mm/mm.o: In function `truncate_inode_pages':
mm/mm.o(.text+0x3098): undefined reference to `page_hash_table'
mm/mm.o(.text+0x30a0): undefined reference to `page_hash_table'
mm/mm.o: In function `shrink_mmap':
mm/mm.o(.text+0x324b): undefined reference to `page_hash_table'
mm/mm.o(.text+0x3253): more undefined references to `page_hash_table'
follow
fs/filesystems.a(ext2.o)(.data+0xc0): undefined reference to
`generic_file_read'fs/filesystems.a(ext2.o)(.data+0xd4): undefined
reference to `generic_file_mmap'make: *** [vmlinux] Error 1
------------------------------------------------------------------------------

I have an impression that the error in cc1 happens after a certain period
of time or smth like this and it's not connected to the source being
compiled at the moment, though this is only my guess. 
 
I'll be very grateful to everybody who will express his/her opinion 
about all this.

Alexei


-- 
  PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
http://www.redhat.com/RedHat-FAQ /RedHat-Errata /RedHat-Tips /mailing-lists
         To unsubscribe: mail [EMAIL PROTECTED] with 
                       "unsubscribe" as the Subject.

Reply via email to