Summary: | can't compile ffmpeg with raw 2.6 headers | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Arthur I. <me> |
Component: | [OLD] GCC Porting | Assignee: | Please assign to toolchain <gcc-porting> |
Status: | RESOLVED INVALID | ||
Severity: | major | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Arthur I.
2004-09-24 04:16:50 UTC
*** Bug 65181 has been marked as a duplicate of this bug. *** 1. install kernel 2.6.8 ( ln /usr/include/linux -> /usr/src/linux/include/linux ) i dont know what possessed you to do that but it's incredibly wrong why ??? linux, asm and etc dirs... are same as in linux sources ... linux26headers- just have older kernel sources than kernel 2.6.8 with all latest patches ...i doing this links more than 5 year of my work .. and always program worked fine.. videodev2.h are different than in linux26headers because gentoo-dev-sources are applied by patches and others.. ffmpeg - must be modified for fine compilation in future ..when files from gentoo-dev-sources will be in linux26headers.. i just make a symlinks /usr/include/asm -> /usr/src/linux/include/asm-i386 /usr/include/asm-generic -> /usr/src/linux/include/asm-generic /usr/include/linux -> /usr/src/linux/include/linux i this is correct .. in documentation for compilation kernel 2.2, 2.4 - this things are requered. and my kernel are worked find and all portages are compiling fine .. bug in ffmpeg... which can resolve some struct from headers.. because they are changed ... You should _never_ link userspace programs against Kernel headers in /usr/src/linus/include. Never, never, never! Read http://uwsg.iu.edu/hypermail/linux/kernel/0007.3/0587.html for more information about that. dont screw with the headers or you can fix the bugs yourself |