LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   VIA CN700 video driver FC4 kernel 2.6.17.11 (https://www.linuxquestions.org/questions/linux-hardware-18/via-cn700-video-driver-fc4-kernel-2-6-17-11-a-482376/)

cornelpdt 09-11-2006 06:34 AM

VIA CN700 video driver FC4 kernel 2.6.17.11
 
I have a FC4 distro that I have upgraded the kernel to a vanilla 2.6.17.11, because of compilation problems for a DVB card.

I have a VIA CN700 board. The video drivers are now broken. I am trying to compile their supplied FC4 drivers (P4M800CE-P4M800Pro-CN-CLEXF40063-kernel-src_20051215.tgz) under the ne kernel. I am getting the below error when compiling:

In file included from /lib/modules/2.6.17.11/build/include/linux/rwsem.h:27,
from /lib/modules/2.6.17.11/build/include/asm/semaphore.h:42,
from /lib/modules/2.6.17.11/build/include/linux/sched.h:20,
from /lib/modules/2.6.17.11/build/include/linux/mm.h:4,
from /lib/modules/2.6.17.11/build/include/linux/poll.h:11,
from /lib/modules/2.6.17.11/build/include/linux/videodev2.h:18,
from /lib/modules/2.6.17.11/build/include/linux/videodev.h:8,
from ../V4L_X/vialinux/via_v4l.h:28,
from ../V4L_X/vialinux/kernel_interface.h:50,
from via_v4l.c:29:
/lib/modules/2.6.17.11/build/include/asm/rwsem.h: In function â__down_readâ:
/lib/modules/2.6.17.11/build/include/asm/rwsem.h:105: error: syntax error before âKBUILD_BASENAMEâ
/lib/modules/2.6.17.11/build/include/asm/rwsem.h: In function â__down_writeâ:
/lib/modules/2.6.17.11/build/include/asm/rwsem.h:157: error: syntax error before âKBUILD_BASENAMEâ


============== Some details

============== lspci
00:00.0 Host bridge: VIA Technologies, Inc. P4M800CE Host Bridge
00:00.1 Host bridge: VIA Technologies, Inc. P4M800CE Host Bridge
00:00.2 Host bridge: VIA Technologies, Inc. P4M800CE Host Bridge
00:00.3 Host bridge: VIA Technologies, Inc. PT890 Host Bridge
00:00.4 Host bridge: VIA Technologies, Inc. P4M800CE Host Bridge
00:00.7 Host bridge: VIA Technologies, Inc. P4M800CE Host Bridge
00:01.0 PCI bridge: VIA Technologies, Inc. VT8237 PCI Bridge
00:08.0 Multimedia video controller: Brooktree Corporation Bt878 Video Capture (rev 11)
00:08.1 Multimedia controller: Brooktree Corporation Bt878 Audio Capture (rev 11)
00:0a.0 FireWire (IEEE 1394): VIA Technologies, Inc. IEEE 1394 Host Controller (rev 80)
00:0f.0 IDE interface: VIA Technologies, Inc. VIA VT6420 SATA RAID Controller (rev 80)
00:0f.1 IDE interface: VIA Technologies, Inc. VT82C586A/B/VT82C686/A/B/VT823x/A/C PIPC Bus Master IDE (rev 06)
00:10.0 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 81)
00:10.1 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 81)
00:10.2 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 81)
00:10.3 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 81)
00:10.4 USB Controller: VIA Technologies, Inc. USB 2.0 (rev 86)
00:11.0 ISA bridge: VIA Technologies, Inc. VT8237 ISA bridge [KT600/K8T800/K8T890 South]
00:11.5 Multimedia audio controller: VIA Technologies, Inc. VT8233/A/8235/8237 AC97 Audio Controller (rev 60)
00:12.0 Ethernet controller: VIA Technologies, Inc. VT6102 [Rhine-II] (rev 78)
01:00.0 VGA compatible controller: VIA Technologies, Inc.: Unknown device 3344 (rev 01)

============= uname -r
2.6.17.11

Thanks,
Cornel


All times are GMT -5. The time now is 04:59 PM.