Build fail, no rule for vmlinuz

Help with using MiniMyth's build system

Moderator: Pablo

Post Reply
rbroberts
Contributor
Posts: 61
Joined: Wed Nov 21, 2007 6:27 pm
Location: Brooklyn, NY
Contact:

Build fail, no rule for vmlinuz

Post by rbroberts »

After running make clean in script/meta/minimyth, make build failed with the log below. I can always start over from scratch by running make clean at the top and see what happens, but I'm puzzled on why this would fail.

Code: Select all

make[1]: `../../mediaplayers/xine-ui/cookies/main.d/install' is up to date.
make[1]: `../../extras/libdvdcss/cookies/main.d/install' is up to date.
make[1]: Leaving directory `/home/roland/tools/src/gar-minimyth-0.21.0-62/script/meta/minimyth'
make[1]: Entering directory `/home/roland/tools/src/gar-minimyth-0.21.0-62/script/meta/minimyth'
[===== NOW BUILDING:    minimyth-0.21.0-62      =====]
        [fetch] complete for minimyth.
        [checksum] complete for minimyth.
        [extract] complete for minimyth.
        [patch] complete for minimyth.
        [configure] complete for minimyth.
        [build] complete for minimyth.
        [all] complete for minimyth.
make[1]: Leaving directory `/home/roland/tools/src/gar-minimyth-0.21.0-62/script/meta/minimyth'
        [configure] complete for minimyth.
 ==> Running make in work/main.d/minimyth-0.21.0-62
make[1]: Entering directory `/home/roland/tools/src/gar-minimyth-0.21.0-62/script/meta/minimyth/work/main.d/minimyth-0.21.0-62'
make[2]: Entering directory `/home/roland/tools/src/gar-minimyth-0.21.0-62/script/meta/minimyth/work/main.d/minimyth-0.21.0-62/source'
making scripts directory
making version file
copying HTML documentation
making helper directory
making PXE directory
copying build system source directory
make[2]: *** No rule to make target `/home/roland/tools/src/gar-minimyth-0.21.0-62/images/main//boot/vmlinuz', needed by `/home/roland/tools/src/gar-minimyth-0.21.0-62/script/meta/minimyth/work/main.d/minimyth-0.21.0-62/build/stage/kernel'.  Stop.
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/home/roland/tools/src/gar-minimyth-0.21.0-62/script/meta/minimyth/work/main.d/minimyth-0.21.0-62/source'
make[1]: *** [build] Error 2
make[1]: Leaving directory `/home/roland/tools/src/gar-minimyth-0.21.0-62/script/meta/minimyth/work/main.d/minimyth-0.21.0-62'
make: *** [build-work/main.d/minimyth-0.21.0-62/Makefile] Error 2
Pablo
Site Admin
Posts: 4182
Joined: Tue Dec 14, 2004 2:13 am
Location: La Jolla
Contact:

Post by Pablo »

Does the file

Code: Select all

/home/roland/tools/src/gar-minimyth-0.21.0-62/images/main//boot/vmlinuz
exist?

If not, then you have some other problem as this file should be installed as part of building and installing the Linux kernel package (kernel-2.6.2x/linux).

One possible way that this could happen (though there are likely others), is to run

Code: Select all

make clean
in the directory

Code: Select all

/home/roland/tools/src/gar-minimyth-0.21.0-62
and manually cancel it before it completes.
MiniMyth running on an Acer ApireRevo 3610 and a Zotac ZBOX-ID80-U. Find out more at my MythTV page.
rbroberts
Contributor
Posts: 61
Joined: Wed Nov 21, 2007 6:27 pm
Location: Brooklyn, NY
Contact:

Post by rbroberts »

The entire "boot" directory is missing. It is possible I cancelled a make clean from the top-level directory. I'll assume doing it over and (make clean from the top and letting it finish) then rebuilding will work and I'll kick that off now. If not, I assume I'll find out soon enough that it doesn't work....
rbroberts
Contributor
Posts: 61
Joined: Wed Nov 21, 2007 6:27 pm
Location: Brooklyn, NY
Contact:

Post by rbroberts »

Well, it failed at this point:

Code: Select all

make[7]: Entering directory `/home/roland/tools/src/gar-minimyth-0.21.0-62/script/myth-0.21/mythtv/work/main.d/mythtv-0.21-19386/filters/invert'
qmake "QMAKE=/home/roland/tools/src/gar-minimyth-0.21.0-62/images/main/usr/lib/qt3/bin/qmake" -o Makefile invert.pro
/bin/sh: qmake: command not found
make[7]: *** [Makefile] Error 127
make[7]: Leaving directory `/home/roland/tools/src/gar-minimyth-0.21.0-62/script/myth-0.21/mythtv/work/main.d/mythtv-0.21-19386/filters/invert'
make[6]: *** [sub-invert] Error 2
make[6]: *** Waiting for unfinished jobs....
make[6]: Leaving directory `/home/roland/tools/src/gar-minimyth-0.21.0-62/script/myth-0.21/mythtv/work/main.d/mythtv-0.21-19386/filters'
make[5]: *** [sub-filters] Error 2
make[5]: Leaving directory `/home/roland/tools/src/gar-minimyth-0.21.0-62/script/myth-0.21/mythtv/work/main.d/mythtv-0.21-19386'
make[4]: *** [build-work/main.d/mythtv-0.21-19386/Makefile] Error 2
make[4]: Leaving directory `/home/roland/tools/src/gar-minimyth-0.21.0-62/script/myth-0.21/mythtv'
make[3]: *** [../../myth-0.21/mythtv/cookies/main.d/install] Error 2
make[3]: Leaving directory `/home/roland/tools/src/gar-minimyth-0.21.0-62/script/myth-0.21/myththemes'
make[2]: *** [imgdep-main] Error 2
make[2]: Leaving directory `/home/roland/tools/src/gar-minimyth-0.21.0-62/script/myth-0.21/myththemes'
make[1]: *** [../../myth-0.21/myththemes/cookies/main.d/install] Error 2
make[1]: Leaving directory `/home/roland/tools/src/gar-minimyth-0.21.0-62/script/meta/minimyth'
make: *** [imgdep-main] Error 2
/home/roland/tools/src/gar-minimyth-0.21.0-62/images/main/usr/lib/qt3/bin/qmake^A^A^C
258 roland> ll /home/roland/tools/src/gar-minimyth-0.21.0-62/images/main/usr/lib/qt3/bin/qmake
-rwxr-xr-x 1 roland roland 2626540 2008-12-31 00:08 /home/roland/tools/src/gar-minimyth-0.21.0-62/images/main/usr/lib/qt3/bin/qmake
Note that the last thing I did was list the file that it can't find, qmake. Why can't it find it?
Post Reply