Subject: RE: compiling ramdisk contents for arm
To: 'email@example.com' <firstname.lastname@example.org>
From: Maestri, Jason <JMaestri@netopia.com>
Date: 01/12/2005 23:00:53
The problem here is that your arm build environment is being polluted by
i386 instructions from somewhere. When you used the build.sh script, did
you tell it what architecture you were building? That script will build all
of the cross compiler tools you'll need, and then build the NetBSD sources
using those tools. If you invoke make directly, you will have to set that
environment up by hand. It's usually best to use the build.sh script (as
documented in http://www.netbsd.org/Documentation/cross/#compile-kernel)
until you really have a handle on the build process. If you really want to
be able to just type 'make' at the prompt, then you will have to either set
up your shell environment or the Makefile itself for a cross compiling
environment. I would advise against this.
Anyway, the short answer is use build.sh. Good luck with this, and feel
free to ask for more help if you still have questions.
From: port-arm-owner@NetBSD.org [mailto:port-arm-owner@NetBSD.org] On Behalf
Of Kamal R. Prasad
Sent: Wednesday, January 12, 2005 11:46 PM
Subject: compiling ramdisk contents for arm
For the purpose of building a ramdisk, I have chdir'ed to
(on my x86 build machine)
I am getting the error below [and similar ones in optional utilities which I
have skipped for now]. Can someone tell me why this problem shows up? Do I
need to setup any more environment variables? My kernel compiles and runs
correctly -but I invoked the make from build.sh and not directly as I am
# compile evbarm/aout2elf.o
-Os -Werror -I.
-DREL=\"2.0\" -DMACH=\"evbarm\" -nostdinc -isystem
/var/tmp//cc7x3PZg.s: Assembler messages:
/var/tmp//cc7x3PZg.s:105: Error: bad instruction `rorw $8,r3'
/var/tmp//cc7x3PZg.s:106: Error: bad instruction `rorl $16,r3'
/var/tmp//cc7x3PZg.s:107: Error: bad instruction `rorw $8,r3'
/var/tmp//cc7x3PZg.s:122: Error: bad instruction `rorw $8,r1'
/var/tmp//cc7x3PZg.s:123: Error: bad instruction `rorl $16,r1'
/var/tmp//cc7x3PZg.s:124: Error: bad instruction `rorw $8,r1'
*** Error code 1
Do you Yahoo!?
Yahoo! Mail - Easier than ever with enhanced search.
Do you Yahoo!?
Yahoo! Mail - Easier than ever with enhanced search. Learn more.