Note that line 1378 defines usb_alloc_coherent() and 1384 defines
usb_buffer_alloc(). The second does not redefine the first. The same argument
applies to the second set of routines.
malcomlewis, sorry for the involuntary misdirection, I am attempting to compile a “PCTV 452e”. I take care for many machines by friends, so I have here many cards but the problem only with this great and ominous pinnacle.
Iwfinger, I didn’t touch the code. In addition I installed a distribution-vanilla kernel with equal version number and getting exactly the same error again. You put me in the mood of starting writing code again, however my C knowledge is just theoretic and never I wrote for linux: basically it would mean that my little windows API experience is “snow of yesterday” and my stomach is becoming delicate. Tomorrow I’ll check the lines in question, at this point is necessary.
JohnVV, that could be an explanation, but I installed stuff just from orthodox repos except by multimedia, due to my sound card. Nvidia and VM compile properly (however Nvidia breaks by the vanilla kernel!!!). Any Idea?
OK, now I know what is going on.
By the way, as beginner I misinterpreted quite often the compiler remarks. True is that the 2 macros invoked from the code don’t exist in the source.
I am attempting to compile a Liplianin three from Mercurial. Liplianin is specialized since 10 years in supporting “officially unsupported = almost all” DVB cards with Linux drivers. Later the modules come with the kernel.
There is no official information about, but the Liplianin’s code is kernel dependent. Hi made many many unlisted repositories for different kernel versions. Until now, I didn’t find a repo for 2.6.34, possibly because the major customers are Ubuntu and Archlinux. Hi seams to have a strong sense of humor so, if I explain him that I use “OpenCinderella 11.3” and I need the code for 2.6.34 hi will answer me hi will take a look in the basement.
Ergo:
As next try I will install the “AHead” kernel, look what happens and report here.
bye
from the repository
hxxp://download.opensuse.org/repositories/Kernel:/stable/openSUSE_11.3/
install the kernel 2.6.36.2-4-desktop with all associated packages.
install mercurial
in some directory open the terminal and type:
hg clone hxxp://mercurial.intuxication.org/hg/s2-liplianin/
cd s2-liplianin
make
login as root with su and password.
type
make install
reboot.
Thanks for your help, you guys because you putted me on the right way!
And even more thanks to the great Igor!
Here is another solution to the problem with usb_buffer_alloc while compiling s2-liplianin out of the hg repository using openSUSE kernel 2.6.34.7 and it avoids changing the kernel to version 2.6.36:
Download the repo:
hg clone hxxp://mercurial.intuxication.org/hg/s2-liplianin/
cd s2-liplianin/v4l
open compat.h with your favorite editor and look for following lines (line 17):