Hi Peter and Hans, On Wed, Jun 20, 2012 at 3:19 AM, Hans Verkuil <hverkuil@xxxxxxxxx> wrote: > On 19/06/12 21:41, Peter Senna Tschudin wrote: >> >> Full diff: >> http://pastebin.com/BJS2EXcH >> >> On Tue, Jun 19, 2012 at 4:39 PM, Peter Senna Tschudin >> <peter.senna@xxxxxxxxx> wrote: >>> >>> Hans, >>> >>> I've: >>> [peter@ace tmp]$ diff linux-2.6.35.13/scripts/mod/file2alias.c >>> linux-3.4.3/scripts/mod/file2alias.c >>> >>> And found: >>> 727a840 >>>> >>>> ADD_TO_DEVTABLE("i2c", struct i2c_device_id, do_i2c_entry); >>> >>> >>> This line only exists on 3.4.3 version of file2alias.c. Isn't this why >>> it successfully compile with newer Kernel? > > > That looks very promising! I never thought to look for differences in > file2alias.c. > I'll try this later this week. > I've compiled remotes/linuxtv/staging/for_v3.0 branch from linuxtv tree using gcc 4.7.1. Here are gcc specs: Using built-in specs. COLLECT_GCC=/usr/i686-pc-linux-gnu/gcc-bin/4.7.0/gcc COLLECT_LTO_WRAPPER=/usr/libexec/gcc/i686-pc-linux-gnu/4.7.0/lto-wrapper Target: i686-pc-linux-gnu Configured with: /var/tmp/portage/sys-devel/gcc-4.7.0/work/gcc-4.7.0/configure --prefix=/usr --bindir=/usr/i686-pc-linux-gnu/gcc-bin/4.7.0 --includedir=/usr/lib/gcc/i686-pc-linux-gnu/4.7.0/include --datadir=/usr/share/gcc-data/i686-pc-linux-gnu/4.7.0 --mandir=/usr/share/gcc-data/i686-pc-linux-gnu/4.7.0/man --infodir=/usr/share/gcc-data/i686-pc-linux-gnu/4.7.0/info --with-gxx-include-dir=/usr/lib/gcc/i686-pc-linux-gnu/4.7.0/include/g++-v4 --host=i686-pc-linux-gnu --build=i686-pc-linux-gnu --disable-altivec --disable-fixed-point --without-ppl --without-cloog --enable-lto --enable-nls --without-included-gettext --with-system-zlib --disable-werror --enable-secureplt --disable-multilib --enable-libmudflap --disable-libssp --disable-libgomp --with-python-dir=/share/gcc-data/i686-pc-linux-gnu/4.7.0/python --enable-checking=release --disable-libgcj --disable-libquadmath --with-arch=i686 --enable-languages=c,c++ --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu --enable-targets=all --with-bugurl=http://bugs.gentoo.org/ --with-pkgversion='Gentoo 4.7.0 p1.1, pie-0.5.3' Thread model: posix gcc version 4.7.0 (Gentoo 4.7.0 p1.1, pie-0.5.3) I can compile it without errors. I'm far from expert, but I'm confused by the fact that __mod_i2c_device_table reports 18 in size in Hans first mail. Could you send us the output of this command: objdump -D -z drivers/media/video/tuner.o ? I hope I'm not messing things. Regards, Ezequiel. -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html