Re: SV: [Forum] Kerne kompilering

From: Kasper Hald <khald@chem.au.dk>
Date: Tue May 21 2002 - 07:44:23 CEST

Hej,

Quoting Kasper Kamp Simonsen <kasperks@mail1.stofanet.dk>:

> >> make[2] *** [ksyms.o] Error 1
> >> make[2] leaving directory '/usr/src/linux-2.4.18/kernel'
> >> make[1] *** [first_rule] Error 2
> >> make[1] leaving directory '/usr/src/linux-2.4.18/kernel'
> >> make : *** [_dir_kernel] Error 2
> >>
> >> Nogen der ved hvad det betyder?
>
> > Hvad skriver processen lige inden ovenstående linier?
>
> /usr/src/linux-2.4.18/includes/linux/kernel_stat.h: In function
> 'kstat_irqs':
> /usr/src/linux-2.4.18/includes/linux/kernel_stat.h:48: 'smp_num_cpus'
> undelared (first use in this function)
> /usr/src/linux-2.4.18/includes/linux/kernel_stat.h:48: Each undeclared
> identifier is reported only once
> /usr/src/linux-2.4.18/includes/linux/kernel_stat.h:48: for each function it
> appearts in.)
>
> /Kasper
>
>

Det ser for mig ud som om at du har nogle problemer
med SMP (symmetric multiprocessing) ... nærmere bestemt
hvor mange cpu'ere som du har. Jeg går ikke ud fra
at din laptop er en smp ... så umiddelbart vil
jeg tro at du bare skal slå det fra i konfigurationen
og så spiller det.

FYI: smp_num_cpus bliver declaret/initialized i smp.h ...
#ifdef CONFIG_SMP
...
extern int smp_num_cpus;
...
#else
#define smp_num_cpus 1
#endif

M.v.h.

Kasper.

-- 
Kasper Hald
Ph.D.-student in theoretical chemistry
For further information see http://www.chem.au.dk/~khald
Received on Tue May 21 07:44:24 2002

This archive was generated by hypermail 2.1.8 : Tue Jul 19 2005 - 16:03:48 CEST