linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* -ac series won't compile without fix
@ 2002-06-05 11:49 Kristian Peters
  2002-06-06 12:21 ` David Woodhouse
  0 siblings, 1 reply; 4+ messages in thread
From: Kristian Peters @ 2002-06-05 11:49 UTC (permalink / raw)
  To: linux-kernel

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: -ac series won't compile without fix
  2002-06-05 11:49 -ac series won't compile without fix Kristian Peters
@ 2002-06-06 12:21 ` David Woodhouse
  2002-06-10 20:14   ` David Ford
  0 siblings, 1 reply; 4+ messages in thread
From: David Woodhouse @ 2002-06-06 12:21 UTC (permalink / raw)
  To: Kristian Peters; +Cc: linux-kernel


kristian.peters@korseby.net 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



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: -ac series won't compile without fix
  2002-06-06 12:21 ` David Woodhouse
@ 2002-06-10 20:14   ` David Ford
  2002-06-10 20:28     ` Kristian Peters
  0 siblings, 1 reply; 4+ messages in thread
From: David Ford @ 2002-06-10 20:14 UTC (permalink / raw)
  To: David Woodhouse; +Cc: Kristian Peters, linux-kernel, Alan Cox

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:

>kristian.peters@korseby.net 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 majordomo@vger.kernel.org
>More majordomo info at  http://vger.kernel.org/majordomo-info.html
>Please read the FAQ at  http://www.tux.org/lkml/
>  
>


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: -ac series won't compile without fix
  2002-06-10 20:14   ` David Ford
@ 2002-06-10 20:28     ` Kristian Peters
  0 siblings, 0 replies; 4+ messages in thread
From: Kristian Peters @ 2002-06-10 20:28 UTC (permalink / raw)
  To: David Ford; +Cc: dwmw2, linux-kernel, alan

David Ford <david+cert@blue-labs.org> 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
  :.........................:

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2002-06-10 20:32 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-06-05 11:49 -ac series won't compile without fix Kristian Peters
2002-06-06 12:21 ` David Woodhouse
2002-06-10 20:14   ` David Ford
2002-06-10 20:28     ` Kristian Peters

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).