2002-06-17 17:58:45

by Toby A Inkster

[permalink] [raw]
Subject: .i2c-old.ver.d: No such file or directory

-----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-----

--
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!


Attachments:
(No filename) (3.48 kB)
signature.txt (189.00 B)
For security, this message has been digitally signed.
Download all attachments

2002-06-17 18:09:34

by Kai Germaschewski

[permalink] [raw]
Subject: Re: .i2c-old.ver.d: No such file or directory

On Mon, 17 Jun 2002, Toby Inkster wrote:

> 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
> 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



2002-06-19 18:03:21

by Ricky Beam

[permalink] [raw]
Subject: Re: .i2c-old.ver.d: No such file or directory

On Mon, 17 Jun 2002, Kai Germaschewski wrote:
>On Mon, 17 Jun 2002, Toby Inkster wrote:
>> Below are the last few lines of output before the errors start. I can send my .config if anyone thinks it might help.
...
>> 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


2002-06-21 22:28:49

by Alan

[permalink] [raw]
Subject: Re: .i2c-old.ver.d: 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

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