Mailinglist Archive: opensuse-de (4664 mails)

< Previous Next >
Re: Kernel kompilieren / Pinnacle PCTVSat unter Linux

From: "Benjamin Marten" <benjamin.marten@xxxxxx>

Hallo Benjamin,
>Hallo,

>ich nutze seit kurzem SuSe Linux 9.0. Jegliche Hardware bis auf meine TV
Karte funktionieren.

>Um meine TV Karte, die Pinnacle PCTVSat, zu installieren bin ich nach
diesem Tutorial, welches speziell für >meine TV-Karte geschrieben wurde,
vorgegangen: http://dvbtv.sourceforge.net/pctv_howto_de/index.html

>Wie in diesem Tutorial beschrieben ist, muss man zuerst den Kernel neu
kompilieren um diverse Module >hinzuladen zu können. Bisher habe ich es
geschafft, den Kernel zu konfigurieren, aber beim kompilieren tritt ein
>Fehler auf.

>Hier die Fehler:
>Nachdem ich die Module in "make xconfig" eingestellt habe, führe ich "make
dep clean bzImage" aus und am >Ende kommen ein Paar Fehler, zudem wird der
neue Kernel beim neustart nicht geladen....

Ich weiss nicht, ob das damit zusammenhängt, aber eigentlich sollte die
Befehlszeile zum kompilieren so heissen.

# make clean && make dep && make bzImage && make modules
# make modules_install

wenn der Fehler dann immer noch auftritt, führ die einzelnen Schritte mal
einzeln aus,
um zu sehen, bei welchem der Fehler auftaucht.

>/usr/src/linux-2.4.24/include/asm/processor.h:56: error:
`CONFIG_X86_L1_CACHE_SHIFT' undeclared here
>(not in a function)
>/usr/src/linux-2.4.24/include/asm/processor.h:56: error: requested
alignment is not a constant
>In file included from /usr/src/linux-2.4.24/include/linux/wait.h:16,
>from /usr/src/linux-2.4.24/include/linux/fs.h:12,
>from /usr/src/linux-2.4.24/include/linux/capability.h:17,
>from /usr/src/linux-2.4.24/include/linux/binfmts.h:5,
>from /usr/src/linux-2.4.24/include/linux/sched.h:9,
>from /usr/src/linux-2.4.24/include/linux/mm.h:4,
>from /usr/src/linux-2.4.24/include/linux/slab.h:14,
>from /usr/src/linux-2.4.24/include/linux/proc_fs.h:5,
>from init/main.c:15:
>/usr/src/linux-2.4.24/include/linux/spinlock.h:165: error:
`CONFIG_X86_L1_CACHE_SHIFT' undeclared here
>(not in a function)
>/usr/src/linux-2.4.24/include/linux/spinlock.h:166: error:
`CONFIG_X86_L1_CACHE_SHIFT' undeclared here
>(not in a function)
>/usr/src/linux-2.4.24/include/linux/spinlock.h:166: error: requested
alignment is not a constant
>In file included from /usr/src/linux-2.4.24/include/asm/hardirq.h:6,
>from /usr/src/linux-2.4.24/include/linux/interrupt.h:52,
>from /usr/src/linux-2.4.24/include/asm/smplock.h:9,
>from /usr/src/linux-2.4.24/include/linux/smp_lock.h:16,
>from init/main.c:24:
>/usr/src/linux-2.4.24/include/linux/irq.h:65: error:
`CONFIG_X86_L1_CACHE_SHIFT' undeclared here (not in a >function)
>/usr/src/linux-2.4.24/include/linux/irq.h:65: error: requested alignment is
not a constant
>In file included from /usr/src/linux-2.4.24/include/linux/interrupt.h:52,
>from /usr/src/linux-2.4.24/include/asm/smplock.h:9,
>from /usr/src/linux-2.4.24/include/linux/smp_lock.h:16,
>from init/main.c:24:
>/usr/src/linux-2.4.24/include/asm/hardirq.h:16: error:
`CONFIG_X86_L1_CACHE_SHIFT' undeclared here (not >in a function)
>/usr/src/linux-2.4.24/include/asm/hardirq.h:16: error: requested alignment
is not a constant
>In file included from /usr/src/linux-2.4.24/include/asm/smplock.h:9,
>from /usr/src/linux-2.4.24/include/linux/smp_lock.h:16,
>from init/main.c:24:
>/usr/src/linux-2.4.24/include/linux/interrupt.h:135: error:
`CONFIG_X86_L1_CACHE_SHIFT' undeclared here
>(not in a function)
>/usr/src/linux-2.4.24/include/linux/interrupt.h:135: error: requested
alignment is not a constant
>In file included from /usr/src/linux-2.4.24/include/linux/highmem.h:5,
>from /usr/src/linux-2.4.24/include/linux/vmalloc.h:8,
>from /usr/src/linux-2.4.24/include/asm/io.h:47,
>from /usr/src/linux-2.4.24/include/linux/blkdev.h:11,
>from /usr/src/linux-2.4.24/include/linux/blk.h:4,
>from init/main.c:25:
>/usr/src/linux-2.4.24/include/asm/pgalloc.h:227: error:
`CONFIG_X86_L1_CACHE_SHIFT' undeclared here
> (not in a function)
>/usr/src/linux-2.4.24/include/asm/pgalloc.h:227: error: requested alignment
is not a constant
>init/main.c: In function `start_kernel':
>init/main.c:388: error: `CONFIG_X86_L1_CACHE_SHIFT' undeclared (first use
in this function)
>init/main.c:388: error: (Each undeclared identifier is reported only once
>init/main.c:388: error: for each function it appears in.)
>make: *** [init/main.o] Fehler 1


>Meine Fragen:
>- Hat es schon jemand hier hinbekommen die Pinnacle PCTSat unter Linux zum
laufen zu bringen?!?? - Wenn ja >würde ich mich über Hilfe sehr freuen!
Ich habe gar keine Schüssel.

>- Wieso erscheinen die obengenannten Fehler beim kompilieren des Kernels
und wie kann ich das beheben, >bzw. den Kernel richtig kompilieren!?

siehe oben.

>Vielen Dank für eventuelle Hilfe!!!
>MFG Benjamin Marten

Mfg,
Thomas


< Previous Next >
References