Subject: Problems in upgrading to current
To: None <>
From: John) Ting < (Yu-Han>
List: current-users
Date: 03/29/1994 00:33:54

I was trying to upgrade from 0.9 to current from the latest source tree.  I
followed the FAQ and had finished the following steps:

   setenv MACHINE_ARCH i386
   cd /usr/src/share/mk; make install
   cd /usr/src/include ; make obj; make; make install
   setenv LDSTATIC -static
   setenv NOPIC
   cd /usr/src/lib/libc ; make obj

Now I'm stuck in the following step: Issuing 'make' in /usr/src/lib/libc.
I got the following message during 'make':

   creating accept.o...
   :3:Unknown pseudo-op: '.type'
   :3:Rest of line ignored.  1st junk char....

I think the problem is caused by the line: (after macro expansion)

   @printf '#include "SYS.h"\nRSYSCALL(accept)\n' | cpp -DYP \
	-I/usr/src/lib/libc/arch/i386 | as -o accept.o

'cpp' produced a line like this:

   2:jmp cerror; .text; .align 2; .globl _accept; .type _accept; @function...

And the assembler could not handle it.  My problem is, how can I solve it?
Many thanks in advance.

Yu-Han Ting