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
Hi,
Tilman Baumann schrieb:
Sorry a bit late, but i only get time to test it yet.
Maik Zumstrull wrote:
Tilman Baumann wrote:
Now, after i'm definitly happy with the 2.6 kernel including its dvb
support, i choosed to switch my complete system to 2.6.
[...]
You are (or, your compiler is) mixing 2.4 and 2.6 includes, and some
of the 2.6 includes you're using are internal kernel headers not
supposed to be used to compile user space apps against. (In Linux <=
2.4, user space kernel headers and internal kernel headers were mostly
identical. This changed in 2.6.)
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.
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
But, it also does not work. I think make-kpkg is not able to seperate
the userspaceheaders from the kernelspaceheaders.
Where is the path to the userspaceheaders in my kernelsource. There must
be one?
Then, it should be no problem to -I these headers...
Thank you
after not finding good info on the include stuff, i set DVBDIR to
DVBDIR = /usr/src/linux-2.6.0-test9/include/dvb
this works, makes few warnings, gives no errors, and a good picture :)
but i know there are cleaner ways.
Regards Onno
--
Info:
To unsubscribe send a mail to ecartis@linuxtv.org with "unsubscribe vdr" as subject.
Home |
Main Index |
Thread Index