Subject: Problems in upgrading to current
To: None <current-users@sun-lamp.cs.berkeley.edu>
From: John) Ting <yting@netcom.com (Yu-Han>
List: current-users
Date: 03/29/1994 00:33:54
Hi,

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 \
	-DLIBC_SCCS -DSYSLIBC_SCCS -DPOSIX_MISTAKE \
	-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

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