View previous topic :: View next topic |
Author |
Message |
Rikyu n00b
Joined: 11 Jul 2002 Posts: 59 Location: Wustermark
|
Posted: Fri Jul 19, 2002 6:33 pm Post subject: Fehler Kernel ohne SMP compilieren |
|
|
Hallo
Wenn ich versuche einen Kernel ohne SMP Support zu kompilieren bricht
der compilerlauf mit folgender Fehlermeldung ab:
/usr/src/linux-2.4.19-gentoo-r5/include/linux/modules/i386_ksyms.ver:102: warnin g: this is the location of the previous definition
In file included from ksyms.c:17:
/usr/src/linux-2.4.19-gentoo-r5/include/linux/kernel_stat.h: In function `kstat_ irqs':
/usr/src/linux-2.4.19-gentoo-r5/include/linux/kernel_stat.h:46: `smp_num_cpus' u ndeclared (first use in this function)
/usr/src/linux-2.4.19-gentoo-r5/include/linux/kernel_stat.h:46: (Each undeclared identifier is reported only once
/usr/src/linux-2.4.19-gentoo-r5/include/linux/kernel_stat.h:46: for each functio n it appears in.)
make[2]: *** [ksyms.o] Error 1
make[2]: Leaving directory `/usr/src/linux-2.4.19-gentoo-r5/kernel'
make[1]: *** [first_rule] Error 2
make[1]: Leaving directory `/usr/src/linux-2.4.19-gentoo-r5/kernel'
make: *** [_dir_kernel] Error 2
Was muß ich da eventuell in der Kernelkonfiguration noch ändern ?
Gruß Rikyu |
|
Back to top |
|
|
meyerm Veteran
Joined: 27 Jun 2002 Posts: 1311 Location: Munich / Germany
|
Posted: Sat Jul 20, 2002 1:18 pm Post subject: |
|
|
Hmm, versuch doch mal vor dem compilieren ein "make mrproper". Vielleicht ist irgendwo noch bei den Modulen ne Referenz auf SMP? |
|
Back to top |
|
|
jay l33t
Joined: 08 May 2002 Posts: 980
|
|
Back to top |
|
|
oisch Tux's lil' helper
Joined: 17 Jul 2002 Posts: 130
|
Posted: Sat Jul 20, 2002 2:57 pm Post subject: |
|
|
hatte das selbe problem und konnte es mit make mrproper lösen. Aber vorher merken was man alles einstellen muss im kernel. hab ewig gebraucht das wieder rauszufinden dass man bei pppoe zwar PPP-Support im Kernel braucht, die PPP-Optionen drunter aber als Module?!! verrückt |
|
Back to top |
|
|
meyerm Veteran
Joined: 27 Jun 2002 Posts: 1311 Location: Munich / Germany
|
Posted: Sat Jul 20, 2002 3:08 pm Post subject: |
|
|
Nur als Tipp für die Zukunft.
In /usr/src/linux liegt die Datei .config, welche Deine gesamte Konfiguration enthaelt. Diese kannst Du jederzeit sichern. |
|
Back to top |
|
|
Rikyu n00b
Joined: 11 Jul 2002 Posts: 59 Location: Wustermark
|
Posted: Sun Jul 21, 2002 6:46 am Post subject: |
|
|
Danke das mit dem make mrproper hat funktioniert )) |
|
Back to top |
|
|
jay l33t
Joined: 08 May 2002 Posts: 980
|
Posted: Sun Jul 21, 2002 7:23 am Post subject: |
|
|
Ebenfalls Danke - das hat auch bei mir geholfen! _________________ Do you want your posessions identified? [ynq] (n) |
|
Back to top |
|
|
meyerm Veteran
Joined: 27 Jun 2002 Posts: 1311 Location: Munich / Germany
|
Posted: Sun Jul 21, 2002 7:59 am Post subject: |
|
|
Immer wieder gerne.
(Man hatte solche Probleme ja auch mal... ) |
|
Back to top |
|
|
|