lkml.org 
[lkml]   [2004]   [May]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: Linux 2.4.27-pre2 (gcc-3.4.0)
    begin  Marc-Christian Petersen <m.c.p@kernel.linux-systeme.com> quote:

    > On Tuesday 04 May 2004 21:19, Rafał 'rmrmg' Roszak wrote:
    >
    > Hi Rafał
    >
    > > make[2]: Entering directory `/usr/src/linux-2.4.27-pre2/kernel'
    > > gcc -D__KERNEL__ -I/usr/src/linux-2.4.27-pre2/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=sched
    > > -fno-omit-frame-pointer -c -o sched.o sched.c sched.c:213: error:
    > > conflicting types for 'reschedule_idle' sched.c:210: error: previous
    > > declaration of 'reschedule_idle' was here sched.c:213: error:
    > > conflicting types for 'reschedule_idle' sched.c:210: error: previous
    > > declaration of 'reschedule_idle' was here sched.c:371: error:
    > > This problem exist when i use GCC-3.4.0, GCC-3.2.3 doesn't cause it.
    >
    > Does the attached patch help there?
    >

    Nope

    make[2]: Entering directory `/usr/src/linux-2.4.27-pre2/kernel'
    gcc -D__KERNEL__ -I/usr/src/linux-2.4.27-pre2/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=sched
    -fno-omit-frame-pointer -c -o sched.o sched.c sched.c:369: error:
    conflicting types for
    'wake_up_process'/usr/src/linux-2.4.27-pre2/include/linux/sched.h:603:
    error: previous declaration of 'wake_up_process' was here sched.c:369:
    error: conflicting types for
    'wake_up_process'/usr/src/linux-2.4.27-pre2/include/linux/sched.h:603:
    error: previous declaration of 'wake_up_process' was here sched.c:407:
    error: conflicting types for
    'schedule_timeout'/usr/src/linux-2.4.27-pre2/include/linux/sched.h:148:
    error: previous declaration of 'schedule_timeout' was here sched.c:407:
    error: conflicting types for
    'schedule_timeout'/usr/src/linux-2.4.27-pre2/include/linux/sched.h:148:
    error: previous declaration of 'schedule_timeout' was here sched.c:737:
    error: conflicting types for
    '__wake_up'/usr/src/linux-2.4.27-pre2/include/linux/sched.h:595: error:
    previous declaration of '__wake_up' was here sched.c:737: error:
    conflicting types for
    '__wake_up'/usr/src/linux-2.4.27-pre2/include/linux/sched.h:595: error:
    previous declaration of '__wake_up' was here sched.c:747: error:
    conflicting types for
    '__wake_up_sync'/usr/src/linux-2.4.27-pre2/include/linux/sched.h:596:
    error: previous declaration of '__wake_up_sync' was here sched.c:747:
    error: conflicting types for
    '__wake_up_sync'/usr/src/linux-2.4.27-pre2/include/linux/sched.h:596:
    error: previous declaration of '__wake_up_sync' was here sched.c:757:
    error: conflicting types for
    'complete'/usr/src/linux-2.4.27-pre2/include/linux/completion.h:31:
    error: previous declaration of 'complete' was here sched.c:757: error:
    conflicting types for
    'complete'/usr/src/linux-2.4.27-pre2/include/linux/completion.h:31:
    error: previous declaration of 'complete' was here sched.c:767: error:
    conflicting types for
    'wait_for_completion'/usr/src/linux-2.4.27-pre2/include/linux/completio
    n.h:30: error: previous declaration of 'wait_for_completion' was here
    sched.c:767: error: conflicting types for
    'wait_for_completion'/usr/src/linux-2.4.27-pre2/include/linux/completio
    n.h:30: error: previous declaration of 'wait_for_completion' was here
    sched.c:802: error: conflicting types for
    'interruptible_sleep_on'/usr/src/linux-2.4.27-pre2/include/linux/sched.
    h:600: error: previous declaration of 'interruptible_sleep_on' was here
    sched.c:802: error: conflicting types for
    'interruptible_sleep_on'/usr/src/linux-2.4.27-pre2/include/linux/sched.
    h:600: error: previous declaration of 'interruptible_sleep_on' was here
    sched.c:813: error: conflicting types for
    'interruptible_sleep_on_timeout'/usr/src/linux-2.4.27-pre2/include/linu
    x/sched.h:601: error: previous declaration of
    'interruptible_sleep_on_timeout' was here sched.c:813: error:
    conflicting types for
    'interruptible_sleep_on_timeout'/usr/src/linux-2.4.27-pre2/include/linu
    x/sched.h:601: error: previous declaration of
    'interruptible_sleep_on_timeout' was here sched.c:826: error:
    conflicting types for
    'sleep_on'/usr/src/linux-2.4.27-pre2/include/linux/sched.h:597: error:
    previous declaration of 'sleep_on' was here sched.c:826: error:
    conflicting types for
    'sleep_on'/usr/src/linux-2.4.27-pre2/include/linux/sched.h:597: error:
    previous declaration of 'sleep_on' was here sched.c:837: error:
    conflicting types for
    'sleep_on_timeout'/usr/src/linux-2.4.27-pre2/include/linux/sched.h:598:
    error: previous declaration of 'sleep_on_timeout' was here sched.c:837:
    error: conflicting types for
    'sleep_on_timeout'/usr/src/linux-2.4.27-pre2/include/linux/sched.h:598:
    error: previous declaration of 'sleep_on_timeout' was here make[2]: ***
    [sched.o] Error 1 make[2]: Leaving directory
    `/usr/src/linux-2.4.27-pre2/kernel' make[1]: *** [first_rule] Error 2
    make[1]: Leaving directory `/usr/src/linux-2.4.27-pre2/kernel'
    make: *** [_dir_kernel] Error 2

    --
    . JID: rmrmg(at)jabberpl(dot)org | RMRMG .
    . gg: #2311504 | signature .
    . mail: rmrmg(at)wp(dot)pl | version .
    . registered Linux user 261525 | 0.0.3 .
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2005-03-22 14:02    [W:0.034 / U:60.312 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site