OpenWrt Forum Archive

Topic: Missing documentation for prerequisites

The content of this topic has been archived on 13 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

After doing an "svn up", I can't compile any more.

Prerequisite check failed. Use FORCE=1 to override.

Retrying with FORCE=1 V=99 requires to answer some kernel config questions manually

Automatically split rootfs partition for squashfs (MTD_SPLIT_ROOTFS) [Y/n] (NEW)
Max IDE interfaces (IDE_MAX_HWIFS) [4] (NEW)
Enhanced IDE/MFM/RLL disk/cdrom/tape/floppy support (BLK_DEV_IDE) [N/m/?] (NEW)
Old hard disk (MFM/RLL/IDE) driver (BLK_DEV_HD_ONLY) [N/y/?] (NEW)
AHCI SATA support (SATA_AHCI) [N/m/?] (NEW)

and many more...

Compiling on OpenSUSE 10.2
There's no documentation on what's required to compile kamikaze.

The last time of a successful compile was some version with a 2.6.22-rc5 kernel...

Any hints?

MMCM wrote:

...
Compiling on OpenSUSE 10.2
There's no documentation on what's required to compile kamikaze.
....
Any hints?

Pretty old topic, yes...but nothing has changed on the docs yet.
The ppl that develop the build environment should know what is needed though....

Well, I figured out that you at least need make v3.81 (nice if someone could add this to the wiki).
Using v3.80 I got error messages complaining about "missing endif"s even with a simple "make clean".

Now with that prerequisite fullfilled, I still can't make an image:

openwrt@opensuse:~/openwrt/trunk> make clean V=99
make[1]: Entering directory `/home/openwrt/openwrt/trunk'
rm -rf /home/openwrt/openwrt/trunk/build_dir/ /home/openwrt/openwrt/trunk/bin
make target/linux/clean
make[2]: Entering directory `/home/openwrt/openwrt/trunk'
make[3]: Entering directory `/home/openwrt/openwrt/trunk/target/linux'
Makefile:11: warning: overriding commands for target `prereq'
/home/openwrt/openwrt/trunk/target/linux//Makefile:11: warning: ignoring old commands for target `prereq'
Makefile:11: warning: overriding commands for target `clean'
/home/openwrt/openwrt/trunk/target/linux//Makefile:11: warning: ignoring old commands for target `clean'
Makefile:11: warning: overriding commands for target `download'
/home/openwrt/openwrt/trunk/target/linux//Makefile:11: warning: ignoring old commands for target `download'
Makefile:11: warning: overriding commands for target `prepare'
/home/openwrt/openwrt/trunk/target/linux//Makefile:11: warning: ignoring old commands for target `prepare'
Makefile:11: warning: overriding commands for target `compile'
/home/openwrt/openwrt/trunk/target/linux//Makefile:11: warning: ignoring old commands for target `compile'
Makefile:11: warning: overriding commands for target `install'
/home/openwrt/openwrt/trunk/target/linux//Makefile:11: warning: ignoring old commands for target `install'
Makefile:11: warning: overriding commands for target `menuconfig'
/home/openwrt/openwrt/trunk/target/linux//Makefile:11: warning: ignoring old commands for target `menuconfig'
Makefile:11: warning: overriding commands for target `oldconfig'
/home/openwrt/openwrt/trunk/target/linux//Makefile:11: warning: ignoring old commands for target `oldconfig'
Makefile:11: warning: overriding commands for target `update'
/home/openwrt/openwrt/trunk/target/linux//Makefile:11: warning: ignoring old commands for target `update'
Makefile:11: warning: overriding commands for target `refresh'
/home/openwrt/openwrt/trunk/target/linux//Makefile:11: warning: ignoring old commands for target `refresh'
TARGET_BUILD=1 make -C  clean
make: Entering an unknown directory
make: *** clean: No such file or directory.  Stop.
make: Leaving an unknown directory
make[3]: *** [clean] Error 2
make[3]: Leaving directory `/home/openwrt/openwrt/trunk/target/linux'
make[2]: *** [target/linux/clean] Error 2
make[2]: Leaving directory `/home/openwrt/openwrt/trunk'
make[1]: *** [clean] Error 2
make[1]: Leaving directory `/home/openwrt/openwrt/trunk'
make: *** [clean] Error 2
openwrt@opensuse:~/openwrt/trunk>

Any ideas on what other prereq I need ?!

Thx,
Watz

try removing tmp/ in your buildroot then do a make menuconfig

thepeople wrote:

try removing tmp/ in your buildroot then do a make menuconfig

Yes that works, I figured that today :-)

Also, Python AND Paython devel libs are another prerequisite.
After installing the Pyhton devel libs, I could finally build an image from the current trunk.....and bricked my WRT54G3G with it :-)

Luckily the pin15-16 flash shortcut method works exceptionally well.
The Official 7.09 build works on my box....I hope I can at least use the kernel module packages I compiled from the trunk.

Thx,
Watz

The discussion might have continued from here.