X-MimeOLE: Produced By Microsoft Exchange V6.5
Received: by onstor-exch02.onstor.net 
	id <01C820B6.451D45FA@onstor-exch02.onstor.net>; Tue, 6 Nov 2007 12:47:39 -0800
MIME-Version: 1.0
Content-Type: multipart/alternative;
	boundary="----_=_NextPart_001_01C820B6.451D45FA"
Content-class: urn:content-classes:message
Subject: seep changes have broken BSD builds
Date: Tue, 6 Nov 2007 12:47:39 -0800
Message-ID: <BB375AF679D4A34E9CA8DFA650E2B04E066D1BE2@onstor-exch02.onstor.net>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: seep changes have broken BSD builds
Thread-Index: AcggtkT+wZue3TkbRN2VDRGv8RMyFA==
From: "Ken Renshaw" <ken.renshaw@onstor.com>
To: "dl-Cougar" <dl-Cougar@onstor.com>
Cc: "Ken Renshaw" <ken.renshaw@onstor.com>

This is a multi-part message in MIME format.

------_=_NextPart_001_01C820B6.451D45FA
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

Hi guys, I have a problem whereby the recent seep rewrites have broken
the BSD builds, specifically this file's compilation:

=20

//depot/dev/openbsd/src/sys/arch/pmonmips/machdep.c

=20

and possibly others as well.

=20

The problem is that one or both of these changes:

=20

Change 25915 on 2007/10/18 by jeffm@jeffm-dev '       These are changes
to mak'

Change 25799 on 2007/10/10 by timg@timg-work 'seep file unification.
seep rel'

=20

break the compilation of both bobcat and cheetah kernels, with the
following error in bsd-build-all:

=20

/usr/openbsd.new/usr/cross/pmonmips/usr/bin/cc -g -O2 -Werror -Wall
-Wmissing-prototypes -Wstrict-prototypes  -Wno-uninitialized -Wno-format
-Wno-main -mno-abicalls -mips2 -mcpu=3Dr4000    -I. -I../../../../arch
-I../../../.. -I../../../../../../../nfx-tree/Includes/ch
-I../../../../../../../nfx-tree/Includes
-I../../../../../../../nfx-tree/code/sm-eee
-I../../../../../../../nfx-tree/code -DTIMEZONE=3D"0" -DDST=3D"0" -DNTP
-DSWAPPAGER -DDEVPAGER -DKTRACE -DKMEMSTATS -DCRYPTO -DSYSVMSG -DSYSVSEM
-DSYSVSHM -DUVM_SWAP_ENCRYPT -DCOMPAT_11 -DCOMPAT_43 -DFFS -DQUOTA -DMFS
-DTCP_SACK -DNFSCLIENT -DNFSSERVER -DFDESC -DFIFO -DKERNFS -DNULLFS
-DUNION -DINET -DIPFILTER -DIPFILTER_LOG -DBOOT_CONFIG -DNATIVE_ELF
-DPCIBR_GAL -DPCIBR_V3 -DGTUARTCONSOLE -DCONSPEED=3D"B57600"
-DGALILEO_REAL_SSC -DCHEETAH -DENABLE_WATCHDOG -Dtssccomm
-DNFSBOOT_NETMASK=3D"0xffff0000" -DNFSBOOT_BROADCAST=3D"0xa01ffff" =
-DNETEEE
-DNETEEE_ALIAS -DNETEEE_FRAGMENT -D_KERNEL -Dmips_cachealias -Dpmonmips
-D__pmonmips__  -c ../.!

 ./../../arch/pmonmips/pmonmips/machdep.c

../../../../arch/pmonmips/pmonmips/machdep.c: In function `boot':

../../../../arch/pmonmips/pmonmips/machdep.c:1017: `SSC_I2C_ADDR'
undeclared (first use in this function)

../../../../arch/pmonmips/pmonmips/machdep.c:1017: (Each undeclared
identifier is reported only once

../../../../arch/pmonmips/pmonmips/machdep.c:1017: for each function it
appears in.)

*** Error code 1

=20

Stop in /usr/openbsd.new/src/sys/arch/pmonmips/compile/SSC_I (line 1028
of Makefile).

make: *** [bsd-kernel] Error 1

=20

In the machdep.c file there is this block of defines at the beginning
that I believe no longer works:

=20

#include <nfx-types.h>

#include <sm-gt64240/i2c-api.h>

#include <sm-hw/hw-api.h>

#include <sm-seep/seep-api.h>

#include <sm-seep/seep.h>

#include <sm-seep/env-api.h>

#include <nfx-types.h>

#include "sm-prom-upgrade/from-api.h"

#include <sys/amd29f040.h>

#include "sm-prom-upgrade/prom-part-api.h"

#include "ssc-crashsave/ssc-crashdump-api.h"

=20

Could someone please fix this ASAP? Thanks much.

=20

-Ken


------_=_NextPart_001_01C820B6.451D45FA
Content-Type: text/html;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<html xmlns:o=3D"urn:schemas-microsoft-com:office:office" =
xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns=3D"http://www.w3.org/TR/REC-html40">

<head>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Dus-ascii">
<meta name=3DGenerator content=3D"Microsoft Word 11 (filtered medium)">
<style>
<!--
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:12.0pt;
	font-family:"Times New Roman";}
a:link, span.MsoHyperlink
	{color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{color:purple;
	text-decoration:underline;}
span.EmailStyle17
	{mso-style-type:personal-compose;
	font-family:Arial;
	color:windowtext;}
@page Section1
	{size:8.5in 11.0in;
	margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
	{page:Section1;}
-->
</style>

</head>

<body lang=3DEN-US link=3Dblue vlink=3Dpurple>

<div class=3DSection1>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>Hi guys, I have a problem whereby the recent seep =
rewrites
have broken the BSD builds, specifically this file&#8217;s =
compilation:<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>//depot/dev/openbsd/src/sys/arch/pmonmips/machdep.c<o:=
p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>and possibly others as =
well.<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>The problem is that one or both of these =
changes:<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D2 =
face=3D"Courier New"><span
style=3D'font-size:10.0pt;font-family:"Courier New"'>Change 25915 on =
2007/10/18
by jeffm@jeffm-dev '&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; These are =
changes to mak'<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:10.0pt;
font-family:"Courier New"'>Change 25799 on 2007/10/10 by timg@timg-work =
'seep
file unification. seep rel'<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:10.0pt;
font-family:"Courier New"'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:10.0pt;
font-family:"Courier New"'>break the compilation of both bobcat and =
cheetah
kernels, with the following error in =
bsd-build-all:<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:10.0pt;
font-family:"Courier New"'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D2 =
face=3D"Courier New"><span
style=3D'font-size:10.0pt;font-family:"Courier =
New"'>/usr/openbsd.new/usr/cross/pmonmips/usr/bin/cc
-g -O2 -Werror -Wall -Wmissing-prototypes -Wstrict-prototypes&nbsp;
-Wno-uninitialized -Wno-format -Wno-main -mno-abicalls -mips2 =
-mcpu=3Dr4000&nbsp;&nbsp;&nbsp;
-I. -I../../../../arch -I../../../..
-I../../../../../../../nfx-tree/Includes/ch
-I../../../../../../../nfx-tree/Includes&nbsp; =
-I../../../../../../../nfx-tree/code/sm-eee&nbsp;
-I../../../../../../../nfx-tree/code -DTIMEZONE=3D&quot;0&quot;
-DDST=3D&quot;0&quot; -DNTP -DSWAPPAGER -DDEVPAGER -DKTRACE -DKMEMSTATS =
-DCRYPTO
-DSYSVMSG -DSYSVSEM -DSYSVSHM -DUVM_SWAP_ENCRYPT -DCOMPAT_11 -DCOMPAT_43 =
-DFFS
-DQUOTA -DMFS -DTCP_SACK -DNFSCLIENT -DNFSSERVER -DFDESC -DFIFO -DKERNFS
-DNULLFS -DUNION -DINET -DIPFILTER -DIPFILTER_LOG -DBOOT_CONFIG =
-DNATIVE_ELF
-DPCIBR_GAL -DPCIBR_V3 -DGTUARTCONSOLE -DCONSPEED=3D&quot;B57600&quot;
-DGALILEO_REAL_SSC -DCHEETAH -DENABLE_WATCHDOG -Dtssccomm =
-DNFSBOOT_NETMASK=3D&quot;0xffff0000&quot;
-DNFSBOOT_BROADCAST=3D&quot;0xa01ffff&quot; -DNETEEE -DNETEEE_ALIAS
-DNETEEE_FRAGMENT -D_KERNEL -Dmips_cachealias -Dpmonmips =
-D__pmonmips__&nbsp; -c
../.!<o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D2 =
face=3D"Courier New"><span
style=3D'font-size:10.0pt;font-family:"Courier =
New"'>&nbsp;./../../arch/pmonmips/pmonmips/machdep.c<o:p></o:p></span></f=
ont></p>

<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D2 =
face=3D"Courier New"><span
style=3D'font-size:10.0pt;font-family:"Courier =
New"'>../../../../arch/pmonmips/pmonmips/machdep.c:
In function `boot':<o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D2 =
face=3D"Courier New"><span
style=3D'font-size:10.0pt;font-family:"Courier =
New"'>../../../../arch/pmonmips/pmonmips/machdep.c:1017:
`SSC_I2C_ADDR' undeclared (first use in this =
function)<o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D2 =
face=3D"Courier New"><span
style=3D'font-size:10.0pt;font-family:"Courier =
New"'>../../../../arch/pmonmips/pmonmips/machdep.c:1017:
(Each undeclared identifier is reported only =
once<o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D2 =
face=3D"Courier New"><span
style=3D'font-size:10.0pt;font-family:"Courier =
New"'>../../../../arch/pmonmips/pmonmips/machdep.c:1017:
for each function it appears in.)<o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D2 =
face=3D"Courier New"><span
style=3D'font-size:10.0pt;font-family:"Courier New"'>*** Error code =
1<o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D2 =
face=3D"Courier New"><span
style=3D'font-size:10.0pt;font-family:"Courier =
New"'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D2 =
face=3D"Courier New"><span
style=3D'font-size:10.0pt;font-family:"Courier New"'>Stop in
/usr/openbsd.new/src/sys/arch/pmonmips/compile/SSC_I (line 1028 of =
Makefile).<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:10.0pt;
font-family:"Courier New"'>make: *** [bsd-kernel] Error =
1<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:10.0pt;
font-family:"Courier New"'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:10.0pt;
font-family:"Courier New"'>In the machdep.c file there is this block of =
defines
at the beginning that I believe no longer =
works:<o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D2 =
face=3D"Courier New"><span
style=3D'font-size:10.0pt;font-family:"Courier =
New"'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D2 =
face=3D"Courier New"><span
style=3D'font-size:10.0pt;font-family:"Courier New"'>#include =
&lt;nfx-types.h&gt;<o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D2 =
face=3D"Courier New"><span
style=3D'font-size:10.0pt;font-family:"Courier New"'>#include
&lt;sm-gt64240/i2c-api.h&gt;<o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D2 =
face=3D"Courier New"><span
style=3D'font-size:10.0pt;font-family:"Courier New"'>#include
&lt;sm-hw/hw-api.h&gt;<o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'text-autospace:none'><b><font size=3D2 =
color=3Dred
face=3D"Courier New"><span =
style=3D'font-size:10.0pt;font-family:"Courier New";
color:red;font-weight:bold'>#include =
&lt;sm-seep/seep-api.h&gt;<o:p></o:p></span></font></b></p>

<p class=3DMsoNormal style=3D'text-autospace:none'><b><font size=3D2 =
color=3Dred
face=3D"Courier New"><span =
style=3D'font-size:10.0pt;font-family:"Courier New";
color:red;font-weight:bold'>#include =
&lt;sm-seep/seep.h&gt;<o:p></o:p></span></font></b></p>

<p class=3DMsoNormal style=3D'text-autospace:none'><b><font size=3D2 =
color=3Dred
face=3D"Courier New"><span =
style=3D'font-size:10.0pt;font-family:"Courier New";
color:red;font-weight:bold'>#include =
&lt;sm-seep/env-api.h&gt;<o:p></o:p></span></font></b></p>

<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D2 =
face=3D"Courier New"><span
style=3D'font-size:10.0pt;font-family:"Courier New"'>#include =
&lt;nfx-types.h&gt;<o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D2 =
face=3D"Courier New"><span
style=3D'font-size:10.0pt;font-family:"Courier New"'>#include
&quot;sm-prom-upgrade/from-api.h&quot;<o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D2 =
face=3D"Courier New"><span
style=3D'font-size:10.0pt;font-family:"Courier New"'>#include
&lt;sys/amd29f040.h&gt;<o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D2 =
face=3D"Courier New"><span
style=3D'font-size:10.0pt;font-family:"Courier New"'>#include
&quot;sm-prom-upgrade/prom-part-api.h&quot;<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:10.0pt;
font-family:"Courier New"'>#include =
&quot;ssc-crashsave/ssc-crashdump-api.h&quot;<o:p></o:p></span></font></p=
>

<p class=3DMsoNormal><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:10.0pt;
font-family:"Courier New"'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:10.0pt;
font-family:"Courier New"'>Could someone please fix this ASAP? Thanks =
much.<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:10.0pt;
font-family:"Courier New"'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:10.0pt;
font-family:"Courier New"'>-Ken</span></font><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'><o:p></o:p></span></font></p=
>

</div>

</body>

</html>

------_=_NextPart_001_01C820B6.451D45FA--
