Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 133249 - gentoo-sources-2.6.16-r7 - I2C should be automatically activated when v4l was activated
Summary: gentoo-sources-2.6.16-r7 - I2C should be automatically activated when v4l was...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: AMD64 Linux
: High minor (vote)
Assignee: Daniel Drake (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-05-13 17:33 UTC by Attila Stehr
Modified: 2006-06-02 11:16 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
config file for 2.6.16-gentoo-rt7 (config-2.6.16-gentoo-r7,30.86 KB, text/plain)
2006-05-14 08:24 UTC, Attila Stehr
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Attila Stehr 2006-05-13 17:33:57 UTC
When I compiled my kernel (configugarion was done by using make menuconfig) I got this error message:

------snip-----------------------------------------
  GEN     .version
  CHK     include/linux/compile.h
  UPD     include/linux/compile.h
  CC      init/version.o
  LD      init/built-in.o
  LD      .tmp_vmlinux1
drivers/built-in.o: In function `stv0299_writeregI':
stv0299.c:(.text+0xa20a9): undefined reference to `i2c_transfer'
drivers/built-in.o: In function `stv0299_readreg':
stv0299.c:(.text+0xa218b): undefined reference to `i2c_transfer'
drivers/built-in.o: In function `stv0299_readregs':
stv0299.c:(.text+0xa2251): undefined reference to `i2c_transfer'
drivers/built-in.o: In function `mt312_read':
mt312.c:(.text+0xa3305): undefined reference to `i2c_transfer'
drivers/built-in.o: In function `mt312_write':
mt312.c:(.text+0xa346a): undefined reference to `i2c_transfer'
drivers/built-in.o:: more undefined references to `i2c_transfer' follow
drivers/built-in.o: In function `flexcop_i2c_init':
: undefined reference to `i2c_add_adapter'
drivers/built-in.o: In function `flexcop_i2c_exit':
: undefined reference to `i2c_del_adapter'
make: *** [.tmp_vmlinux1] Fehler 1
------snip------------------------------------------

Then I checked the help message for the i2c entry and it says, that i2c is needed for 'video for linux'. So did I and make was successful then.

Since I do not know if such dependencies are set automatically I set the severity to "enhancement". Maybe there should be a comment in v4l that i2c has to be enabled too?!



Portage 2.0.54 (default-linux/amd64/2005.1, gcc-3.4.5, glibc-2.4-r2, 2.6.13-gentoo-r5 x86_64)
=================================================================
System uname: 2.6.13-gentoo-r5 x86_64 AMD Athlon(tm) 64 Processor 3000+
Gentoo Base System version 1.6.14
dev-lang/python:     2.3.5-r2, 2.4.2
dev-python/pycrypto: 2.0.1-r4
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O3 -ffast-math -funroll-all-loops -fpeel-loops -ftracer -funswitch-loops -funit-at-a-time -pipe -fomit-frame-pointer -fno-stack-protector"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/terminfo /usr/X11R6/bin/startx /etc/env.d"
CXXFLAGS="-march=athlon64 -O3 -ffast-math -funroll-all-loops -fpeel-loops -ftracer -funswitch-loops -funit-at-a-time -pipe -fomit-frame-pointer -fno-stack-protector"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig candy distlocks sandbox severe sfperms strict test"
GENTOO_MIRRORS="http://pandemonium.tiscali.de/pub/gentoo/ ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ ftp://ftp.gentoo.mesh-solutions.com/gentoo/ http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/"
LANG="de_DE.utf8"
LC_ALL="de_DE.utf8"
LINGUAS="de"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="7zip X a52 aac acpi alsa amd64 artworkextra asf audiofile avi berkdb bidi bitmap-fonts bzip2 bzlib cairo cdda cdio cdparanoia cdr cli crypt css cups curl dbus dga directfb dlloader dmalloc dnd dpms dri dts dvb dvd dvdr dvdread dvi eds effects emacs emboss encode esd exif expat fam fame fat fbcon ffmpeg firefox foomaticdb freetype gcj gdbm ggi gif gimpprint glut gmp gnome gnutls gpm gs gstreamer gtk gtk2 gtkhtml hal hardened howl hpn httpd idn imagemagick imlib ipv6 isdnlog ithreads javascript jpeg jpeg2k kde lcms libsamplerate libwww linuxthreads-tls live lzo lzw lzw-tiff matroska mbox memlimit milter mjpeg mmap mng mozcalendar mozdevelop mozsvg mp3 mpeg mpi nautilus ncurses nls nptl nptlonly nsplugin ntfs nvidia offensive ogg oggvorbis on-the-fly-crypt openal openexr opengl pam pcre pdflib perl png ppds pppd python qt quicktime readline reflection reiserfs rle sasl sdl session slang sndfile spell spl ssl stream svg symlink tcltk tcpd test tetex tga theora threads tidy tiff toolbar truetype truetype-fonts type1-fonts udev unicode usb userlocales vcd video_cards_nvidia videos vlm vorbis wmf wxwindows xine xml xml2 xmms xorg xosd xpm xprint xtermtoolbar xv xvid xvmc yv12 zlib linguas_de userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, INSTALL_MASK, LDFLAGS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS, PORTAGE_RSYNC_OPTS, PORTDIR_OVERLAY
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-05-13 20:47:10 UTC
Please, don't needlessly restrict bugs. We need your kernel .config. You also neglected to post kernel version.
Comment 2 Attila Stehr 2006-05-14 08:24:27 UTC
Created attachment 86750 [details]
config file for 2.6.16-gentoo-rt7

Sorry!

The attached file is the recent one ... so I 'activated' I2C _manually_ .
Comment 3 Attila Stehr 2006-05-14 08:26:30 UTC
reopening after committing .config as requested
kernel version  is 2.6.16-gentoo-r7
hardware set to AMD64
Comment 4 Daniel Drake (RETIRED) gentoo-dev 2006-06-02 11:16:38 UTC
Fixed in gentoo-sources-2.6.16-gentoo-r9 / genpatches-2.6.16-11