2013-05-20 23:58:25

by Larry Finger

[permalink] [raw]
Subject: Build problem with current git repo

Pulling from the git repo today and trying to do a 'make menuconfig' results in
the following error:

finger@larrylap:~/backports/backport> make menuconfig
Makefile.real:1: versions: No such file or directory
make[1]: *** No rule to make target `versions'. Stop.
make: *** [menuconfig] Error 2

The first line of Makefile.real contains "include versions", but that file does
not exist. It seems as if versions has not been committed to the repo.

After I copied that file from a tarball source version, I then get the error

finger@larrylap:~/backports/backport> make menuconfig
make[2]: `mconf' is up to date.
Kconfig:27: can't open file "net/wireless/Kconfig"
make[1]: *** [menuconfig] Error 1
make: *** [menuconfig] Error 2

Larry



2013-05-21 02:16:29

by Luis Chamberlain

[permalink] [raw]
Subject: Re: Build problem with current git repo

On Mon, May 20, 2013 at 4:58 PM, Larry Finger <[email protected]> wrote:
> Pulling from the git repo today and trying to do a 'make menuconfig' results
> in the following error:
>
> finger@larrylap:~/backports/backport> make menuconfig

The new backports project requires you to run for example:

./gentree.py ~/linux-next/ ~/build/backports-20130520

Then you cd into ~/build/backports-20130520 and build there. Try that
with linux-next next-20130520. Note that gentree.py also accepts
--git-revision but in practice for me its faster to reset a tree than
to use that which walks the tree.

Luis