Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[vdr] Re: Building vdr again the new 2.6 kernel tree



Tilman Baumann wrote:

Quick 'n Dirty Fix:
Change the Makefile to "-idirafter" the 2.6 include dirs instead of "-I"ing them. This usually works, but is a Bad Thing(tm).
I would be disposed to do it bad. The main thing is, it works ;)

But unfortunately, I don't understand what you mean. Or how do i have to do it.

Sadly, i have no clue about Makefiles and compilerflags.
Somewhere in the Makefile is a line with something like "-I $(DVBDIR)". You would have to replace the -I with -idirafter.

Clean solution:
Install the user space versions of the 2.6 headers. Many distribution already package them. In Debian, you can install the package "linux-kernel-headers". Afterwards, VDR should compile cleanly without looking at the 2.6 internal headers.
I build the headers with make-kpkg kernel_headers and installed those.
Then, i set DVBDIR to /usr/src/kernel-headers-2.6.0-test9
Where the internal versions are.

But, it also does not work. I think make-kpkg is not able to seperate the userspaceheaders from the kernelspaceheaders.
That's because there are no userspace versions of them in the kernel sources anymore.

Where is the path to the userspaceheaders in my kernelsource. There must be one?
No, that's the point. The kernel sources only include the _internal_ versions of the headers in 2.6. The userspace versions are packaged seperately.



--
Info:
To unsubscribe send a mail to ecartis@linuxtv.org with "unsubscribe vdr" as subject.



Home | Main Index | Thread Index