<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<style>
<!--
@font-face
        {font-family:SimSun}
@font-face
        {font-family:SimSun}
@font-face
        {font-family:Calibri}
@font-face
        {font-family:"\@SimSun"}
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif"}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline}
span.EmailStyle17
        {font-family:"Calibri","sans-serif";
        color:windowtext}
.MsoChpDefault
        {font-size:10.0pt}
@page WordSection1
        {margin:1.0in 1.0in 1.0in 1.0in}
div.WordSection1
        {}
-->
</style>
</head>
<body lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"> </p>
<p class="MsoNormal">Hi,</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">After following the README.waf procedure, I receive the following error (at the end of the email) in step 8 right when I issued waf command.</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">Any advise on the compiler error below?  I am currently using RTEMS checkedout (cloned) on May 8<sup>th</sup> 2017 but the tool chain (RSB) that I successfully compiled is early Jan.  Re-cloning tool chain w/ today’s date???</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">I randomly selected powerpc virtex5 RTEMS BSP, configure it, make, make install it, re-configure waf, run waf and still receive the same error…  Do you have a PowerPC BSP that is known to be compatible with rtems-libbsd so that waf can
 compile so I can use it as a baseline?  I know the README.waf provide xilinx_zynq_a9_qemu as a BSP ex. but it is for ARM…</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">Thanks,</p>
<p class="MsoNormal">Phong.</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">Below is the compiler error when I use my scs750 BSP.</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">In file included from ../../freebsd/sbin/pfctl/parse.y:76:0:</p>
<p class="MsoNormal">../../freebsd/include/err.h:49:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void'</p>
<p class="MsoNormal">void err(int, const char *, ...) __dead2 __printf0like(2, 3);</p>
<p class="MsoNormal">^~~~</p>
<p class="MsoNormal">In file included from ../../freebsd/sbin/pfctl/parse.y:78:0:</p>
<p class="MsoNormal">/home/phamp/development/rtems/4.12/powerpc-rtems4.12/include/pwd.h:51:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'struct'</p>
<p class="MsoNormal">struct passwd {</p>
<p class="MsoNormal">^~~~~~</p>
<p class="MsoNormal">../../freebsd/sbin/pfctl/parse.y: In function '_bsd_pfctl_pfctlyparse':</p>
<p class="MsoNormal">../../freebsd/sbin/pfctl/parse.y:3342:24: error: 'struct passwd' has no member named 'pw_uid'</p>
<p class="MsoNormal">     $$ = pw->pw_uid;</p>
<p class="MsoNormal">                        ^ </p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">Build failed</p>
<p class="MsoNormal">-> task in 'yacc_pfctly' failed with exit status 1: </p>
<p class="MsoNormal">              {task 44351728: c parse.c -> parse.c.10.o}</p>
<p class="MsoNormal">['/home/phamp/development/rtems/4.12/bin/powerpc-rtems4.12-gcc', '-qrtems', '-B/home/phamp/development/rtems/4.12/powerpc-rtems4.12/lib/', '-B/home/phamp/development/rtems/4.12/powerpc-rtems4.12/scs750/lib/', '--specs', 'bsp_specs', '-mcpu=750',
 '-mcpu=750', '-mmultiple', '-mmultiple', '-mstring', '-mstring', '-mstrict-align', '-mstrict-align', '-O2', '-g', '-fno-strict-aliasing', '-ffreestanding', '-fno-common', '-w', '-Irtemsbsd/powerpc/include', '-I../../rtemsbsd/powerpc/include', '-Ifreebsd/sys/powerpc/include',
 '-I../../freebsd/sys/powerpc/include', '-Irtemsbsd/include', '-I../../rtemsbsd/include', '-Ifreebsd/sys', '-I../../freebsd/sys', '-Ifreebsd/sys/contrib/pf', '-I../../freebsd/sys/contrib/pf', '-Ifreebsd/sys/net', '-I../../freebsd/sys/net', '-Ifreebsd/include',
 '-I../../freebsd/include', '-Ifreebsd/lib', '-I../../freebsd/lib', '-Ifreebsd/lib/libbsdstat', '-I../../freebsd/lib/libbsdstat', '-Ifreebsd/lib/libc/include', '-I../../freebsd/lib/libc/include', '-Ifreebsd/lib/libc/isc/include', '-I../../freebsd/lib/libc/isc/include',
 '-Ifreebsd/lib/libc/resolv', '-I../../freebsd/lib/libc/resolv', '-Ifreebsd/lib/libutil', '-I../../freebsd/lib/libutil', '-Ifreebsd/lib/libkvm', '-I../../freebsd/lib/libkvm', '-Ifreebsd/lib/libmemstat', '-I../../freebsd/lib/libmemstat', '-Ifreebsd/lib/libipsec',
 '-I../../freebsd/lib/libipsec', '-Ifreebsd/contrib/expat/lib', '-I../../freebsd/contrib/expat/lib', '-Ifreebsd/contrib/libpcap', '-I../../freebsd/contrib/libpcap', '-Ifreebsd/contrib/libxo', '-I../../freebsd/contrib/libxo', '-Irtemsbsd/sys', '-I../../rtemsbsd/sys',
 '-ImDNSResponder/mDNSCore', '-I../../mDNSResponder/mDNSCore', '-ImDNSResponder/mDNSShared', '-I../../mDNSResponder/mDNSShared', '-ImDNSResponder/mDNSPosix', '-I../../mDNSResponder/mDNSPosix', '-Itestsuite/include', '-I../../testsuite/include', '-DHAVE_RTEMS_SCORE_CPUOPTS_H=1',
 '-DHAVE_RTEMS_H=1', '../../freebsd/sbin/pfctl/parse.c', '-c', '-o/home/phamp/Desktop/rtems-dev/rtems_0508/rtems-libbsd/build/powerpc-rtems4.12-scs750/freebsd/sbin/pfctl/parse.c.10.o']</p>
</div>
<h5><font color="gray">Notice: This e-mail and any files transmitted with it may contain Data Device Corporation's privileged and proprietary information. It is intended solely for the use of the individual or entity to whom it is addressed. If you are not
 the named recipient of this transmission, any disclosure, copying, distribution or reliance on the contents of this message is prohibited. If you received this e-mail in error, please destroy it and any attached files and notify me immediately.
<h5></h5>
</font></h5>
</body>
</html>