Re: build #355 issue for v2.6.25-rc2-15-g1309d4e in functionv4l2_i2c_attach

From: Mauro Carvalho Chehab
Date: Mon Feb 18 2008 - 12:08:27 EST


Hi Rafael,

> > > drivers/built-in.o: In function `v4l2_i2c_attach':
> > > (.text+0x26c67): undefined reference to `i2c_attach_client'
> > > make: *** [.tmp_vmlinux1] Error 1
> >
> > This bug were already fixed. I'm waiting for Linus to pull. The patches fixing
> > it are available at:
> >
> > http://git.kernel.org/?p=linux/kernel/git/mchehab/v4l-dvb.git
>
> Specific commits or just everything?

There are three commits for this broken dependency, covered by bug #9823:
http://git.kernel.org/?p=linux/kernel/git/mchehab/v4l-dvb.git;a=commitdiff;h=a9254475bbfbed5f0596d952c6a3c9806e19dd0b
http://git.kernel.org/?p=linux/kernel/git/mchehab/v4l-dvb.git;a=commitdiff;h=1a4e30c3eaffb83218977477bb83d54316844acb
http://git.kernel.org/?p=linux/kernel/git/mchehab/v4l-dvb.git;a=commitdiff;h=057596eea8402aa8f7a670bf3195665aa8267204

The above commits move some code from v4l2-common into videodev and fixes
Kconfig. After the three patches, videodev is not dependent anymore of
v4l2-common.

You should notice also that bug #9965 (marked as duplicate) pointed to the
above bug, and also to another one:
ERROR: "release_firmware" [drivers/media/video/tuner-xc2028.ko] undefined!
ERROR: "request_firmware" [drivers/media/video/tuner-xc2028.ko] undefined!

The second bug is fixed by a separate commit:
http://git.kernel.org/?p=linux/kernel/git/mchehab/v4l-dvb.git;a=commit;h=ea35e3a754b2ba5f712c3f4df55e426ae2e4d60a

Cheers,
Mauro
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/