2.6.4, nvidia, gcc3.4 i zonk.

Paweł Sikora pluto w ds14.agh.edu.pl
Wto, 2 Mar 2004, 09:34:19 CET


On Tuesday 02 of March 2004 08:07, Jakub Bogusz wrote:
> On Tue, Mar 02, 2004 at 01:16:51AM +0100, Paweł Sikora wrote:
> > proba kompilacji kernela...
> >
> > [root]-[/usr/src/linux] # make bzImage
> >   CC      scripts/empty.o
> >   MKELF   scripts/elfconfig.h
> >   HOSTCC  scripts/file2alias.o
> >   HOSTCC  scripts/modpost.o
> >   HOSTCC  scripts/sumversion.o
> >   HOSTLD  scripts/modpost
> >   SPLIT   include/linux/autoconf.h -> include/config/*
> >   CC      arch/i386/kernel/asm-offsets.s
> >   CHK     include/asm-i386/asm_offsets.h
> >   CC      init/main.o
> >   CHK     include/linux/compile.h
> >   CC      init/version.o
> >   CC      init/do_mounts.o
> >   LD      init/mounts.o
> >   CC      init/initramfs.o
> >   LD      init/built-in.o
> >   CC      arch/i386/kernel/process.o
> > arch/i386/kernel/process.c:497: error: conflicting types for
> > '__switch_to' include/asm/system.h:13: error: previous declaration of
> > '__switch_to' was here arch/i386/kernel/process.c:497: error: conflicting
> > types for '__switch_to' include/asm/system.h:13: error: previous
> > declaration of '__switch_to' was here make[1]: ***
> > [arch/i386/kernel/process.o] Błąd 1
> > make: *** [arch/i386/kernel] Błąd 2
>
> Dodanie tego FASTCALL() (tak jak w asm-i386/system.h) w process.c
> powinno chyba pomóc?

tak wstepnie zahashowalem to makro __switch_to w system.h
i polecialy kolejne takie bledy o kolejnych konfliktach makr z funkcjami.
musialbym sporo tego w kernelu poprawiac. trzeba to zglosic na lkml
i niech to poprawia, to ich dzialka.

-- 
If you think of MS-DOS as mono, and Windows as stereo,
  then Linux is Dolby Digital and all the music is free...



Więcej informacji o liście dyskusyjnej pld-devel-pl