[Berlin-wireless] Nanostation M5 flashen
Thomas Mellenthin
thomas
Sa Feb 13 17:53:11 CET 2010
Hi,
ulf kypke wrote:
>> Wenn man einfach nur "luci-freifunk-community" auswählt, fehlt scheinbar das
>> Webinterface. Port 80 ist offen, aber es gibt immer einen 404.
> also ueberprüf mal ob
> 1.unter collections luci kamikaze ausgewählt ist
> 2. unter components admin full
> 3. unter freifunk luci mod freifunk und ein theme
> 4. unter themes min. luci-theme-base und luci-theme-openwrt
> dann solltest du auch ein webfrontend und back end bekommen
ok, da haben noch ein paar Sachen gefehlt. Ich habe die jetzt
angekreuzt. Was ich nicht ganz verstehe: was ist der Unterschied
zwischen <M> und <*> ? Beim Linux-Kernel ist mir das klar, aber was
bedeutet es in der OpenWRT-Buildchain? Macht das irgend einen Unterschied?
Leider gibt es jetzt beim Build ein paar Warnungen (also wenn man make
menuconfig beendet):
~/projects/openwrt/trunk $ make menuconfig
tmp/.config-package.in:1132:warning: 'select' used by config symbol
'PACKAGE_luci-app-uvc_streamer' refer to undefined symbol
'PACKAGE_uvc-streamer'
tmp/.config-package.in:6705:warning: 'select' used by config symbol
'PACKAGE_gtkhtml' refer to undefined symbol 'PACKAGE_gnome-icon-theme'
tmp/.config-package.in:8508:warning: 'select' used by config symbol
'PACKAGE_xserver-xorg' refer to undefined symbol 'PACKAGE_libxkbcomp'
tmp/.config-package.in:27798:warning: 'select' used by config symbol
'PACKAGE_gst-python' refer to undefined symbol 'PACKAGE_gst-plugins-base'
Warning! Found recursive dependency: PACKAGE_luci-theme-base
PACKAGE_luci-web PACKAGE_luci-lucid PACKAGE_luci-http PACKAGE_luci-core
PACKAGE_luci-theme-openwrt PACKAGE_luci-theme-base
Warning! Found recursive dependency: PACKAGE_kmod-ppp PACKAGE_openl2tp
PACKAGE_ppp PACKAGE_kmod-ppp
Warning! Found recursive dependency: PACKAGE_kmod-usb-core
PACKAGE_kmod-video-nw8xx PACKAGE_kmod-video-core
PACKAGE_kmod-video-cpia2 PACKAGE_kmod-usb-core
Warning! Found recursive dependency: PACKAGE_python
PACKAGE_freeswitch-mod-python PACKAGE_python
Ich weiss nicht recht, wie ich die Abhängigkeiten auflösen kann. Der
Build schlägt fehl:
make[3] -C feeds/luci/luci compile
make -r world: build failed. Please re-run make with V=99 to see what's
going on
make: *** [world] Error 1
Was genau die Ursache ist, sehe ich im Output nicht:
chmod 644
/home/melle/projects/openwrt/trunk/build_dir/linux-ar71xx/packages/ipkg-ar71xx/kmod-usb2/CONTROL/control
(cd
/home/melle/projects/openwrt/trunk/build_dir/linux-ar71xx/packages/ipkg-ar71xx/kmod-usb2/CONTROL;
var2file "V_Package_kmod_usb2_conffiles" conffiles; var2file
"V_Package_kmod_usb2_preinst" preinst; var2file
"V_Package_kmod_usb2_postinst" postinst; var2file
"V_Package_kmod_usb2_prerm" prerm; var2file "V_Package_kmod_usb2_postrm"
postrm; )
mkdir -p
/home/melle/projects/openwrt/trunk/build_dir/linux-ar71xx/packages/ipkg-ar71xx/kmod-usb2/lib/modules/2.6.32.8
cp -fpR -L
/home/melle/projects/openwrt/trunk/build_dir/linux-ar71xx/linux-2.6.32.8/drivers/usb/host/ehci-hcd.ko
/home/melle/projects/openwrt/trunk/build_dir/linux-ar71xx/packages/ipkg-ar71xx/kmod-usb2/lib/modules/2.6.32.8/
export modules=; add_module() { mkdir -p
/home/melle/projects/openwrt/trunk/build_dir/linux-ar71xx/packages/ipkg-ar71xx/kmod-usb2/etc/modules.d;
( for mod in $2; do getvar mod; done ) >
/home/melle/projects/openwrt/trunk/build_dir/linux-ar71xx/packages/ipkg-ar71xx/kmod-usb2/etc/modules.d/$1-usb2;
modules="${modules:+$modules }$1-usb2"; }; add_module 40 "ehci-hcd"; if
[ -n "$modules" ]; then mkdir -p
/home/melle/projects/openwrt/trunk/build_dir/linux-ar71xx/packages/ipkg-ar71xx/kmod-usb2/etc/modules.d;
mkdir -p
/home/melle/projects/openwrt/trunk/build_dir/linux-ar71xx/packages/ipkg-ar71xx/kmod-usb2/CONTROL;
echo "#!/bin/sh" >
/home/melle/projects/openwrt/trunk/build_dir/linux-ar71xx/packages/ipkg-ar71xx/kmod-usb2/CONTROL/postinst;
echo "[ -z \"\$IPKG_INSTROOT\" ] || exit 0" >>
/home/melle/projects/openwrt/trunk/build_dir/linux-ar71xx/packages/ipkg-ar71xx/kmod-usb2/CONTROL/postinst;
echo ". /etc/functions.sh" >>
/home/melle/projects/openwrt/trunk/build_dir/linux-ar71xx/packages/ipkg-ar71xx/kmod-usb2/CONTROL/postinst;
echo "load_modules $modules" >>
/home/melle/projects/openwrt/trunk/build_dir/linux-ar71xx/packages/ipkg-ar71xx/kmod-usb2/CONTROL/postinst;
chmod 0755
/home/melle/projects/openwrt/trunk/build_dir/linux-ar71xx/packages/ipkg-ar71xx/kmod-usb2/CONTROL/postinst;
fi
mkdir -p /home/melle/projects/openwrt/trunk/bin/ar71xx/packages
find
/home/melle/projects/openwrt/trunk/build_dir/linux-ar71xx/packages/ipkg-ar71xx/kmod-usb2
-name 'CVS' -o -name '.svn' -o -name '.#*' | xargs -r rm -rf
NM="mips-openwrt-linux-uclibc-nm"
STRIP="/home/melle/projects/openwrt/trunk/staging_dir/host/bin/sstrip"
STRIP_KMOD="mips-openwrt-linux-uclibc-strip --strip-unneeded
--remove-section=.comment --remove-section=.pdr
--remove-section=.mdebug.abi32"
/home/melle/projects/openwrt/trunk/scripts/rstrip.sh
/home/melle/projects/openwrt/trunk/build_dir/linux-ar71xx/packages/ipkg-ar71xx/kmod-usb2
rstrip.sh:
/home/melle/projects/openwrt/trunk/build_dir/linux-ar71xx/packages/ipkg-ar71xx/kmod-usb2/lib/modules/2.6.32.8/ehci-hcd.ko:relocatable
SIZE=`cd
/home/melle/projects/openwrt/trunk/build_dir/linux-ar71xx/packages/ipkg-ar71xx/kmod-usb2;
du -bs --exclude=./CONTROL . 2>/dev/null | cut -f1`;
/home/melle/projects/openwrt/trunk/staging_dir/host/bin/sed -i -e
"s|^\(Installed-Size:\).*|\1 $SIZE|g"
/home/melle/projects/openwrt/trunk/build_dir/linux-ar71xx/packages/ipkg-ar71xx/kmod-usb2/CONTROL/control
ipkg-build -c -o 0 -g 0
/home/melle/projects/openwrt/trunk/build_dir/linux-ar71xx/packages/ipkg-ar71xx/kmod-usb2
/home/melle/projects/openwrt/trunk/bin/ar71xx/packages
Packaged contents of
/home/melle/projects/openwrt/trunk/build_dir/linux-ar71xx/packages/ipkg-ar71xx/kmod-usb2
into
/home/melle/projects/openwrt/trunk/bin/ar71xx/packages/kmod-usb2_2.6.32.8-1_ar71xx.ipk
rm -rf
/home/melle/projects/openwrt/trunk/staging_dir/target-mips_uClibc-0.9.30.1/root-ar71xx/tmp-kmod-usb2
mkdir -p
/home/melle/projects/openwrt/trunk/staging_dir/target-mips_uClibc-0.9.30.1/root-ar71xx/stamp
/home/melle/projects/openwrt/trunk/staging_dir/target-mips_uClibc-0.9.30.1/root-ar71xx/tmp-kmod-usb2
mkdir -p
/home/melle/projects/openwrt/trunk/staging_dir/target-mips_uClibc-0.9.30.1/root-ar71xx/tmp-kmod-usb2/lib/modules/2.6.32.8
cp -fpR -L
/home/melle/projects/openwrt/trunk/build_dir/linux-ar71xx/linux-2.6.32.8/drivers/usb/host/ehci-hcd.ko
/home/melle/projects/openwrt/trunk/staging_dir/target-mips_uClibc-0.9.30.1/root-ar71xx/tmp-kmod-usb2/lib/modules/2.6.32.8/
export modules=; add_module() { mkdir -p
/home/melle/projects/openwrt/trunk/staging_dir/target-mips_uClibc-0.9.30.1/root-ar71xx/tmp-kmod-usb2/etc/modules.d;
( for mod in $2; do getvar mod; done ) >
/home/melle/projects/openwrt/trunk/staging_dir/target-mips_uClibc-0.9.30.1/root-ar71xx/tmp-kmod-usb2/etc/modules.d/$1-usb2;
modules="${modules:+$modules }$1-usb2"; }; add_module 40 "ehci-hcd"; if
[ -n "$modules" ]; then mkdir -p
/home/melle/projects/openwrt/trunk/staging_dir/target-mips_uClibc-0.9.30.1/root-ar71xx/tmp-kmod-usb2/etc/modules.d;
mkdir -p
/home/melle/projects/openwrt/trunk/staging_dir/target-mips_uClibc-0.9.30.1/root-ar71xx/tmp-kmod-usb2/CONTROL;
echo "#!/bin/sh" >
/home/melle/projects/openwrt/trunk/staging_dir/target-mips_uClibc-0.9.30.1/root-ar71xx/tmp-kmod-usb2/CONTROL/postinst;
echo "[ -z \"\$IPKG_INSTROOT\" ] || exit 0" >>
/home/melle/projects/openwrt/trunk/staging_dir/target-mips_uClibc-0.9.30.1/root-ar71xx/tmp-kmod-usb2/CONTROL/postinst;
echo ". /etc/functions.sh" >>
/home/melle/projects/openwrt/trunk/staging_dir/target-mips_uClibc-0.9.30.1/root-ar71xx/tmp-kmod-usb2/CONTROL/postinst;
echo "load_modules $modules" >>
/home/melle/projects/openwrt/trunk/staging_dir/target-mips_uClibc-0.9.30.1/root-ar71xx/tmp-kmod-usb2/CONTROL/postinst;
chmod 0755
/home/melle/projects/openwrt/trunk/staging_dir/target-mips_uClibc-0.9.30.1/root-ar71xx/tmp-kmod-usb2/CONTROL/postinst;
fi
cp -fpR
/home/melle/projects/openwrt/trunk/staging_dir/target-mips_uClibc-0.9.30.1/root-ar71xx/tmp-kmod-usb2/.
/home/melle/projects/openwrt/trunk/staging_dir/target-mips_uClibc-0.9.30.1/root-ar71xx/
rm -rf
/home/melle/projects/openwrt/trunk/staging_dir/target-mips_uClibc-0.9.30.1/root-ar71xx/tmp-kmod-usb2
touch
/home/melle/projects/openwrt/trunk/staging_dir/target-mips_uClibc-0.9.30.1/root-ar71xx/stamp/.kmod-usb2_installed
make[3]: Leaving directory
`/home/melle/projects/openwrt/trunk/package/kernel'
make[2]: Leaving directory `/home/melle/projects/openwrt/trunk'
make[1]: ***
[/home/melle/projects/openwrt/trunk/staging_dir/target-mips_uClibc-0.9.30.1/stamp/.package_compile]
Error 2
make[1]: Leaving directory `/home/melle/projects/openwrt/trunk'
make: *** [world] Error 2
melle at bln-thme1lapxp ~/projects/openwrt/trunk $
viele Grüße,
// melle
--
xmpp: melle at jabber.ccc.de passion: http://mellenthin.de
F489 2C4F E8C2 9A15 DBCB mission: http://freifunk-potsdam.de
127C 81B6 FDC3 7C1A FF85 pubkey: http://mellenthin.de/key.txt
Mehr Informationen über die Mailingliste Berlin