Subject: problem building kernel
To: None <port-pmax@sun-lamp.cs.berkeley.edu>
From: Robert Olsson <Robert.Olsson@data.slu.se>
List: port-pmax
Date: 12/01/1994 19:20:54
	I trying to complile the NetBSD kernel on my DS 5000/25 at 
	home. Ultrix 4.3 with many patches. Using gcc 2.6.2 and the
	sup'ed sources. I have put a coulple of hours on this. I must
	missed some critical information. I'm following the BUILD doc
	using gcc and ultrix native ld.

	With the GENERIC config file I get the following problem:

gcc -nostdinc  -c -O -I. -I../../../../arch -I../../../.. -I../../../../sys -DGENERIC -DDS5000 -DDS3100 -DCOMPAT_ULTRIX -DGATEWAY -DTCP_COMPAT_42 -DINET -DKERNFS -DLOFS -DNFSSERVER -DNFSCLIENT -DMFS -DQUOTA -DFFS -DFIFO -DNKMEMCLUSTERS=1024 -DKTRACE -DCOMPAT_43 -DDEBUG -DDIAGNOSTIC -DDEVPAGER -DVNODEPAGER -DSWAPPAGER -DKERNEL -Dpmax -D__NetBSD__ -G0  ../../../../compat/ultrix/ultrix_misc.c
../../../../compat/ultrix/ultrix_misc.c:684: ANSI C requires a named argument before `...'
*** Error code 1

Stop.
tor# 


	I commented out COMPAT_ULTRIX and passes this problem but got lots of 
	Undefined refences when linking netbsd. 
	
	
	Happy for any clues? I'm not on any approiate mailinglist :-(

	Regards
	Robert Olsson