LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-24-2004, 02:57 AM   #1
j0han
LQ Newbie
 
Registered: Sep 2002
Location: Sweden
Distribution: Slackware
Posts: 7

Rep: Reputation: 0
ivtv driver


Hey!

I know there have been threads about the "same" problem, but can't get it to work.. :/ maby someone can help me?

Running Debian Sarge custom 2.6.8

Getting this error all the time trying to compile the ivtv driver :/
using an WinTV-PVR 350.

~/ivtv/driver$ make clean
rm -f *.o *~ core

~/ivtv/driver$ make
gcc -D__KERNEL__ -D__KERNEL_SYSCALLS__ -DMODULE -DMODVERSIONS -I/lib/modules/2.6.8-20041123/build/include -O2 -fomit-frame-pointer -march=i586 -mcpu=i586 -fno-strict-aliasing -Wno-unused -include /lib/modules/2.6.8-20041123/build/include/linux/modversions.h -c -o msp3400.o msp3400.c
<command line>:138473769:61808: /lib/modules/2.6.8-20041123/build/include/linux/modversions.h: No such file or directory
msp3400.c: In function `msp3400c_set_scart':
msp3400.c:344: error: structure has no member named `data'
msp3400.c: In function `msp3400c_setmode':
msp3400.c:408: error: structure has no member named `data'
msp3400.c: In function `msp3400c_setstereo':
msp3400.c:481: error: structure has no member named `data'
msp3400.c: In function `msp3400c_restore_dfp':
msp3400.c:609: error: structure has no member named `data'
msp3400.c: In function `autodetect_stereo':
msp3400.c:637: error: structure has no member named `data'
msp3400.c: In function `watch_stereo':
msp3400.c:737: error: structure has no member named `data'
msp3400.c: In function `msp3400c_thread':
msp3400.c:756: error: structure has no member named `data'
msp3400.c:761: error: too few arguments to function `daemonize'
msp3400.c:765: error: structure has no member named `sigmask_lock'
msp3400.c:767: error: structure has no member named `sigmask_lock'
msp3400.c: In function `msp3410d_thread':
msp3400.c:1011: error: structure has no member named `data'
msp3400.c:1014: error: too few arguments to function `daemonize'
msp3400.c:1018: error: structure has no member named `sigmask_lock'
msp3400.c:1020: error: structure has no member named `sigmask_lock'
msp3400.c: In function `msp_attach':
msp3400.c:1282: error: structure has no member named `data'
msp3400.c:1333: warning: `MOD_INC_USE_COUNT' is deprecated (declared at /lib/modules/2.6.8-20041123/build/include/linux/module.h:555)
msp3400.c: In function `msp_detach':
msp3400.c:1357: error: structure has no member named `data'
msp3400.c:1383: warning: `MOD_DEC_USE_COUNT' is deprecated (declared at /lib/modules/2.6.8-20041123/build/include/linux/module.h:567)
msp3400.c: In function `msp_probe':
msp3400.c:1390: warning: passing arg 3 of `i2c_probe' from incompatible pointer type
msp3400.c: In function `msp_wake_thread':
msp3400.c:1396: error: structure has no member named `data'
msp3400.c: In function `msp_command':
msp3400.c:1408: error: structure has no member named `data'
make: *** [msp3400.o] Error 1

Thanks in advice,
/Johan
 
Old 11-24-2004, 03:38 AM   #2
rjlee
Senior Member
 
Registered: Jul 2004
Distribution: Ubuntu 7.04
Posts: 1,994

Rep: Reputation: 76
/lib/modules/2.6.8-20041123/build/include/linux/modversions.h

This file is missing, which is also (probably) causing the other errors you are seeing. Check where the file modversions.h is (try using locate) and change the path to this file (either edit the makefile, or recompile this file by hand using the gcc line, changing the path to this file).

This file is part of your kernel configuration, so it would probably help to have the kernel installed, and do a
Code:
make cloneconfig
from the kernel-source's top-level directory (usually /usr/src/linux)
 
Old 11-24-2004, 06:14 AM   #3
j0han
LQ Newbie
 
Registered: Sep 2002
Location: Sweden
Distribution: Slackware
Posts: 7

Original Poster
Rep: Reputation: 0
Helped me abit.. but still having the "msp3400.c:609: error: structure has no member named `data'" etc errors :/
 
Old 11-24-2004, 03:38 PM   #4
Electro
LQ Guru
 
Registered: Jan 2002
Posts: 6,042

Rep: Reputation: Disabled
I got the same probem, so I looked in the file msp3400.c and saw msp3400.h and audochip.h. They need to be in the same directory as msp3400.c or else you have to edit it. I copied *.h (headers) from the utils directory to the driver directory. I said this in eariler post. You need to make sure /usr/src/linux is linked to the source code of your kernel.

BTW, do not forget to extract the firmware too.
 
Old 12-01-2004, 01:45 AM   #5
j0han
LQ Newbie
 
Registered: Sep 2002
Location: Sweden
Distribution: Slackware
Posts: 7

Original Poster
Rep: Reputation: 0
Hey,

Made it easy for me. Installed FC3 and followed this howto -> http://www.wilsonet.com/mythtv/fcmyth.php
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Ivtv WolfCub Linux - General 18 05-17-2005 10:12 AM
IVTV Driver Util Trouble zgauthier Linux - Software 0 12-29-2004 07:39 PM
modprobe ivtv Lobais Linux - Software 3 12-29-2004 06:35 AM
ivtv driver compile problems Pcghost Linux - Hardware 9 12-13-2004 10:39 AM
ivtv driver j0han Linux - Hardware 3 11-24-2004 12:06 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:49 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration