Ticket #347 (closed defect: invalid)

Opened 5 years ago

Last modified 5 years ago

/package/rules.mk: No such file or directoryMakefile:40: *** commands commence before first target. Stop.

Reported by: baluidea@gmail.com Assigned to: wbx
Priority: minor Milestone: 1.x (low prio)
Component: general Version: trunk
Keywords: Cc:

Description (Last modified by tg)

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.

Attachments

Change History

06/26/07 13:35:14 changed by tha

  • status changed from new to closed.
  • resolution set to invalid.
  • summary changed from /package/rules.mk: No such file or directory Makefile:40: *** commands commence before first target. Stop. to /package/rules.mk: No such file or directoryMakefile:40: *** commands commence before first target. Stop..

identical to ticket #345

06/26/07 14:12:19 changed by tg

  • description changed.
  • summary changed from /package/rules.mk: No such file or directoryMakefile:40: *** commands commence before first target. Stop. to /package/rules.mk: No such file or directoryMakefile:40: *** commands commence before first target. Stop..
  • resolution set to invalid.

Isn't there a resolution “duplicate”?


Add/Change #347 (/package/rules.mk: No such file or directoryMakefile:40: *** commands commence before first target. Stop.)




Action