Re: makelinks.sh for link drivers to kernel is broken

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

 



This should be solved by makelinks.sh. Basically, you need to insert a
reference to compat.h before including videodev.h or videodev2.h.

Em Seg, 2006-04-10 às 14:53 +0200, aLiEnTxC escreveu:
> i found now a new bug...
> 
>   CC [M]  drivers/video/matrox/matroxfb_DAC1064.o
> In Datei, eingefügt von include/linux/matroxfb.h:6,
>                     von drivers/video/matrox/matroxfb_DAC1064.c:22:
> include/linux/videodev2.h:19:5: Warnung: »LINUX_VERSION_CODE« ist nicht definiert
> include/linux/videodev2.h:19:26: Warnung: »KERNEL_VERSION« ist nicht definiert
> include/linux/videodev2.h:19:40: fehlender binärer Operator vor Token »(«
> include/linux/videodev2.h:22:5: Warnung: »LINUX_VERSION_CODE« ist nicht definiert
> include/linux/videodev2.h:22:26: Warnung: »KERNEL_VERSION« ist nicht definiert
> include/linux/videodev2.h:22:40: fehlender binärer Operator vor Token »(«
> include/linux/videodev2.h:77:5: Warnung: »LINUX_VERSION_CODE« ist nicht definiert
> include/linux/videodev2.h:77:27: Warnung: »KERNEL_VERSION« ist nicht definiert
> include/linux/videodev2.h:77:41: fehlender binärer Operator vor Token »(«
> include/linux/videodev2.h:87:5: Warnung: »LINUX_VERSION_CODE« ist nicht definiert
> include/linux/videodev2.h:87:27: Warnung: »KERNEL_VERSION« ist nicht definiert
> include/linux/videodev2.h:87:41: fehlender binärer Operator vor Token »(«
> include/linux/videodev2.h:94:5: Warnung: »LINUX_VERSION_CODE« ist nicht definiert
> include/linux/videodev2.h:94:26: Warnung: »KERNEL_VERSION« ist nicht definiert
> include/linux/videodev2.h:94:40: fehlender binärer Operator vor Token »(«
> include/linux/videodev2.h:118:5: Warnung: »LINUX_VERSION_CODE« ist nicht definiert
> include/linux/videodev2.h:118:26: Warnung: »KERNEL_VERSION« ist nicht definiert
> include/linux/videodev2.h:118:40: fehlender binärer Operator vor Token »(«
> include/linux/videodev2.h:123:5: Warnung: »LINUX_VERSION_CODE« ist nicht definiert
> include/linux/videodev2.h:123:26: Warnung: »KERNEL_VERSION« ist nicht definiert
> include/linux/videodev2.h:123:40: fehlender binärer Operator vor Token »(«
> include/linux/videodev2.h:128:5: Warnung: »LINUX_VERSION_CODE« ist nicht definiert
> include/linux/videodev2.h:128:27: Warnung: »KERNEL_VERSION« ist nicht definiert
> include/linux/videodev2.h:128:41: fehlender binärer Operator vor Token »(«
> make[5]: *** [drivers/video/matrox/matroxfb_DAC1064.o] Fehler 1
> make[4]: *** [drivers/video/matrox] Fehler 2
> make[3]: *** [drivers/video] Fehler 2
> make[2]: *** [drivers] Fehler 2
> make[2]: Leaving directory `/usr/src/linux-2.6.16.2'
> make[1]: *** [stamp-build] Fehler 2
> make[1]: Leaving directory `/usr/src/linux-2.6.16.2'
> make: *** [stamp-buildpackage] Fehler 2
> 
> Any Ideas?
> 
> ----- Original Message ----- 
> From: "Mauro Carvalho Chehab" <mchehab@xxxxxxxxxxxxx>
> To: "aLiEnTxC" <alientxc@xxxxxxxxxxx>
> Cc: <linux-dvb@xxxxxxxxxxx>
> Sent: Monday, April 10, 2006 2:22 PM
> Subject: Re:  makelinks.sh for link drivers to kernel is broken
> 
> 
> > Em Seg, 2006-04-10 às 13:38 +0200, aLiEnTxC escreveu:
> >> Hello,
> >>
> >> I try to link the dvb drivers to kernel 2.6.16.2, but when I made "make distclean" and "make
> >> oldconfig" I become this messages...
> >>
> >> HOSTCC  scripts/basic/fixdep
> >>   HOSTCC  scripts/basic/split-include
> >>   HOSTCC  scripts/basic/docproc
> >>   HOSTCC  scripts/kconfig/conf.o
> >>   HOSTCC  scripts/kconfig/kxgettext.o
> >>   HOSTCC  scripts/kconfig/mconf.o
> >>   SHIPPED scripts/kconfig/zconf.tab.c
> >>   SHIPPED scripts/kconfig/lex.zconf.c
> >>   SHIPPED scripts/kconfig/zconf.hash.c
> >>   HOSTCC  scripts/kconfig/zconf.tab.o
> >>   HOSTLD  scripts/kconfig/conf
> >> scripts/kconfig/conf -o arch/i386/Kconfig
> >> drivers/media/video/Kconfig:433: can't open file "drivers/media/video/usbvideo/Kconfig"
> >> make[1]: *** [oldconfig] Error 1
> >> make: *** [oldconfig] Error 2
> >>
> >> I see that the directory drivers/media/video/usbvideo/ is not exist!
> >>
> >> I commendet the source includes out from the Kconfig and try it again..
> >>
> >> Now, this
> >> drivers/media/video/Kconfig:435: can't open file "drivers/media/video/et61x251/Kconfig"
> >>
> >> after all errors are cleaned, i create the included patch.
> >>
> >> I am not sure, that this is the right way?! Any Ideas?
> > Try to use v4l1 tree (http://linuxtv.org/hg/~mchehab/v4l1). Yesterday I
> > noticed that some files were not copied to master tree, when I was
> > preparing the changes for V4L1. I should merge this tree soon to master
> > (after some review from you guys), but, until then, all missing drivers
> > are there.
> >>
> >> Greetings,
> >> Thomas
> >>
> >>
> >>
> >>
> >>
> >> begin 666 hg-v4l-dvb-kernel-build.diff
> >> M+2TM(&QI;G5X+V1R:79E<G,O;65D:6$O=FED96\O36%K969I;&4@(#(P,#8M
> >> M,#0M,3 @,#DZ-#8Z-#@N,# P,# P,# P("LP,C P"BLK*R!L:6YU>"]D<FEV
> >> M97)S+VUE9&EA+W9I9&5O+TUA:V5F:6QE(" R,# V+3 T+3$P(# P.C$U.C(S
> >> M+C P,# P,# P," K,#(P, I 0" M-S8L,3,@*S<V+#$S($! "B!O8FHM)"A#
> >> M3TY&24=?55-"7U-45C8X,"D@(" @(" @("L]('-T=C8X,"YO"B!O8FHM)"A#
> >> M3TY&24=?55-"7U<Y.38X0T8I(" @(" @("L]('<Y.38X8V8N;PH*+2-O8FHM
> >> M)"A#3TY&24=?55-"7U-..4,Q,#(I(" @(" @("L]('-N.6,Q,#(O"BTC;V)J
> >> M+20H0T].1DE'7U530E]%5#8Q6#(U,2D@(" @(" K/2!E=#8Q>#(U,2\*+2-O
> >> M8FHM)"A#3TY&24=?55-"7U!70RD@(" @(" @(" @("L]('!W8R\*+2-O8FHM
> >> M)"A#3TY&24=?55-"7UI#,#,P,2D@(" @(" @("L]('IC,#,P,2\**V]B:BTD
> >> M*$-/3D9)1U]54T)?4TXY0S$P,BD@(" @(" @*ST@<VXY8S$P,B\**V]B:BTD
> >> M*$-/3D9)1U]54T)?150V,5@R-3$I(" @(" @*ST@970V,7@R-3$O"BMO8FHM
> >> M)"A#3TY&24=?55-"7U!70RD@(" @(" @(" @("L]('!W8R\**V]B:BTD*$-/
> >> M3D9)1U]54T)?6D,P,S Q*2 @(" @(" @*ST@>F,P,S Q+PH*+2-O8FHM)"A#
> >> M3TY&24=?55-"7TE"34-!32D@(" @(" @("L]('5S8G9I9&5O+PHM(V]B:BTD
> >> M*$-/3D9)1U]54T)?2T].24-!5T,I(" @(" @*ST@=7-B=FED96\O"BTC;V)J
> >> M+20H0T].1DE'7U530E]624-!32D@(" @(" @(" K/2!U<V)V:61E;R\**V]B
> >> M:BTD*$-/3D9)1U]54T)?24)-0T%-*2 @(" @(" @*ST@=7-B=FED96\O"BMO
> >> M8FHM)"A#3TY&24=?55-"7TM/3DE#05=#*2 @(" @("L]('5S8G9I9&5O+PHK
> >> M;V)J+20H0T].1DE'7U530E]624-!32D@(" @(" @(" K/2!U<V)V:61E;R\*
> >> M"B!%6%1205]#1DQ!1U,@*ST@+4ED<FEV97)S+VUE9&EA+V1V8B]D=F(M8V]R
> >> M90HM+2T@;&EN=7@O9')I=F5R<R]M961I82]V:61E;R]+8V]N9FEG(" @,C P
> >> M-BTP-"TQ," P.3HQ,SHQ,RXP,# P,# P,# @*S R,# **RLK(&QI;G5X+V1R
> >> M:79E<G,O;65D:6$O=FED96\O2V-O;F9I9R @(#(P,#8M,#0M,3 @,# Z,34Z
> >> M,C,N,# P,# P,# P("LP,C P"D! ("TT,S L.2 K-#,P+#D@0$ *(" @(" @
> >> M(" @(%1O(&-O;7!I;&4@=&AI<R!D<FEV97(@87,@82!M;V1U;&4L(&-H;V]S
> >> M92!-(&AE<F4Z('1H90H@(" @(" @(" @;6]D=6QE('=I;&P@8F4@8V%L;&5D
> >> M(&1S8G(Q,# N"@HM(W-O=7)C92 B9')I=F5R<R]M961I82]V:61E;R]U<V)V
> >> M:61E;R]+8V]N9FEG(@HK<V]U<F-E(")D<FEV97)S+VUE9&EA+W9I9&5O+W5S
> >> M8G9I9&5O+TMC;VYF:6<B"@HM(W-O=7)C92 B9')I=F5R<R]M961I82]V:61E
> >> M;R]E=#8Q>#(U,2]+8V]N9FEG(@HK<V]U<F-E(")D<FEV97)S+VUE9&EA+W9I
> >> M9&5O+V5T-C%X,C4Q+TMC;VYF:6<B"@H@8V]N9FEG(%530E]/5C4Q,0H@(" @
> >> M(" @('1R:7-T871E(")54T(@3U8U,3$@0V%M97)A('-U<'!O<G0B"D! ("TT
> >> M-38L-R K-#4V+#<@0$ *(" @(" @(" @(%1O(&-O;7!I;&4@=&AI<R!D<FEV
> >> M97(@87,@82!M;V1U;&4L(&-H;V]S92!-(&AE<F4Z('1H90H@(" @(" @(" @
> >> M;6]D=6QE('=I;&P@8F4@8V%L;&5D('-E-# Q+@H*+2-S;W5R8V4@(F1R:79E
> >> M<G,O;65D:6$O=FED96\O<VXY8S$P,B]+8V]N9FEG(@HK<V]U<F-E(")D<FEV
> >> M97)S+VUE9&EA+W9I9&5O+W-N.6,Q,#(O2V-O;F9I9R(*"B!C;VYF:6<@55-"
> >> M7U-45C8X, H@(" @(" @('1R:7-T871E(")54T(@4U16-C@P("A096YC86TI
> >> M($-A;65R82!S=7!P;W)T(@I 0" M-#@X+#D@*S0X."PY($! "B @(" @(" @
> >> M("!4;R!C;VUP:6QE('1H:7,@9')I=F5R(&%S(&$@;6]D=6QE+"!C:&]O<V4@
> >> M32!H97)E.B!T:&4*(" @(" @(" @(&UO9'5L92!W:6QL(&)E(&-A;&QE9"!W
> >> M.3DV.&-F+@H*+2-S;W5R8V4@(F1R:79E<G,O;65D:6$O=FED96\O>F,P,S Q
> >> M+TMC;VYF:6<B"BMS;W5R8V4@(F1R:79E<G,O;65D:6$O=FED96\O>F,P,S Q
> >> M+TMC;VYF:6<B"@HM(W-O=7)C92 B9')I=F5R<R]M961I82]V:61E;R]P=V,O
> >> M2V-O;F9I9R(**W-O=7)C92 B9')I=F5R<R]M961I82]V:61E;R]P=V,O2V-O
> >> C;F9I9R(*"B!E;F1M96YU(",@5C1,(%530B!D979I8V5S"@H`
> >> `
> >> end
> >>
> >>
> >> _______________________________________________
> >> 
> >> linux-dvb@xxxxxxxxxxx
> >> http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb
> > Cheers,
> > Mauro. 
> 
> 
Cheers, 
Mauro.


_______________________________________________

linux-dvb@xxxxxxxxxxx
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

[Index of Archives]     [Linux Media]     [Video 4 Linux]     [Asterisk]     [Samba]     [Xorg]     [Xfree86]     [Linux USB]

  Powered by Linux