OpenWrt Forum Archive

Topic: How to build Kamikaze on (K)ubuntu Dapper

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

Hi,

this ones costs me some hours. So here's a tip for those using (K)ubuntu Dapper (6.06 LTS) for building Kamikaze.
I needed to upgrade the "GNU Make 3.81beta4" to "GNU Make 3.81" otherwise "make package/compile" fails (so none of the *.ipk's are built). I've grabbed the make source tree from a Kubuntu-Feisty and recompiled that on Dapper to fix this.

* Verify the make version with "make -v"
* Ask a friend to "apt-get source make" on a recent (K)ubuntu
* transfer source tree to your Dapper system
* recompile with "dpkg-buildpackage"
* install resulting *.deb

HTH
// Sven-Ola

Sorry for the above post. The make version isn't the culprit. I always compile with "make V=99" which stumles while generating ./tmp/info/ files (missing "Source-Makefile" lines. So simply doing a "make clean" and remake with "make" (no V=99) will do the job for me now. Did not happen under Feisty. Here are some diff lines:

diff -r brcm-2.4-err/tmp/info/.packageinfo-6tunnel brcm-2.4/tmp/info/.packageinfo-6tunnel
0a1
> Source-Makefile: package/6tunnel/Makefile
diff -r brcm-2.4-err/tmp/info/.packageinfo-acx brcm-2.4/tmp/info/.packageinfo-acx
0a1
> Source-Makefile: package/acx/Makefile
diff -r brcm-2.4-err/tmp/info/.packageinfo-acx-mac80211 brcm-2.4/tmp/info/.packageinfo-acx-mac80211
0a1
> Source-Makefile: package/acx-mac80211/Makefile
diff -r brcm-2.4-err/tmp/info/.packageinfo-admswconfig brcm-2.4/tmp/info/.packageinfo-admswconfig
0a1
> Source-Makefile: package/admswconfig/Makefile

Sorry to make such a fuss. The "nohup" command causes this. Filed a new Ticket #2381.

Building Kamikaze 7.07 is easy. I didn't needed to upgrade to 3.81 version of make on Ubuntu 6.06 LTS.

So, here is what I use to build Kamikaze 7.07 (with extra packages)  and webif2 from source:

cd ~
svn -q checkout https://svn.openwrt.org/openwrt/tags/kamikaze_7.07/ kamikaze_7.07/
svn -q checkout https://svn.openwrt.org/openwrt/packages/ kamikaze_7.07/feeds/packages/
svn -q checkout http://svn.berlios.de/svnroot/repos/xwrt/trunk/package/webif/ kamikaze_7.07/feeds/webif/
cd ~/kamikaze_7.07/package/
ln -sf ../feeds/packages/*/*/ .
ln -sf ../feeds/webif/ .
cd ~/kamikaze_7.07/
make menuconfig
make world

Sure, you can use 'make package/symlinks' but I prefer the manual way in this case to link to the extra packages.

(Last edited by forum2006 on 13 Sep 2007, 12:37)

The discussion might have continued from here.