Hi
I can't compile vdr 178 with 2.6.29 kernel and s2-liplianin http://mercurial.intuxication.org/hg/s2-liplianin
deo" -DPLUGINDIR="./PLUGINS/lib" -DLOCDIR="./locale" -I/usr/include/freetype2 -I../s2-liplianin/linux/include vdr.c In file included from dvbdevice.h:14, from vdr.c:45: ../s2-liplianin/linux/include/linux/dvb/frontend.h:92: error: ‘__u8’ does not name a type ../s2-liplianin/linux/include/linux/dvb/frontend.h:93: error: ‘__u8’ does not name a type ../s2-liplianin/linux/include/linux/dvb/frontend.h:98: error: ‘__u8’ does not name a type ../s2-liplianin/linux/include/linux/dvb/frontend.h:99: error: ‘__u8’ does not name a type ../s2-liplianin/linux/include/linux/dvb/frontend.h:361: error: ‘__u8’ does not name a type make: *** [vdr.o] Ошибка 1
the trick from Klaus in thread Re: [vdr] error compiling vdr 1.7.7 (frontend.h - '__u8' does not name a type) http://www.mail-archive.com/vdr@linuxtv.org/msg10382.html didn't help me
Goga
Hi
I added #include <asm/types.h> as Tobi recommended http://e-tobi.net/websvn/filedetails.php?repname=vdr-pkg&path=%2Fvdr%2Fb...
and after that I could compile vdr 178
I can't compile vdr 178 with 2.6.29 kernel and s2-liplianin http://mercurial.intuxication.org/hg/s2-liplianin
deo" -DPLUGINDIR="./PLUGINS/lib" -DLOCDIR="./locale" -I/usr/include/freetype2 -I../s2-liplianin/linux/include vdr.c In file included from dvbdevice.h:14, from vdr.c:45: ../s2-liplianin/linux/include/linux/dvb/frontend.h:92: error: ‘__u8’ does not name a type ../s2-liplianin/linux/include/linux/dvb/frontend.h:93: error: ‘__u8’ does not name a type ../s2-liplianin/linux/include/linux/dvb/frontend.h:98: error: ‘__u8’ does not name a type ../s2-liplianin/linux/include/linux/dvb/frontend.h:99: error: ‘__u8’ does not name a type ../s2-liplianin/linux/include/linux/dvb/frontend.h:361: error: ‘__u8’ does not name a type make: *** [vdr.o] Ошибка 1
the trick from Klaus in thread Re: [vdr] error compiling vdr 1.7.7 (frontend.h - '__u8' does not name a type) http://www.mail-archive.com/vdr@linuxtv.org/msg10382.html didn't help me
On 14.06.2009 21:45, Goga777 wrote:
Hi
I added #include <asm/types.h> as Tobi recommended http://e-tobi.net/websvn/filedetails.php?repname=vdr-pkg&path=%2Fvdr%2Fb...
and after that I could compile vdr 178
Something is definitely "fishy" with the dvb header files. Normally any header file should by itself include all other header files it depends on, and not rely on the higher level code to do this.
Klaus
I can't compile vdr 178 with 2.6.29 kernel and s2-liplianin http://mercurial.intuxication.org/hg/s2-liplianin
deo" -DPLUGINDIR="./PLUGINS/lib" -DLOCDIR="./locale" -I/usr/include/freetype2 -I../s2-liplianin/linux/include vdr.c In file included from dvbdevice.h:14, from vdr.c:45: ../s2-liplianin/linux/include/linux/dvb/frontend.h:92: error: ‘__u8’ does not name a type ../s2-liplianin/linux/include/linux/dvb/frontend.h:93: error: ‘__u8’ does not name a type ../s2-liplianin/linux/include/linux/dvb/frontend.h:98: error: ‘__u8’ does not name a type ../s2-liplianin/linux/include/linux/dvb/frontend.h:99: error: ‘__u8’ does not name a type ../s2-liplianin/linux/include/linux/dvb/frontend.h:361: error: ‘__u8’ does not name a type make: *** [vdr.o] Ошибка 1
the trick from Klaus in thread Re: [vdr] error compiling vdr 1.7.7 (frontend.h - '__u8' does not name a type) http://www.mail-archive.com/vdr@linuxtv.org/msg10382.html didn't help me
Goga777 wrote:
Hi
I added #include <asm/types.h> as Tobi recommended http://e-tobi.net/websvn/filedetails.php?repname=vdr-pkg&path=%2Fvdr%2Fb...
and after that I could compile vdr 178
[...]
../s2-liplianin/linux/include/linux/dvb/frontend.h:92: error: ‘__u8’ does not name a type
Strange, that file (at least current version) #includes <linux/types.h>, which in turn (/usr/include/linux/types.h) #includes <asm/types.h>. Including <asm/types.h> from VDR should not be necessary.
Could you confirm that your frontend.h file also contains #include <linux/types.h> and tha tyour /usr/include/linux/types.h #includes <asm/types.h> ?
I added #include <asm/types.h> as Tobi recommended http://e-tobi.net/websvn/filedetails.php?repname=vdr-pkg&path=%2Fvdr%2Fb...
and after that I could compile vdr 178
[...]
../s2-liplianin/linux/include/linux/dvb/frontend.h:92: error: ‘__u8’ does not name a type
Strange, that file (at least current version) #includes <linux/types.h>, which in turn (/usr/include/linux/types.h) #includes <asm/types.h>. Including <asm/types.h> from VDR should not be necessary.
Could you confirm that your frontend.h file also contains #include <linux/types.h> and tha tyour /usr/include/linux/types.h #includes <asm/types.h> ?
yes my /s2-liplianin/linux/include/linux/dvb/frontend.h contains #include <linux/types.h and /usr/include/linux/types.h also conteins #includes <asm/types.h>
Goga