i want to build the latest fowsr 2.0 package for OpenWRT.
I did a build with some success months ago,
but I have forgotten what I did and cannot repeat it.
Is there anyone out there that can help?
I tried manually editing the OpenWRT-style "Makefile" for fowsr that is supplied with OpenWRT (located in /trunk/feeds/packages/utils/fowsr/ )
The "makefile" looks like this after my edits:
#
# Copyright (C) 2010-2012 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
PKG_NAME:=fowsr
PKG_VERSION:=2.0-131015
PKG_RELEASE:=1
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_MD5SUM:=7f78e8d2b1a162a99e684cab49a210a0
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
define Package/fowsr
SECTION:=utils
CATEGORY:=Utilities
DEPENDS:=+libusb-compat
TITLE:=Fine Offset Wireless Weather Station Reader
endef
define Package/fowsr/description
fowsr is a USB Data Collector application for WH1080 compatible
weather stations.
Output formats includes XML, Wunderground.com and pywws.
endef
define Package/fowsr/install
$(INSTALL_DIR) $(1)/usr/bin
$(INSTALL_BIN) $(PKG_BUILD_DIR)/fowsr $(1)/usr/bin/
$(INSTALL_BIN) \
$(PKG_BUILD_DIR)/{fowsr,pwsweather,pywws,wunderground,xml}.sh \
$(1)/usr/bin/
endef
$(eval $(call BuildPackage,fowsr))
After I do make menuconfig and make commands, this is the tail of the build log where the error seems to be:
CFLAGS="-Os -pipe -mno-branch-likely -mips32r2 -mtune=34kc -fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-variable -msoft-float -I/media/extra/openwrt/trunk/staging_dir/target-mips_34kc_uClibc-0.9.33.2/usr/include -I/media/extra/openwrt/trunk/staging_dir/target-mips_34kc_uClibc-0.9.33.2/include -I/media/extra/openwrt/trunk/staging_dir/toolchain-mips_34kc_gcc-4.6-linaro_uClibc-0.9.33.2/usr/include -I/media/extra/openwrt/trunk/staging_dir/toolchain-mips_34kc_gcc-4.6-linaro_uClibc-0.9.33.2/include " CXXFLAGS="-Os -pipe -mno-branch-likely -mips32r2 -mtune=34kc -fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-variable -msoft-float -I/media/extra/openwrt/trunk/staging_dir/target-mips_34kc_uClibc-0.9.33.2/usr/include -I/media/extra/openwrt/trunk/staging_dir/target-mips_34kc_uClibc-0.9.33.2/include -I/media/extra/openwrt/trunk/staging_dir/toolchain-mips_34kc_gcc-4.6-linaro_uClibc-0.9.33.2/usr/include -I/media/extra/openwrt/trunk/staging_dir/toolchain-mips_34kc_gcc-4.6-linaro_uClibc-0.9.33.2/include " LDFLAGS="-L/media/extra/openwrt/trunk/staging_dir/target-mips_34kc_uClibc-0.9.33.2/usr/lib -L/media/extra/openwrt/trunk/staging_dir/target-mips_34kc_uClibc-0.9.33.2/lib -L/media/extra/openwrt/trunk/staging_dir/toolchain-mips_34kc_gcc-4.6-linaro_uClibc-0.9.33.2/usr/lib -L/media/extra/openwrt/trunk/staging_dir/toolchain-mips_34kc_gcc-4.6-linaro_uClibc-0.9.33.2/lib " make -j1 -C /media/extra/openwrt/trunk/build_dir/target-mips_34kc_uClibc-0.9.33.2/fowsr-2.0-131015/. AR=mips-openwrt-linux-uclibc-ar AS="mips-openwrt-linux-uclibc-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=34kc -fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-variable -msoft-float" LD=mips-openwrt-linux-uclibc-ld NM=mips-openwrt-linux-uclibc-nm CC="mips-openwrt-linux-uclibc-gcc" GCC="mips-openwrt-linux-uclibc-gcc" CXX="mips-openwrt-linux-uclibc-g++" RANLIB=mips-openwrt-linux-uclibc-ranlib STRIP=mips-openwrt-linux-uclibc-strip OBJCOPY=mips-openwrt-linux-uclibc-objcopy OBJDUMP=mips-openwrt-linux-uclibc-objdump SIZE=mips-openwrt-linux-uclibc-size CROSS="mips-openwrt-linux-uclibc-" ARCH="mips" ;
make[4]: Entering directory `/media/extra/openwrt/trunk/build_dir/target-mips_34kc_uClibc-0.9.33.2/fowsr-2.0-131015'
make[4]: *** No targets specified and no makefile found. Stop.
make[4]: Leaving directory `/media/extra/openwrt/trunk/build_dir/target-mips_34kc_uClibc-0.9.33.2/fowsr-2.0-131015'
make[3]: *** [/media/extra/openwrt/trunk/build_dir/target-mips_34kc_uClibc-0.9.33.2/fowsr-2.0-131015/.built] Error 2
make[3]: Leaving directory `/media/extra/openwrt/trunk/feeds/packages/utils/fowsr'
make[2]: *** [package/feeds/packages/fowsr/compile] Error 2
make[2]: Leaving directory `/media/extra/openwrt/trunk'
make[1]: *** [/media/extra/openwrt/trunk/staging_dir/target-mips_34kc_uClibc-0.9.33.2/stamp/.package_compile] Error 2
make[1]: Leaving directory `/media/extra/openwrt/trunk'
make: *** [world] Error 2