Re: DiB3000MC rewritten and MT2060 is ready to go into main

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 31 Jul, Trent Piepho wrote:
> On Mon, 31 Jul 2006, Klaus Frahm wrote:
>> However with Suse 10.1 there is some annoying build problem, after make
>> on gets:
>>
>> File not found: /lib/modules/2.6.16.13-4-smp/build/include/linux/config.h at ./scripts/make_kconfig.pl line 27.
> 
> This is because that filem include/linux/config.h, is no longer part of the
> kernel.
> 
> The make_kconfig.pl script should just be changed to read autoconf.h, which
> is still there.
> 
> Or maybe the part of the build script that reads this file should just be
> removed.

Actually, technically the config.h still exists but it is only kept for
backward compatibility:
---------------------
#ifndef _LINUX_CONFIG_H
#define _LINUX_CONFIG_H
/* This file is no longer in use and kept only for backward compatibility.
 * autoconf.h is now included via -imacros on the commandline
 */
#include <linux/autoconf.h>

#endif
---------------------
Therefore the compilation with vanilla kernels works fine. However, Suse
has done this artificial distinction between build and source directory
and in the build directory config.h is not available but autoconf.h is.
I suppose you are right and that replacing config.h by autoconf.h in the
perl script should solve the problem for Suse 10.1 without breaking
other cases (vanilla kernel and other distributions).

Greetings, Klaus.

_______________________________________________

linux-dvb@xxxxxxxxxxx
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

[Index of Archives]     [Linux Media]     [Video 4 Linux]     [Asterisk]     [Samba]     [Xorg]     [Xfree86]     [Linux USB]

  Powered by Linux