Discussion:
[FreeWRT-bugs] #347: /package/rules.mk: No such file or directory Makefile:40: *** commands commence before first target. Stop.
FreeWRT
2007-06-26 11:11:00 UTC
Permalink
#347: /package/rules.mk: No such file or directory
Makefile:40: *** commands commence before first target. Stop.
--------------------------------+-------------------------------------------
Reporter: ***@gmail.com | Owner: wbx
Type: defect | Status: new
Priority: minor | Milestone: 1.x (low prio)
Component: general | Version: trunk
Keywords: |
--------------------------------+-------------------------------------------
hi any one help me iam suffering with these errors
Here iam keeping my code of my Makefile
include $(TOPDIR)/rules.mk
#include ../rules.mk
#include ${TOPDIR}/package/kpe/Makefile.inc
#include ../rules.mk
PKG_NAME:= KPE
PKG_VERSION:= 0.9.9.9
PKG_RELEASE:= 6
PKG_MD5SUM:= 4b21afe500f778d2a189749d64c7f937

PKG_SOURCE_URL:=http://files.hamachi.cc/linux
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-(PKG_RELEASE).tar.gz
PKG_CAT:=zcat

PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install

#include Makefile.inc
include $(TOPDIR)/package/rules.mk
#include ../package/rules.mk
$(eval $(call PKG_template,KPE,kpe,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))

$(PKG_BUILD_DIR)/.configured: $(PKG_BUILD_DIR)/.prepared
(cd $(PKG_BUILD_DIR); \
$(TARGET_CONFIGURE_OPTS) \
CFLAGS="$(TARGET_CFLAGS)" \
CPPFLAGS="-I$(STAGING_DIR)/usr/include
-I$(STAGING_DIR)/include" \
LDFLAGS="-L$(STAGING_DIR)/usr/lib -L$(STAGING_DIR)/lib"
\
./configure \
--target=$(GNU_TARGET_NAME) \
--host=$(GNU_TARGET_NAME) \
--build=$(GNU_HOST_NAME) \
--prefix=/usr \
--without-libiconv-prefix \
--without-libintl-prefix \
--disable-nls \
);
touch $@

$(PKG_BUILD_DIR)/.built:
rm -rf $(PKG_INSTALL_DIR)
mkdir -p $(PKG_INSTALL_DIR)/usr/bin
$(MAKE) -C $(PKG_BUILD_DIR) \
$(TARGET_CONFIGURE_OPTS) \
prefix="$(PKG_INSTALL_DIR)/usr"
cp -fpR $(PKG_BUILD_DIR)/src/kpe $(PKG_INSTALL_DIR)/usr/bin
touch $@

$(IPKG_KPE):
install -d -m0755 $(IDIR_KPE)/usr/bin
cp -fpR $(PKG_INSTALL_DIR)/usr/bin/kpe $(IDIR_KPE)/usr/bin
$(RSTRIP) $(IDIR_KPE)
$(IPKG_BUILD) $(IDIR_KPE) $(PACKAGE_DIR)


mostlyclean:
make -C $(PKG_BUILD_DIR) clean
rm $(PKG_BUILD_DIR)/.built





my problem is when iam giving as make clean && make world on command line
iam getting the


Makefile:1: /rules.mk: No such file or directory
Makefile:15: /package/rules.mk: No such file or directory
Makefile:36: *** commands commence before first target. Stop.
--
Ticket URL: <http://freewrt.org/trac/ticket/347>
FreeWRT <http://www.freewrt.org/>
FreeWRT - secure, portable and functional embedded GNU/Linux distribution
FreeWRT
2007-06-26 11:35:14 UTC
Permalink
#347: /package/rules.mk: No such file or directoryMakefile:40: *** commands
commence before first target. Stop.
---------------------------------+------------------------------------------
Reporter: ***@gmail.com | Owner: wbx
Type: defect | Status: closed
Priority: minor | Milestone: 1.x (low prio)
Component: general | Version: trunk
Resolution: invalid | Keywords:
---------------------------------+------------------------------------------
Changes (by tha):

* status: new => closed
* resolution: => invalid
* summary: /package/rules.mk: No such file or directory
Makefile:40: *** commands commence before first target.
Stop. => /package/rules.mk: No such file or
directoryMakefile:40: *** commands commence
before first target. Stop.

Comment:

identical to ticket #345
--
Ticket URL: <http://www.freewrt.org/trac/ticket/347#comment:1>
FreeWRT <http://www.freewrt.org/>
FreeWRT - secure, portable and functional embedded GNU/Linux distribution
FreeWRT
2007-06-26 12:12:20 UTC
Permalink
#347: /package/rules.mk: No such file or directoryMakefile:40: *** commands
commence before first target. Stop.
---------------------------------+------------------------------------------
Reporter: ***@gmail.com | Owner: wbx
Type: defect | Status: closed
Priority: minor | Milestone: 1.x (low prio)
Component: general | Version: trunk
Resolution: invalid | Keywords:
---------------------------------+------------------------------------------
Changes (by tg):

* summary: /package/rules.mk: No such file or directoryMakefile:40: ***
commands commence before first target. Stop.
=> /package/rules.mk: No such file or
directoryMakefile:40: *** commands commence
before first target. Stop.
Post by FreeWRT
hi any one help me iam suffering with these errors
Here iam keeping my code of my Makefile
include $(TOPDIR)/rules.mk
#include ../rules.mk
#include ${TOPDIR}/package/kpe/Makefile.inc
#include ../rules.mk
PKG_NAME:= KPE
PKG_VERSION:= 0.9.9.9
PKG_RELEASE:= 6
PKG_MD5SUM:= 4b21afe500f778d2a189749d64c7f937
PKG_SOURCE_URL:=http://files.hamachi.cc/linux
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-(PKG_RELEASE).tar.gz
PKG_CAT:=zcat
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
#include Makefile.inc
include $(TOPDIR)/package/rules.mk
#include ../package/rules.mk
$(eval $(call
PKG_template,KPE,kpe,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
$(PKG_BUILD_DIR)/.configured: $(PKG_BUILD_DIR)/.prepared
(cd $(PKG_BUILD_DIR); \
$(TARGET_CONFIGURE_OPTS) \
CFLAGS="$(TARGET_CFLAGS)" \
CPPFLAGS="-I$(STAGING_DIR)/usr/include
-I$(STAGING_DIR)/include" \
LDFLAGS="-L$(STAGING_DIR)/usr/lib -L$(STAGING_DIR)/lib"
\
./configure \
--target=$(GNU_TARGET_NAME) \
--host=$(GNU_TARGET_NAME) \
--build=$(GNU_HOST_NAME) \
--prefix=/usr \
--without-libiconv-prefix \
--without-libintl-prefix \
--disable-nls \
);
rm -rf $(PKG_INSTALL_DIR)
mkdir -p $(PKG_INSTALL_DIR)/usr/bin
$(MAKE) -C $(PKG_BUILD_DIR) \
$(TARGET_CONFIGURE_OPTS) \
prefix="$(PKG_INSTALL_DIR)/usr"
cp -fpR $(PKG_BUILD_DIR)/src/kpe $(PKG_INSTALL_DIR)/usr/bin
install -d -m0755 $(IDIR_KPE)/usr/bin
cp -fpR $(PKG_INSTALL_DIR)/usr/bin/kpe $(IDIR_KPE)/usr/bin
$(RSTRIP) $(IDIR_KPE)
$(IPKG_BUILD) $(IDIR_KPE) $(PACKAGE_DIR)
make -C $(PKG_BUILD_DIR) clean
rm $(PKG_BUILD_DIR)/.built
my problem is when iam giving as make clean && make world on command line
iam getting the
Makefile:1: /rules.mk: No such file or directory
Makefile:15: /package/rules.mk: No such file or directory
Makefile:36: *** commands commence before first target. Stop.
New description:

hi any one help me iam suffering with these errors
Here iam keeping my code of my Makefile
include $(TOPDIR)/rules.mk
#include ../rules.mk
#include ${TOPDIR}/package/kpe/Makefile.inc
#include ../rules.mk
PKG_NAME:= KPE
PKG_VERSION:= 0.9.9.9
PKG_RELEASE:= 6
PKG_MD5SUM:= 4b21afe500f778d2a189749d64c7f937

PKG_SOURCE_URL:=http://files.hamachi.cc/linux
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-(PKG_RELEASE).tar.gz
PKG_CAT:=zcat

PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install

#include Makefile.inc
include $(TOPDIR)/package/rules.mk
#include ../package/rules.mk
$(eval $(call PKG_template,KPE,kpe,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))

$(PKG_BUILD_DIR)/.configured: $(PKG_BUILD_DIR)/.prepared
(cd $(PKG_BUILD_DIR); \
$(TARGET_CONFIGURE_OPTS) \
CFLAGS="$(TARGET_CFLAGS)" \
CPPFLAGS="-I$(STAGING_DIR)/usr/include
-I$(STAGING_DIR)/include" \
LDFLAGS="-L$(STAGING_DIR)/usr/lib -L$(STAGING_DIR)/lib"
\
./configure \
--target=$(GNU_TARGET_NAME) \
--host=$(GNU_TARGET_NAME) \
--build=$(GNU_HOST_NAME) \
--prefix=/usr \
--without-libiconv-prefix \
--without-libintl-prefix \
--disable-nls \
);
touch $@

$(PKG_BUILD_DIR)/.built:
rm -rf $(PKG_INSTALL_DIR)
mkdir -p $(PKG_INSTALL_DIR)/usr/bin
$(MAKE) -C $(PKG_BUILD_DIR) \
$(TARGET_CONFIGURE_OPTS) \
prefix="$(PKG_INSTALL_DIR)/usr"
cp -fpR $(PKG_BUILD_DIR)/src/kpe $(PKG_INSTALL_DIR)/usr/bin
touch $@

$(IPKG_KPE):
install -d -m0755 $(IDIR_KPE)/usr/bin
cp -fpR $(PKG_INSTALL_DIR)/usr/bin/kpe $(IDIR_KPE)/usr/bin
$(RSTRIP) $(IDIR_KPE)
$(IPKG_BUILD) $(IDIR_KPE) $(PACKAGE_DIR)


mostlyclean:
make -C $(PKG_BUILD_DIR) clean
rm $(PKG_BUILD_DIR)/.built





my problem is when iam giving as make clean && make world on command line
iam getting the


Makefile:1: /rules.mk: No such file or directory
Makefile:15: /package/rules.mk: No such file or directory
Makefile:36: *** commands commence before first target. Stop.

Comment:

* resolution set to invalid.

Isn't there a resolution “duplicate”?

--
Ticket URL: <https://www.freewrt.org/trac/ticket/347#comment:2>
FreeWRT <http://www.freewrt.org/>
FreeWRT - secure, portable and functional embedded GNU/Linux distribution
FreeWRT
2007-07-03 23:50:41 UTC
Permalink
#347: None
---------------------------------+------------------------------------------
Reporter: ***@gmail.com | Owner: wbx
Type: task | Status: closed
Priority: blocker | Milestone: post-2.0
Component: build system | Version: 1.0
Resolution: invalid | Keywords: None
---------------------------------+------------------------------------------
Changes (by anonymous):

* cc: None (added)
* component: general => build system
* summary: /package/rules.mk: No such file or directoryMakefile:40: ***
commands commence before first target. Stop. =>
None
* priority: minor => blocker
* version: trunk => 1.0
* milestone: 1.x (low prio) => post-2.0
* keywords: => None
* type: defect => task

Comment:

http://a-painting.bravehost.com/1/ Painting ~ http://gallery-
search.bravehost.com/f1/ Art gallery ~ http://alarm-
system.bravehost.com/index.html alarm system
--
Ticket URL: <http://freewrt.org/trac/ticket/347#comment:3>
FreeWRT <http://www.freewrt.org/>
FreeWRT - secure, portable and functional embedded GNU/Linux distribution
FreeWRT
2007-07-11 10:15:41 UTC
Permalink
#347: /package/rules.mk: No such file or directoryMakefile:40: *** commands
commence before first target. Stop.
---------------------------------+------------------------------------------
Reporter: ***@gmail.com | Owner: wbx
Type: enhancement | Status: closed
Priority: trivial | Milestone: 2.0
Component: website | Version: 1.1
Resolution: invalid | Keywords: <Default>
---------------------------------+------------------------------------------
Changes (by anonymous):

* cc: <Default> (added)
* component: general => website
* priority: minor => trivial
* version: trunk => 1.1
* milestone: 1.x (low prio) => 2.0
* keywords: => <Default>
* type: defect => enhancement

Comment:

http://corp.cwsurf.de/game/adult-free-game/ - Adult free game online
--
Ticket URL: <http://freewrt.org/trac/ticket/347#comment:3>
FreeWRT <http://www.freewrt.org/>
FreeWRT - secure, portable and functional embedded GNU/Linux distribution
Loading...