*BSD News Article 24755


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!munnari.oz.au!news.Hawaii.Edu!ames!elroy.jpl.nasa.gov!swrinde!cs.utexas.edu!uunet!ogicse!flop.ENGR.ORST.EDU!mundania.CS.ORST.EDU!thorpej
From: thorpej@mundania.CS.ORST.EDU (Jason R. Thorpe)
Newsgroups: comp.os.386bsd.misc
Subject: Kernel source problems...
Message-ID: <2e11ugINNs15@flop.ENGR.ORST.EDU>
Date: 7 Dec 93 04:48:16 GMT
Article-I.D.: flop.2e11ugINNs15
Organization: Computer Science Department, Oregon State University
Lines: 52
NNTP-Posting-Host: mundania.cs.orst.edu

I'm having a few problems trying to regenerate the kernel on a 
486 box running NetBSD 0.9...

I had these problems, so I got a completely new kernel source tree and
attempted another rebuild...No good...Below are my error messages...It's
the first command in the makefile, BTW...Yes, I did do a make depend...

Oh yeah...I'm also running gcc 2.5.6, but I have the original gcc for use
in compiling the kernel (it doesn't chew up that much space...I wonder
how they got that sucker to be _EXACTLY_ 64K! impressive!  I also have
then latest version of GNU as, and EVERYTHING else compiles fine...
From what I can tell, there is bad code...as the cpp is having 
problems parsing some of the assembly code for the isa stuff...

Has anyone else had this problem?



----------------------------------------------------------------------------

cpp -I. -DLOCORE -I. -I../../../../arch -I../../../.. -I../../../../sys -DYURI_N
O_SCSI -DI486_CPU -DCOMPAT_NOMID -DKERNFS -DMSDOSFS -DUCONSOLE -DXSERVER -DTCP_C
OMPAT_42 -DCOMPAT_43 -DNFSCLIENT -DISOFS -DINET -DKERNEL -Di386 ../../i386/locor
e.s |  as  -o locore.o
../../i386/locore.s:368: unterminated character constant
../../i386/locore.s:422: unterminated character constant
../../i386/locore.s:1650: unterminated character constant
../../i386/locore.s:1717: unterminated character constant
../../i386/locore.s:1722: unterminated character constant
In file included from ../../i386/locore.s:2162:
../../../../arch/i386/isa/icu.s:194: unterminated character constant
{standard input}: Assembler messages:
{standard input}:907: Error: expression too complex for fixup
{standard input}:925: Error: expression too complex for fixup
{standard input}:951: Error: expression too complex for fixup

---------------------------------------------------------------------------

I looked at the code, and didn't see any problems, but, then again, all 
assembler code looks the same to me!  :-)

Thanks for any help you can provide...I REALLY want to get some unneeded
stuff out of my kernel...

Later...


-- 
------------------------------------------------------------------------------
Jason R. Thorpe          |     'All standard...'     |    434 Weatherford Hall
OSU Computer Science     |    thorpej@cs.orst.edu    |     Corvallis, OR 97331
Support Staff            |  '...disclaimers apply.'  |          (503) 737-9533