lkml.org 
[lkml]   [2003]   [Jul]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 2.6.0-test1 doesn't compile on PPC iBook2.2
Mikael Pettersson wrote:
> On Wed, 16 Jul 2003 22:14:40 +0100, Miguel Sousa Filipe wrote:
>
>> CC arch/ppc/kernel/time.o
>>arch/ppc/kernel/time.c: In function `do_settimeofday':
>>arch/ppc/kernel/time.c:247: conflicting types for `new_nsec'
>>arch/ppc/kernel/time.c:245: previous declaration of `new_nsec'
>>arch/ppc/kernel/time.c:247: conflicting types for `new_sec'
>>arch/ppc/kernel/time.c:244: previous declaration of `new_sec'
>>make[1]: *** [arch/ppc/kernel/time.o] Error 1
>>make: *** [arch/ppc/kernel] Error 2
>
>
> Apply the following patch:
>
> --- linux-2.6.0-test1/arch/ppc/kernel/time.c.~1~ 2003-07-14 13:17:24.000000000 +0200
> +++ linux-2.6.0-test1/arch/ppc/kernel/time.c 2003-07-14 19:06:58.000000000 +0200
> @@ -244,7 +244,7 @@
> time_t wtm_sec, new_sec = tv->tv_sec;
> long wtm_nsec, new_nsec = tv->tv_nsec;
> unsigned long flags;
> - int tb_delta, new_nsec, new_sec;
> + int tb_delta;
>
> if ((unsigned long)tv->tv_nsec >= NSEC_PER_SEC)
> return -EINVAL;
>

Done, now it fails in arch/ppc/platforms/pmac_cpufreq.c,

here is the error:

CC arch/ppc/platforms/pmac_nvram.o
CC arch/ppc/platforms/pmac_cpufreq.o
arch/ppc/platforms/pmac_cpufreq.c: In function `do_set_cpu_speed':
arch/ppc/platforms/pmac_cpufreq.c:179: `CPUFREQ_ALL_CPUS' undeclared (first use
in this function)
arch/ppc/platforms/pmac_cpufreq.c:179: (Each undeclared identifier is reported
only once
arch/ppc/platforms/pmac_cpufreq.c:179: for each function it appears in.)
make[1]: *** [arch/ppc/platforms/pmac_cpufreq.o] Error 1
make: *** [arch/ppc/platforms] Error 2


-
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 13:46    [from the cache]
©2003-2011 Jasper Spaans. Advertise on this site