Hi,
I am porting my C++ program for OpenWRT on x86 wrap board. The compilation and installation goes through smooth and the makefile is listed below. After installation when i run the program on the node , i get the error : -ash: FileReader: not found. The program uses iostream.h and fstream.h. Any ideas as to what could be the problem here ?
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
# $Id$
include $(TOPDIR)/rules.mk
#These lines concatanate the package name and list the URL location from which the package source code is to be downloaded
PKG_NAME:=filereader
PKG_VERSION:=0.1
PKG_RELEASE:=1
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=http://www.cs.uh.edu/~vivekian/downloads/
PKG_MD5SUM:=376710ec6ba0f9fa27697a425a13b438
PKG_CAT:=zcat
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
include $(INCLUDE_DIR)/package.mk
#These lines describe what your package does and its place in the menu config
define Package/filereader
SECTION:=net
CATEGORY:=Network
TITLE:=FileReader is a test package
DESCRIPTION:=\
Sample Code \\\
Go For it \\\
It will save you time !
URL:=http://www.cs.uh.edu/~vivekian
endef
#These lines describe where your binary images are to be installed
define Package/filereader/install
$(INSTALL_DIR) $(1)/usr/bin/
$(INSTALL_BIN) $(PKG_BUILD_DIR)/FileReader $(1)/usr/bin/
endef
$(eval $(call BuildPackage,filereader))