Re: [V4L] BTTV 7.39 Blues

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



Yes.....  Stupid me...

I killed that one this morning....  :-)

OK Here it is. Justin suggested that I use the 2.2.16 kernel so
I re-installed this box this morning.

Once again:

RH6.2
WinTV 848
Kernel 2.2.16 (Really this time!)


Installed lm_sensors and i2c.
They installed fine except for the fact that when I did a depmod -a I get
unresolved kernel sybols in i2c-phillips-par.
This is what I had AFTER I installed i2c and lm_sensors in my in
/proc/modules.

eeprom                  2924   0 (unused)
lm75                    2924   0 (unused)
sensors                 5564   0 [eeprom lm75]
i2c-piix4               3276   0 (unused)
i2c-core               11676   0 [eeprom lm75 sensors i2c-piix4]
es1371                 25888   0
soundcore               2596   4 [es1371]

Here is what lm_sensors advised me to put in conf.modules.


#----cut here----
# I2C adapter drivers
modprobe i2c-piix4
# I2C chip drivers
modprobe lm75
modprobe eeprom
#----cut here----

To make the sensors modules behave correctly, add these lines to either
/etc/modules.conf or /etc/conf.modules:

#----cut here----
# I2C module options
alias char-major-89 i2c-dev
#----cut here----

I added /usr/local/src to ld.so.conf like lmsensors advices.

I then goto compile 7.39 and I get this (I cut from where I think it goes
"bad") :-)

make[3]: Entering directory `/usr/local/src/bttv-0.7.39/driver'
gcc -D__KERNEL__ -I/usr/src/linux-2.2.16/include -Wall -Wstrict-prototypes
-O2 -fomit-frame-pointer -fno-strict-aliasing -pipe -fno-strength-reduce
-m486 -malign-loops=2 -malign-jumps=2 -malign-functions=2 -DCPU=686 -DMODULE
-DMODVERSIONS -include /usr/src/linux-2.2.16/include/linux/modversions.h
-DHAVE_TVAUDIO   -DEXPORT_SYMTAB -c kcompat24.c
In file included from kcompat24.c:30:
kcompat24.h:82: warning: `request_region' redefined
/usr/src/linux-2.2.16/include/linux/modules/ksyms.ver:392: warning: this is
the location of the previous definition
gcc -D__KERNEL__ -I/usr/src/linux-2.2.16/include -Wall -Wstrict-prototypes
-O2 -fomit-frame-pointer -fno-strict-aliasing -pipe -fno-strength-reduce
-m486 -malign-loops=2 -malign-jumps=2 -malign-functions=2 -DCPU=686 -DMODULE
-DMODVERSIONS -include /usr/src/linux-2.2.16/include/linux/modversions.h
-DHAVE_TVAUDIO   -c -o msp3400.o msp3400.c
In file included from msp3400.c:60:
kcompat24.h:82: warning: `request_region' redefined
/usr/src/linux-2.2.16/include/linux/modules/ksyms.ver:392: warning: this is
the location of the previous definition
msp3400.c:65: `I2C_CLIENT_END' undeclared here (not in a function)
msp3400.c:65: initializer element for `normal_i2c[0]' is not constant
msp3400.c:66: `I2C_CLIENT_END' undeclared here (not in a function)
msp3400.c:66: initializer element for `normal_i2c_range[2]' is not constant
msp3400.c:67: `I2C_CLIENT_END' undeclared here (not in a function)
msp3400.c:67: initializer element for `probe[0]' is not constant
msp3400.c:67: `I2C_CLIENT_END' undeclared here (not in a function)
msp3400.c:67: initializer element for `probe[1]' is not constant
msp3400.c:68: `I2C_CLIENT_END' undeclared here (not in a function)
msp3400.c:68: initializer element for `probe_range[0]' is not constant
msp3400.c:68: `I2C_CLIENT_END' undeclared here (not in a function)
msp3400.c:68: initializer element for `probe_range[1]' is not constant
msp3400.c:69: `I2C_CLIENT_END' undeclared here (not in a function)
msp3400.c:69: initializer element for `ignore[0]' is not constant
msp3400.c:69: `I2C_CLIENT_END' undeclared here (not in a function)
msp3400.c:69: initializer element for `ignore[1]' is not constant
msp3400.c:70: `I2C_CLIENT_END' undeclared here (not in a function)
msp3400.c:70: initializer element for `ignore_range[0]' is not constant
msp3400.c:70: `I2C_CLIENT_END' undeclared here (not in a function)
msp3400.c:70: initializer element for `ignore_range[1]' is not constant
msp3400.c:71: `I2C_CLIENT_END' undeclared here (not in a function)
msp3400.c:71: initializer element for `force[0]' is not constant
msp3400.c:71: `I2C_CLIENT_END' undeclared here (not in a function)
msp3400.c:71: initializer element for `force[1]' is not constant
msp3400.c:72: variable `addr_data' has initializer but incomplete type
msp3400.c:73: warning: excess elements in struct initializer after
`addr_data'
msp3400.c:73: warning: excess elements in struct initializer after
`addr_data'
msp3400.c:74: warning: excess elements in struct initializer after
`addr_data'
msp3400.c:74: warning: excess elements in struct initializer after
`addr_data'
msp3400.c:75: warning: excess elements in struct initializer after
`addr_data'
msp3400.c:75: warning: excess elements in struct initializer after
`addr_data'
msp3400.c:77: warning: excess elements in struct initializer after
`addr_data'
msp3400.c: In function `msp3400c_reset':
msp3400.c:139: warning: implicit declaration of function `i2c_master_send'
msp3400.c: In function `msp3400c_read':
msp3400.c:154: elements of array `msgs' have incomplete type
msp3400.c:155: dereferencing pointer to incomplete type
msp3400.c:155: warning: excess elements in struct initializer after `msgs[0]'

msp3400.c:155: warning: excess elements in struct initializer after `msgs[0]'

msp3400.c:155: warning: excess elements in struct initializer after `msgs[0]'

msp3400.c:155: warning: excess elements in struct initializer after `msgs[0]'

msp3400.c:156: dereferencing pointer to incomplete type
msp3400.c:156: warning: excess elements in struct initializer after `msgs[1]'

msp3400.c:156: `I2C_M_RD' undeclared (first use in this function)
msp3400.c:156: (Each undeclared identifier is reported only once
msp3400.c:156: for each function it appears in.)
msp3400.c:156: warning: excess elements in struct initializer after `msgs[1]'

msp3400.c:156: warning: excess elements in struct initializer after `msgs[1]'

msp3400.c:156: warning: excess elements in struct initializer after `msgs[1]'

msp3400.c:154: storage size of `msgs' isn't known
msp3400.c:163: warning: implicit declaration of function `i2c_transfer'
msp3400.c:163: dereferencing pointer to incomplete type
msp3400.c:154: warning: unused variable `msgs'
msp3400.c: In function `msp3400c_setmode':
msp3400.c:353: dereferencing pointer to incomplete type
msp3400.c: In function `msp3400c_setstereo':
msp3400.c:409: dereferencing pointer to incomplete type
msp3400.c: In function `autodetect_stereo':
msp3400.c:545: dereferencing pointer to incomplete type
msp3400.c: In function `watch_stereo':
msp3400.c:645: dereferencing pointer to incomplete type
msp3400.c: In function `msp3400c_thread':
msp3400.c:664: dereferencing pointer to incomplete type
msp3400.c: In function `msp3410d_thread':
msp3400.c:915: dereferencing pointer to incomplete type
msp3400.c: At top level:
msp3400.c:1093: warning: `struct i2c_adapter' declared inside parameter list
msp3400.c:1093: warning: its scope is only this definition or declaration,
msp3400.c:1093: warning: which is probably not what you want.
msp3400.c:1095: warning: `struct i2c_adapter' declared inside parameter list
msp3400.c:1101: unknown field `flags' specified in initializer
msp3400.c:1101: `I2C_DF_NOTIFY' undeclared here (not in a function)
msp3400.c:1101: initializer element for `driver.addr_l' is not constant
msp3400.c:1102: unknown field `attach_adapter' specified in initializer
msp3400.c:1102: warning: initialization makes integer from pointer without a
cast
msp3400.c:1102: initializer element for `driver.addr_h' is not computable at
load time
msp3400.c:1103: unknown field `detach_client' specified in initializer
msp3400.c:1103: warning: initialization from incompatible pointer type
msp3400.c:1104: warning: initialization from incompatible pointer type
msp3400.c:1107: variable `client_template' has initializer but incomplete
type
msp3400.c:1109: unknown field `name' specified in initializer
msp3400.c:1109: warning: excess elements in struct initializer after
`client_template'
msp3400.c:1110: unknown field `driver' specified in initializer
msp3400.c:1110: warning: excess elements in struct initializer after
`client_template'
msp3400.c:1114: warning: `struct i2c_adapter' declared inside parameter list
msp3400.c:1115: conflicting types for `msp_attach'
msp3400.c:1093: previous declaration of `msp_attach'
msp3400.c: In function `msp_attach':
msp3400.c:1121: invalid use of undefined type `struct i2c_client'
msp3400.c:1122: invalid use of undefined type `struct i2c_client'
msp3400.c:1129: sizeof applied to an incomplete type
msp3400.c:1131: sizeof applied to an incomplete type
msp3400.c:1131: sizeof applied to an incomplete type
msp3400.c:1131: sizeof applied to an incomplete type
msp3400.c:1142: dereferencing pointer to incomplete type
msp3400.c:1164: dereferencing pointer to incomplete type
msp3400.c:1182: dereferencing pointer to incomplete type
msp3400.c:1205: warning: implicit declaration of function `i2c_attach_client'

msp3400.c: In function `msp_detach':
msp3400.c:1212: dereferencing pointer to incomplete type
msp3400.c:1235: warning: implicit declaration of function `i2c_detach_client'

msp3400.c: At top level:
msp3400.c:1242: warning: `struct i2c_adapter' declared inside parameter list
msp3400.c:1243: conflicting types for `msp_probe'
msp3400.c:1095: previous declaration of `msp_probe'
msp3400.c: In function `msp_probe':
msp3400.c:1244: dereferencing pointer to incomplete type
msp3400.c:1244: `I2C_ALGO_BIT' undeclared (first use in this function)
msp3400.c:1244: `I2C_HW_B_BT848' undeclared (first use in this function)
msp3400.c:1245: warning: implicit declaration of function `i2c_probe'
msp3400.c: In function `msp_command':
msp3400.c:1251: dereferencing pointer to incomplete type
msp3400.c: In function `msp3400_init_module':
msp3400.c:1425: warning: implicit declaration of function `i2c_add_driver'
msp3400.c: In function `msp3400_cleanup_module':
msp3400.c:1431: warning: implicit declaration of function `i2c_del_driver'
make[3]: *** [msp3400.o] Error 1
make[3]: Leaving directory `/usr/local/src/bttv-0.7.39/driver'
make[2]: *** [_mod_/usr/local/src/bttv-0.7.39/driver] Error 2
make[2]: Leaving directory `/usr/src/linux-2.2.16'
make[1]: *** [here] Error 2
make[1]: Leaving directory `/usr/local/src/bttv-0.7.39/driver'
make: *** [bttv] Error 2


Could someone please advice as to what I doing wrong? If I can't use the msp3400 driver it's no

problem! I can use my line in for the audio.

--

Thanks,

Steve
mailto://stever@xxxxxxxxxxx
_______________________________________________________________________________
Stephen Russo
Denning Consulting Services
9400 Golden Valley Rd.                          Don't phear the Penquin
Golden Valley, MN 55427                         http://www.freshmeat.net
_______________________________________________________________________________







[Index of Archives]     [Linux DVB]     [Video Disk Recorder]     [Asterisk]     [Photo]     [DCCP]     [Netdev]     [Xorg]     [Util Linux NG]     [Xfree86]     [Free Photo Albums]     [Fedora Users]     [Fedora Women]     [ALSA Users]     [ALSA Devel]     [Linux USB]

Powered by Linux