Modify

Opened 11 years ago

Closed 11 years ago

Last modified 5 years ago

#2013 closed defect (invalid)

build complains about missing GNU assembler

Reported by: volker@… Owned by: developers
Priority: normal Milestone:
Component: packages Version:
Keywords: Cc:

Description

There is trouble to compile openwrt

jahns@eagle trunk > make V=99
make[1]: Entering directory `/proj/devel/linux/mipsel/openwrt/trunk/scripts/config'
make[1]: `conf' is up to date.
make[1]: Leaving directory `/proj/devel/linux/mipsel/openwrt/trunk/scripts/config'
Prerequisite check failed. Use FORCE=1 to override.
make: *** [tmp/.prereq-target] Fehler 1

touch tmp/.prereq-target && make V=99 FORCE=1

throws the following error:

checking assembler for explicit relocation support... (cached) yes
*** This configuration requires the GNU assembler

Yes, the GNU assembler _is_ installed. ( Compilation fails on Debian etch/Suse 9x with binutils 2.17 2.15 resp.).

Attachments (0)

Change History (14)

comment:1 Changed 11 years ago by anonymous

Run 'make prereq' and see where it complains and install the missing packages.

comment:2 Changed 11 years ago by anonymous

make output:

jahns@eagle trunk > make prereq V=99
Prerequisite check failed. Use FORCE=1 to override.
make: *** [tmp/.prereq-target] Error 1

What packages is it, I have to install?

comment:3 Changed 11 years ago by anonymous

make tmp/.prereq-target fails

jahns@eagle trunk > make tmp/.prereq-build
make: »tmp/.prereq-build« ist bereits aktualisiert.
jahns@eagle trunk > make tmp/.prereq-package
jahns@eagle trunk > make tmp/.prereq-target
Prerequisite check failed. Use FORCE=1 to override.
make: *** [tmp/.prereq-target] Fehler 1
jahns@eagle trunk >

comment:4 Changed 11 years ago by volker@…

Removing redirection of STDERR in trunk's Makefile

jahns@pcm1035 trunk > make prereq
Collecting target info: done
Collecting package info: done
Makefile:62: *** missing separator.  Stop.
make[1]: *** [prereq] Error 2
Prerequisite check failed. Use FORCE=1 to override.
make: *** [tmp/.prereq-target] Fehler 1

Makefile is corrupted.

comment:5 Changed 11 years ago by volker@…

make -w shows up the location of the defectous Makefile:

jahns@eagle trunk > make -w prereq
make: Entering directory `/proj/devel/linux/mipsel/openwrt/trunk'
make[1]: Entering directory `/proj/devel/linux/mipsel/openwrt/trunk/target'
make[2]: Entering directory `/proj/devel/linux/mipsel/openwrt/trunk/target/linux/adm5120-2.6'
make[2]: Leaving directory `/proj/devel/linux/mipsel/openwrt/trunk/target/linux/adm5120-2.6'
make[2]: Entering directory `/proj/devel/linux/mipsel/openwrt/trunk/target/linux/adm5120-2.6/image'
Makefile:62: *** missing separator.  Stop.
make[2]: Leaving directory `/proj/devel/linux/mipsel/openwrt/trunk/target/linux/adm5120-2.6/image'
make[1]: *** [prereq] Error 2
make[1]: Leaving directory `/proj/devel/linux/mipsel/openwrt/trunk/target'
Prerequisite check failed. Use FORCE=1 to override.
make: *** [tmp/.prereq-target] Fehler 1
make: Leaving directory `/proj/devel/linux/mipsel/openwrt/trunk'
jahns@eagle trunk > make -w prereq

Yes, this Makefile in trunk/target/linux/adm5120-2.6/image is corrupted ( diff to latest trunk Revision)

jahns@eagle image > diff -Naur Makefile Makefile.ORG-NOK
--- Makefile    2007-07-03 06:36:38.000000000 +0200
+++ Makefile.ORG-NOK    2007-07-03 06:33:58.519970000 +0200
@@ -59,6 +59,14 @@
                $(IMGNAME)-$(3)-$(2).bin
 endef

+#<<<<<<< .mine
+define Image/Build/Edimax2
+       $(CP) $(BIN_DIR)/openwrt-$(BOARD)-$(KERNEL)-$(1)-noloader.trx $(BIN_DIR)/openwrt-$(BOARD)-$(KERNEL)-$(3)-$(2).trx
+       dd if=$(KDIR)/loader-admboot.gz of=$(BIN_DIR)/openwrt-$(BOARD)-$(KERNEL)-$(3)-$(2).bin
+       dd if=$(BIN_DIR)/openwrt-$(BOARD)-$(KERNEL)-$(3)-$(2).trx of=$(BIN_DIR)/openwrt-$(BOARD)-$(KERNEL)-$(3)-$(2).bin bs=65536 seek=1
+endef
+
+=======
 define Image/Build/Infineon
        $(call Image/Build/Loader,$(2),gz,0x80500000,0x6D8,y,$(2))
        $(call Image/Build/TRXNoloader,$(IMGNAME)-$(3)-$(2).trx,$(1))
@@ -66,6 +74,7 @@
        cat $(IMGNAME)-$(3)-$(2).trx >>$(IMGNAME)-$(3)-$(2).img
 endef

+>>>>>>> .r7848
 define Image/Build/MyLoader
        $(call Image/Build/Loader,$(2),gz,0x80500000,0)
        $(call Image/Build/TRXNoloader,$(IMGNAME)-$(3)-$(2).trx,$(1))
@@ -115,6 +124,7 @@
        $(call Image/Build/MyLoader,$(1),wp54ag,$(patsubst jffs2-%,jffs2,$(1)),WP54AG)
        $(call Image/Build/MyLoader,$(1),wpp54g,$(patsubst jffs2-%,jffs2,$(1)),WPP54G)
        $(call Image/Build/MyLoader,$(1),wpp54ag,$(patsubst jffs2-%,jffs2,$(1)),WPP54AG)
+       $(call Image/Build/Edimax2,$(1),EASY5120,$(patsubst jffs2-%,jffs2,$(1)))
 endif
 endif
 ifeq ($(1),tgz)

The defectous Makefile contains details on an EASY5120 board?

comment:6 follow-up: Changed 11 years ago by nbd

  • Resolution set to invalid
  • Status changed from new to closed

It's a conflict that happened while you were updating and had local modifications.
Revert the files (figure out where they are with svn status)

comment:7 in reply to: ↑ 6 Changed 10 years ago by nikdjokic@…

I am new at this and I can't figure it out and solve this problem,
Can anyone help me

Checking 'working-make'... ok.
Checking 'case-sensitive-fs'... ok.
Checking 'working-gcc'... ok.
Checking 'working-g++'... ok.
Checking 'ncurses'... ok.
Checking 'zlib'... ok.
Checking 'gawk'... ok.
Checking 'bison'... ok.
Checking 'flex'... ok.
Checking 'unzip'... ok.
Checking 'bzip2'... ok.
Checking 'patch'... ok.
Checking 'perl'... ok.
Checking 'wget'... ok.
Checking 'gnutar'... ok.
Checking 'svn'... ok.
Checking 'autoconf'... ok.
Checking 'gnu-find'... ok.
Checking 'non-root'... failed.

Build dependency: Please do not compile as root.

Prerequisite check failed. Use FORCE=1 to override.
make[1]: * [tmp/.prereq-build] Error 1
make:
* [world] Error 2

comment:8 follow-up: Changed 10 years ago by anonymous

What part of "Please do not compile as root" is hard to understand?

comment:9 in reply to: ↑ 8 Changed 10 years ago by anonymous

Ok, that part is ok, i do know that but it is the same like root and like user, but i have problem with .prereq-bild there is same error and same notice that doesn't exist.
Thanx for replay but that stupid no am I!! :)

comment:10 Changed 10 years ago by anonymous

it is the same as a normal user? i doubt that. please make a fresh checkout as normal user to make sure that the permissions are correct.

comment:11 Changed 10 years ago by trully

THX U very much i had problems with premissions! I am thankfull for Ur time!!! I will try that, so thx once more time!

comment:12 Changed 6 years ago by anonymous

me to.confilit svn & make.
but i don't know how to clean this error.

comment:13 Changed 6 years ago by anonymous

how the skip the check of root, i want to build in root really.

comment:14 Changed 5 years ago by lissny

i changed the ownership of git folder"gargoyle" to current user
and run command again with the current user ..no sudo

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.