[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: problemy z gcc (sid)



Jak podają anonimowe źródła, przepowiedziano, że Maciej Wachowiec napisze:

> Mam problemy z najnowszym gcc z sid'a przy kompilowaniu kernela 2.4.20.
> Kompilacja wykłada mi się przy ide-cd:
> gcc -D__KERNEL__ -I/usr/src/kernel-source-2.4.20/include -Wall 
> -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common 
> -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=athlon    
> -nostdinc -iwithprefix include -DKBUILD_BASENAME=ide_cd  -c -o ide-cd.o 
> ide-cd.c
> In file included from ide-cd.c:318:
> ide-cd.h:440: error: long, short, signed or unsigned used invalidly for 
> `slot_tablelen'
> make[4]: *** [ide-cd.o] Błąd 1

Skompiluj gcc 3.2 lub starszym. A w ogóle na obecnym etapie chyba można
już polecić 2.4.21-rc2 (aczkolwiek nie jestem pewien, czy jest
kompilowalne 3.3, bo jeszcze nie próbowałem).

[...]
> Ktoś z Was spotkał się już z takim zachowaniem gcc? Czekać na kolejną 
> wersję, czy od razu zgłosić bug'a?

From: achurch@achurch.org (Andrew Church)
To: linux-kernel@vger.kernel.org
Subject: [PATCH] Fixes for gcc 3.3
Date: Fri, 16 May 2003 01:44:11 JST
Message-ID: <3ec3c4bf.50762@mail.achurch.org>

[Note: I am not subscribed to the list; please CC: me on responses.]

     The following is a short set of modifications I had to make to the
2.4.20 source to get it to compile under gcc 3.3.  There may be more; these
are just the ones that showed up under my configuration.  If anyone is
working on (or planning to work on) kernel/gcc-3.3 compatibility issues,
feel free to use this as a starting point.

  --Andrew Church
    achurch@achurch.org
    http://achurch.org/

---------------------------------------------------------------------------

[ciach patch, który okazał się był błędny i jak na razie nie widziałem
 poprawnego]

Pozdrawiam

-- 
Jacek Kawa    **I've heard it said that God answers every question,
            it's just that most of the time his answer is 'no'.[dS]**



Reply to: