You are not logged in.

#1 2005-05-30 02:40:33

Cam
Member
From: Brisbane, Aus
Registered: 2004-12-21
Posts: 658
Website

kernel compile error and v4l

My new TV tuner card arrived today, here's a link. I've installed it in my case no worries but now I'm trying to recompile my kernel with Video4Linux and the correct module for this card and I'm having some issues. acid told me that the cx88 module should work fine for this card, in the V4L submenu I couldn't find my exact Conexant chip listed so I read all the help for each one listed. The 22702 mentioned VIDEO_CX88 and VIDEO_CX88_DVB so I picked that one, saved and ran make but here's what I got.

[root@sylvester linux]# make
  CHK     include/linux/version.h
  SPLIT   include/linux/autoconf.h -> include/config/*
make[1]: `arch/i386/kernel/asm-offsets.s' is up to date.
  CHK     include/asm-i386/asm_offsets.h
  CHK     include/linux/compile.h
dnsdomainname: Unknown host
  CHK     usr/initramfs_list
  GZIP    kernel/config_data.gz
  IKCFG   kernel/config_data.h
  CC      kernel/configs.o
  LD      kernel/built-in.o
  GEN     .version
  CHK     include/linux/compile.h
dnsdomainname: Unknown host
  UPD     include/linux/compile.h
  CC      init/version.o
  LD      init/built-in.o
  LD      .tmp_vmlinux1
drivers/built-in.o(.text+0x997e6): In function `writereg':
: undefined reference to `i2c_master_send'
drivers/built-in.o(.text+0x998b8): In function `readreg':
: undefined reference to `i2c_transfer'
drivers/built-in.o(.text+0x99907): In function `pll_write4':
: undefined reference to `i2c_master_send'
drivers/built-in.o(.text+0x9a155): In function `cx22702_release':
: undefined reference to `i2c_detach_client'
drivers/built-in.o(.text+0x9a163): In function `cx22702_release':
: undefined reference to `i2c_detach_client'
drivers/built-in.o(.text+0x9a412): In function `cx22702_attach':
: undefined reference to `i2c_attach_client'
drivers/built-in.o(.text+0x9a41e): In function `cx22702_attach':
: undefined reference to `i2c_attach_client'
drivers/built-in.o(.text+0x9a448): In function `cx22702_attach':
: undefined reference to `i2c_detach_client'
drivers/built-in.o(.init.text+0x693b): In function `init_cx22702':
: undefined reference to `i2c_add_driver'
drivers/built-in.o(.init.text+0x6947): In function `init_cx22702':
: undefined reference to `i2c_add_driver'
drivers/built-in.o(.exit.text+0x53e): In function `exit_cx22702':
: undefined reference to `i2c_del_driver'
drivers/built-in.o(.exit.text+0x54a): In function `exit_cx22702':
: undefined reference to `i2c_del_driver'
make: *** [.tmp_vmlinux1] Error 1

The source is 2.6.11-morph8 which without the modules added compiles fine. My gcc version is 3.4.3 and below is the relevant part of the .config file. Any ideas would be very much appreciated smile

#
# Video For Linux
#

#
# Video Adapters
#
# CONFIG_VIDEO_CPIA is not set
# CONFIG_VIDEO_STRADIS is not set
# CONFIG_VIDEO_MXB is not set
# CONFIG_VIDEO_DPC is not set
# CONFIG_VIDEO_HEXIUM_ORION is not set
# CONFIG_VIDEO_HEXIUM_GEMINI is not set

#
# Radio Adapters
#
# CONFIG_RADIO_GEMTEK_PCI is not set
# CONFIG_RADIO_MAXIRADIO is not set
# CONFIG_RADIO_MAESTRO is not set

#
# Digital Video Broadcasting Devices
#
CONFIG_DVB=y
CONFIG_DVB_CORE=y

#
# Supported SAA7146 based PCI Adapters
#
# CONFIG_DVB_AV7110 is not set
# CONFIG_DVB_BUDGET is not set
# CONFIG_DVB_BUDGET_CI is not set
# CONFIG_DVB_BUDGET_AV is not set

#
# Supported USB Adapters
#
# CONFIG_DVB_TTUSB_BUDGET is not set
# CONFIG_DVB_TTUSB_DEC is not set
# CONFIG_DVB_DIBUSB is not set
# CONFIG_DVB_CINERGYT2 is not set

#
# Supported FlexCopII (B2C2) Adapters
#
# CONFIG_DVB_B2C2_SKYSTAR is not set
# CONFIG_DVB_B2C2_USB is not set

#
# Supported BT878 Adapters
#

#
# Supported DVB Frontends
#

#
# Customise DVB Frontends
#

#
# DVB-S (satellite) frontends
#
# CONFIG_DVB_STV0299 is not set
# CONFIG_DVB_CX24110 is not set
# CONFIG_DVB_TDA8083 is not set
# CONFIG_DVB_TDA80XX is not set
# CONFIG_DVB_MT312 is not set
# CONFIG_DVB_VES1X93 is not set

#
# DVB-T (terrestrial) frontends
#
# CONFIG_DVB_SP8870 is not set
# CONFIG_DVB_SP887X is not set
# CONFIG_DVB_CX22700 is not set
CONFIG_DVB_CX22702=y
# CONFIG_DVB_L64781 is not set
# CONFIG_DVB_TDA1004X is not set
# CONFIG_DVB_NXT6000 is not set
# CONFIG_DVB_MT352 is not set
# CONFIG_DVB_DIB3000MB is not set
# CONFIG_DVB_DIB3000MC is not set

#
# DVB-C (cable) frontends
#
# CONFIG_DVB_ATMEL_AT76C651 is not set
# CONFIG_DVB_VES1820 is not set
# CONFIG_DVB_TDA10021 is not set
# CONFIG_DVB_STV0297 is not set

#
# ATSC (North American/Korean Terresterial DTV) frontends
#
# CONFIG_DVB_NXT2002 is not set
# CONFIG_DVB_OR51132 is not set

Offline

#2 2005-05-31 11:05:45

Cam
Member
From: Brisbane, Aus
Registered: 2004-12-21
Posts: 658
Website

Re: kernel compile error and v4l

Well for anyone interested, I simply needed to enable the I2C functions and it compiled fine.

Offline

Board footer

Powered by FluxBB