Subject: Re: i386 SMP kernel compile trouble
To: None <tech-smp@netbsd.org>
From: Cosmic 665 <the_hermit665@hotmail.com>
List: tech-smp
Date: 11/12/2001 15:16:22
err!
I read that earlier in /usr/src/UPDATING. The problem is that I get the
following error message:
bash-2.04# make
cc -O2 -Werror -I/usr/src/gnu/usr.bin/gas.new/arch/i386
-I/usr/src/gnu/usr.bin/gas.new/../../dist/gas
-I/usr/src/gnu/usr.bin/gas.new/../../dist/gas/config
-I/usr/src/gnu/lib/libbfd/obj -I/usr/src/gnu/usr.bin/gas.new/../../dist/bfd
-I/usr/src/gnu/usr.bin/gas.new/../../dist/include
-I/usr/src/gnu/usr.bin/gas.new/../../dist -D_GNU_SOURCE -DDEFAULT_ELF -c
/usr/src/gnu/usr.bin/gas.new/../../dist/gas/app.c
In file included from /usr/src/gnu/usr.bin/gas.new/../../dist/gas/app.c:29:
/usr/src/gnu/usr.bin/gas.new/../../dist/gas/as.h:142: bfd.h: No such file or
directory
In file included from /usr/src/gnu/usr.bin/gas.new/arch/i386/obj-format.h:2,
from
/usr/src/gnu/usr.bin/gas.new/../../dist/gas/config/te-nbsd.h:24,
from /usr/src/gnu/usr.bin/gas.new/arch/i386/targ-env.h:1,
from /usr/src/gnu/usr.bin/gas.new/../../dist/gas/as.h:599,
from /usr/src/gnu/usr.bin/gas.new/../../dist/gas/app.c:29:
/usr/src/gnu/usr.bin/gas.new/../../dist/gas/config/obj-elf.h:32: bfd.h: No
such file or directory
*** Error code 1
Stop.
make: stopped in /usr/src/gnu/usr.bin/gas.new
bash-2.04#
At least I know I'm on the right track. I even commented out "options
I686_CPU" as suggested in "20010803:" of /usr/src/UPDATING. Man I'm soo
close..
Thanks :)
-cosmic-665
>From tech-smp-owner-the_hermit665 Mon, 12 Nov 2001 07:11:22 -0800
>Delivered-To: tech-smp@netbsd.org
>Message-ID: <3BEFE5E5.8265F564@romtelenet.org>
>Organization: RomTeleNet
>X-Mailer: Mozilla 4.78 [en] (X11; U; Linux 2.0.38 i386)
>X-Accept-Language: en
>References: <F1594PF53xqSHP5hkdQ00002a23@hotmail.com>
>Sender: tech-smp-owner@netbsd.org
>Precedence: list
>
>Update your gas
>
>Cheers,
>Mihai
>
>Cosmic 665 wrote:
>
> > Hello;
> >
> > After reading about i386/smp for NetBSD, I decided to give it a try.
>I
> > read the instuctions at
> > (http://mail-index.netbsd.org/tech-smp/2001/09/26/0000.html) and
>installed
> > the latest 20010827-1.5X snapshot. I have the following Hardware specs
>for
> > testing:
> >
> > Rioworks PDB-R SMP motherboard:
> > http://www.rioworks.com/products/pdb-r/pdb-r.htm
> > 2 PII-333Mhz Procs
> > 128MB RAM
> > 10.2gig HD
> >
> > After installing the 20010827-1.5X snapshot, I checked out the sources
>for
> > 20010827 and installed the patch. At first I couldn't get past the
>config
> > program since it was looking for a file called "files.agp" (which I
>didn't
> > have). Later I was able to begin compiling the kernel. I got the
>following
> > error message about 8 mins later:
> >
> > cc -x assembler-with-cpp -traditional-cpp -D_LOCORE -I.
>-I../../../../arch
> > -I../../../.. -nostdinc -DCRYPTO_MD_DES_ENC -DCRYPTO_MD_BF_ENC -DLKM
> > -DMAXUSERS=32 -D_KERNEL -D_KERNEL_OPT -Di386 -c
> >
>/usr/src/sys/arch/i386/compile/GENERIC.MP/../../../../arch/i386/i386/mptramp.s
> > /tmp/cca5mmdG.s: Assembler messages:
> > /tmp/cca5mmdG.s:1499: Error: no such 386 instruction: `data32'
> > *** Error code 1
> >
> > Stop.
> > make: stopped in /usr/src/sys/arch/i386/compile/GENERIC.MP
> > rm -f /onetbsd
> >
> > how do I get rid of this error message? I grabbed the latest -CURRENT
>code
> > and I'm still getting this error when compiling a kernel. I began to
>read
> > the /usr/src/UPDATING file and don't see anything relating to this
>error.
> > If anyone has any ideas on how to get rid of this error, please let me
>know.
> >
> > Thanks
> > -Cosmic-665
> >
> > _________________________________________________________________
> > Get your FREE download of MSN Explorer at
>http://explorer.msn.com/intl.asp
>
>--
>Mihai Chelaru
>RomTeleNet IT Manager
>Phone: +4090112292
>
>
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp