Mailing List archive

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

[vdr] Re: Failing to compil with 2.6.8-rc2



I demand that Christian Gmeiner may or may not have written...

>> I demand that Christian Gmeiner may or may not have written...
>>> It's not possible to compile vdr with a 2.6.8-rc2 and dvb-cvs drivers :(
>>> How can i fix this?

>> [rewrapped]
>>> g++ -O3 -mcpu=pentium3 -march=pentium3 -mmmx -msse -funroll-loops -pipe \
[snip; "__user" problem]
>> Shouldn't that be /usr/include/linux/videodev.h from linux-kernel-headers
>> or some equivalent package?

> I have updated to the newest linux-headers (gentoo-box), but the problem is
> still here.

Hmm. If the headers which you're using *do* come from that package, there's
only one thing to do: report a bug.

>> I'm fairly sure that __user is markup to indicate which pointers have been
>> passed in from userspace. Consequently, if you're still planning on using
>> the headers for your current kernel, you'll need "-D__user".

> Where must i add "-D__user"?

CFLAGS, CXXFLAGS.

-- 
| Darren Salt | nr. Ashington, | d youmustbejoking,demon,co,uk
| Debian,     | Northumberland | s zap,tartarus,org
| RISC OS     | Toon Army      | @
|   Retrocomputing: a PC card in a Risc PC

int main() { while (1) puts("Hello world!"); }




Home | Main Index | Thread Index