2002-06-05 11:49:28

by Kristian Peters

[permalink] [raw]
Subject: -ac series won't compile without fix

Hello.

I'm unable to compile the -ac series correctly. A "make mrproper" does not help here.

$ make bzImage
make -r -f tmp_include_depends all
make[1]: Entering directory `/usr/src/linux-2.4.19-pre10-ac1'
make[1]: *** No rule to make target `/usr/src/linux-2.4.19-pre10-ac1/fs/inflate_fs/infblock.h', needed by `/usr/src/linux-2.4.19-pre10-ac1/fs/inflate_fs/infcodes.h'. Stop.
make[1]: Leaving directory `/usr/src/linux-2.4.19-pre10-ac1'
make: *** [tmp_include_depends] Error 2



It seems that 3 files are missing in the dir "fs/inflate_fs/". When I symlink them, it would compile correctly:

cd /usr/src/linux-2.4.19-pre10-ac1
cd /fs/inflate_fs
ln -s ../../lib/zlib_inflate/infblock.h .
ln -s ../../lib/zlib_inflate/infcodes.h .
ln -s ../../lib/zlib_inflate/inftrees.h .

What's wrong here ? I can provide my config but I don't want to spam the list. I already searched the list for this problem without luck.

BTW: This problem is also present in earlier -ac patches.

Thanks, *Kristian

:... [snd.science] ...:
:: _o)
:: http://www.korseby.net /\\
:: http://gsmp.sf.net _\_V
:.........................:


2002-06-06 12:21:14

by David Woodhouse

[permalink] [raw]
Subject: Re: -ac series won't compile without fix


[email protected] said:
> I'm unable to compile the -ac series correctly. A "make mrproper"
> does not help here.

> make[1]: *** No rule to make target `/usr/src/linux-2.4.19-pre10-ac1/fs/inflate_fs/infblock.h', needed by `/usr/src/linux-2.4.19-pre10-ac1/fs/inflate_fs/infcodes.h'. Stop.

This is one of many symptoms of the broken kbuild system in current 2.4 and
2.5 kernels. You need to re-run 'make dep'.

--
dwmw2


2002-06-10 20:15:10

by David Ford

[permalink] [raw]
Subject: Re: -ac series won't compile without fix

So in other words...

$ tar zxf linux.tar.bz2
$ patch -p1 < patch
$ cp /boot../.config .
$ make oldconfig
$ make dep clean
$ make -j3 bzImage
$ make dep
$ make -j3 bzImage

That about cover it? Still doesn't work. I'm using -ac2.

-d


David Woodhouse wrote:

>[email protected] said:
>
>
>>I'm unable to compile the -ac series correctly. A "make mrproper"
>>does not help here.
>>
>>
>
>
>
>>make[1]: *** No rule to make target `/usr/src/linux-2.4.19-pre10-ac1/fs/inflate_fs/infblock.h', needed by `/usr/src/linux-2.4.19-pre10-ac1/fs/inflate_fs/infcodes.h'. Stop.
>>
>>
>
>This is one of many symptoms of the broken kbuild system in current 2.4 and
>2.5 kernels. You need to re-run 'make dep'.
>
>--
>dwmw2
>
>
>-
>To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
>the body of a message to [email protected]
>More majordomo info at http://vger.kernel.org/majordomo-info.html
>Please read the FAQ at http://www.tux.org/lkml/
>
>

2002-06-10 20:32:08

by Kristian Peters

[permalink] [raw]
Subject: Re: -ac series won't compile without fix

David Ford <[email protected]> wrote:
> So in other words...
>
> $ tar zxf linux.tar.bz2
> $ patch -p1 < patch
> $ cp /boot../.config .
> $ make oldconfig
> $ make dep clean
> $ make -j3 bzImage
> $ make dep
> $ make -j3 bzImage
>
> That about cover it? Still doesn't work. I'm using -ac2.

I must do a "make mrproper" after applying the patch or after a failed "make dep". (saving the .config is important ;) Then it works for me..

*Kristian

:... [snd.science] ...:
:: _o)
:: http://www.korseby.net /\\
:: http://gsmp.sf.net _\_V
:.........................: