Subject: Re: compat_sunos for sparc64: first leg done
To: matthew green <mrg@eterna.com.au>
From: Tom Ivar Helbekkmo <tih@kpnQwest.no>
List: port-sparc
Date: 02/03/2001 22:50:42
matthew green <mrg@eterna.com.au> writes:

> i've commited a partially working compat/sunos32 directory [...]

You changed some files in compat/sunos, too, right?  I had to do the
following tonight to make the LKM stuff build:

Index: sys/compat/sunos/sunos_ioctl.c
===================================================================
RCS file: /cvsroot/syssrc/sys/compat/sunos/sunos_ioctl.c,v
retrieving revision 1.34
diff -c -w -r1.34 sunos_ioctl.c
*** sunos_ioctl.c       2001/02/02 12:59:43     1.34
--- sunos_ioctl.c       2001/02/03 21:47:42
***************
*** 26,33 ****
--- 26,35 ----
   * loosely from: Header: sunos_ioctl.c,v 1.7 93/05/28 04:40:43 torek Exp
   */
  
+ #if defined(_KERNEL) && !defined(_LKM)
  #include "opt_compat_netbsd32.h"
  #include "opt_execfmt.h"
+ #endif
  
  #include <sys/param.h>
  #include <sys/proc.h>

-tih
-- 
The basic difference is this: hackers build things, crackers break them.