Skip to contentSkip to conversation

.i2c-old.ver.d: No such file or directory

DISCUSSION Toby Inkster 4 participants 4 messages Jun 17, 2002 – Jun 21, 2002

lore
Share & tools
lore
#0 lore raw

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I'm experiencing an odd problem during "make dep". This is with 2.5.22, although it happened with 2.5.21 too.

Below are the last few lines of output before the errors start. I can send my .config if anyone thinks it might help.

mkdir -p /usr/src/linux-2.5.22/include/linux/modules/drivers/media/video/; gcc -E -Wp,-MD,/usr/src/linux-2.5.22/include/linux/modules/drivers/media/video/.video-buf.ver.d -D__KERNEL__ -I/usr/src/linux-2.5.22/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i686 -nostdinc -iwithprefix include -DKBUILD_BASENAME=video_buf video-buf.c | /sbin/genksyms -k 2.5.22 > /usr/src/linux-2.5.22/include/linux/modules/drivers/media/video/video-buf.ver.tmp; if [ ! -r /usr/src/linux-2.5.22/include/linux/modules/drivers/media/video/video-buf.ver ] || cmp -s /usr/src/linux-2.5.22/include/linux/modules/drivers/media/video/video-buf.ver /usr/src/linux-2.5.22/include/linux/modules/drivers/media/video/video-buf.ver.tmp; then touch /usr/src/linux-2.5.22/include/linux/modversions.h; fi; mv -f /usr/src/linux-2.5.22/include/linux/modules/drivers/media/video/video-buf.ver.tmp /usr/src/linux-2.5.22
/include/linux/modules/drivers/media/video/video-buf.ver
mkdir -p /usr/src/linux-2.5.22/include/linux/modules/drivers/media/video/; gcc -E -Wp,-MD,/usr/src/linux-2.5.22/include/linux/modules/drivers/media/video/.i2c-old.ver.d -D__KERNEL__ -I/usr/src/linux-2.5.22/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i686 -nostdinc -iwithprefix include -DKBUILD_BASENAME=i2c_old i2c-old.c | /sbin/genksyms -k 2.5.22 > /usr/src/linux-2.5.22/include/linux/modules/drivers/media/video/i2c-old.ver.tmp; if [ ! -r /usr/src/linux-2.5.22/include/linux/modules/drivers/media/video/i2c-old.ver ] || cmp -s /usr/src/linux-2.5.22/include/linux/modules/drivers/media/video/i2c-old.ver /usr/src/linux-2.5.22/include/linux/modules/drivers/media/video/i2c-old.ver.tmp; then touch /usr/src/linux-2.5.22/include/linux/modversions.h; fi; mv -f /usr/src/linux-2.5.22/include/linux/modules/drivers/media/video/i2c-old.ver.tmp /usr/src/linux-2.5.22/include/linux/m
odules/drivers/media/video/i2c-old.ver
i2c-old.c:17:27: linux/i2c-old.h: No such file or directory /usr/src/linux-2.5.22/include/linux/modules/drivers/media/video/.i2c-old.ver.d: No such file or directory make[5]: *** [/usr/src/linux-2.5.22/include/linux/modules/drivers/media/video/i2c-old.ver] Error 2 make[5]: Leaving directory `/usr/src/linux-2.5.22/drivers/media/video'
make[4]: *** [video] Error 2
make[4]: Leaving directory `/usr/src/linux-2.5.22/drivers/media'
make[3]: *** [media] Error 2
make[3]: Leaving directory `/usr/src/linux-2.5.22/drivers'
make[2]: *** [_sfdep_drivers] Error 2
make[2]: Leaving directory `/usr/src/linux-2.5.22'
make[1]: *** [include/linux/modversions.h] Error 2
make[1]: Leaving directory `/usr/src/linux-2.5.22'
make: *** [.hdepend] Error 2
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD4DBQE9DgLKzr+BKGoqfTkRAjiqAKCpyQyzfVoyHCCKUoS/V0cFgq5/2wCXezNg cCU6GUFP0bJX8CRV3/Slxg==
=ZJCY
-----END PGP SIGNATURE-----

Signature · 5 lines
T. Inkster {e-mail tobyink<at>goddamn.co.uk}{web goddamn.co.uk/tobyink/}
{please encrypt private e-mails goddamn.co.uk/tobyink/personal/pgp.html}
{jabber tobyink<at>amessage.de}{icq #6622880}{aim inka80}{yahoo tobyink}

Yow!  It's a hole all the way to downtown Burbank!

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE9DiO6zr+BKGoqfTkRArvqAJ9jPCMwGr0tiFcqPIDtdDXgWm3dagCfbLO4 L5XgDqm4ij5jHrMb+UsVb08=
=rd15
-----END PGP SIGNATURE-----

#1 lore raw
Quoted 3 lines · Toby Inkster

Below are the last few lines of output before the errors start. I can send my .config if anyone thinks it might help.

mkdir -p /usr/src/linux-2.5.22/include/linux/modules/drivers/media/video/; gcc -E -Wp,-MD,/usr/src/linux-2.5.22/include/linux/modules/drivers/media/video/.i2c-old.ver.d -D__KERNEL__ -I/usr/src/linux-2.5.22/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i686 -nostdinc -iwithprefix include -DKBUILD_BASENAME=i2c_old i2c-old.c | /sbin/genksyms -k 2.5.22 > /usr/src/linux-2.5.22/include/linux/modules/drivers/media/video/i2c-old.ver.tmp; if [ ! -r /usr/src/linux-2.5.22/include/linux/modules/drivers/media/video/i2c-old.ver ] || cmp -s /usr/src/linux-2.5.22/include/linux/modules/drivers/media/video/i2c-old.ver /usr/src/linux-2.5.22/include/linux/modules/drivers/media/video/i2c-old.ver.tmp; then touch /usr/src/linux-2.5.22/include/linux/modversions.h; fi; mv -f /usr/src/linux-2.5.22/include/linux/modules/drivers/media/video/i2c-old.ver.tmp /usr/src/linux-2.5.22/include/linu!

x/m

Quoted 2 lines

odules/drivers/media/video/i2c-old.ver
i2c-old.c:17:27: linux/i2c-old.h: No such file or directory

The problem is that the i2c code is currently broken, it includes linux/i2c-old.h which doesn't exist. You'll see the error much more clearly if you run "make KBUILD_VERBOSE= dep" ;)

For now, you should disable I2C in your .config.

--Kai

#2 lore raw
Quoted 2 lines · Kai Germaschewski
Quoted 1 line · Toby Inkster

Below are the last few lines of output before the errors start. I can send my .config if anyone thinks it might help.

...

Quoted 5 lines
Quoted 1 line

i2c-old.c:17:27: linux/i2c-old.h: No such file or directory

The problem is that the i2c code is currently broken, it includes linux/i2c-old.h which doesn't exist. You'll see the error much more clearly if you run "make KBUILD_VERBOSE= dep" ;)

Yes. This is due to the "New and Improved Build System (tm)". (It's not really new -- kbuild has been around as an option for a long time. And it's very certainly *not* currently an improvement.) Get used to a lot being broken in interesting ways for a while.

I just love the way the road to progress is paved with a high density of nuclear land mines. What a very lovely mess kbuild integration is creating.

I like the idea of "build in one pass", but that's kind of annoying in a very broken development branch. When I enter "make bzImage" that and only that is what I (and almost everyone who builds kernels) expect to be built.

As one who used to manage source code for a living, let me share a simple
rule: never break the build system; when the build is broken, NO ONE gets anything done. One cannot completely replace a build environment over night. (esp. when there are as many fingers in the pie as Linux.)

--Ricky

#3 lore raw
Quoted 6 lines
Quoted 3 lines

The problem is that the i2c code is currently broken, it includes linux/i2c-old.h which doesn't exist. You'll see the error much more clearly if you run "make KBUILD_VERBOSE= dep" ;)

Yes. This is due to the "New and Improved Build System (tm)". (It's not really new -- kbuild has been around as an option for a long time. And

No its because a file was deleted to persuade people to stop using stuff that was going away for 2.4 and finally did