<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>On 2012-February-26, at 5:22 PM, Chris Johns wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div><br>The solution is simple. Copy the MinGW zlib.dll to zlib1.dll in the MinGW bin directory. You could and test I will add a note to the Wiki page.<br><br></div></blockquote><br></div><div>Okay, that worked. The file is kept in C:\MinGW\msys\1.0\lib\perl5\vendor_perl\5.8\msys\auto\Compress\Raw\Zlib\Zlib.dll</div><div><br></div><div><br></div><div><br></div><div>Now, once the build gets down to trying to build adjtime.c, it runs into a bit of a problem. I have tried to build the av5282 BSP as well as the psim PowerPC BSP and they both blow at the same place.</div><div><br></div><div><div><font class="Apple-style-span" face="Courier">mv -f src/.deps/libposix_a-pspinunlock.Tpo src/.deps/libposix_a-pspinunlock.Po</font></div><div><font class="Apple-style-span" face="Courier">m68k-rtems4.11-gcc --pipe -DHAVE_CONFIG_H   -I.. -I../../cpukit/../../../av5282/lib/include -D__RTEMS_INSIDE__   -mcpu=528x -O2 -g -fomit-frame-pointe</font></div><div><font class="Apple-style-span" face="Courier">r -Wall -Wimplicit-function-declaration -Wstrict-prototypes -Wnested-externs -MT src/libposix_a-adjtime.o -MD -MP -MF src/.deps/libposix_a-adjtime.Tpo</font></div><div><font class="Apple-style-span" face="Courier"> -c -o src/libposix_a-adjtime.o `test -f 'src/adjtime.c' || echo '../../../../../../rtems-4.10.2/c/src/../../cpukit/posix/'`src/adjtime.c</font></div><div><font class="Apple-style-span" face="Courier">../../../../../../rtems-4.10.2/c/src/../../cpukit/posix/src/adjtime.c:42:6: error: conflicting types for 'adjtime'</font></div><div><font class="Apple-style-span" face="Courier">c:\opt\rtems-4.11\bin\../lib/gcc/m68k-rtems4.11/4.6.2/../../../../m68k-rtems4.11/include/sys/time.h:83:5: note: previous declaration of 'adjtime' was</font></div><div><font class="Apple-style-span" face="Courier">here</font></div><div><font class="Apple-style-span" face="Courier">make[5]: *** [src/libposix_a-adjtime.o] Error 1</font></div><div><font class="Apple-style-span" face="Courier">make[5]: Leaving directory `/c/opt/build/m68k-rtems4.11/c/av5282/cpukit/posix'</font></div><div><font class="Apple-style-span" face="Courier">make[4]: *** [all-recursive] Error 1</font></div><div><font class="Apple-style-span" face="Courier">make[4]: Leaving directory `/c/opt/build/m68k-rtems4.11/c/av5282/cpukit'</font></div><div><font class="Apple-style-span" face="Courier">make[3]: *** [all] Error 2</font></div><div><font class="Apple-style-span" face="Courier">make[3]: Leaving directory `/c/opt/build/m68k-rtems4.11/c/av5282/cpukit'</font></div><div><font class="Apple-style-span" face="Courier">make[2]: *** [all-recursive] Error 1</font></div><div><font class="Apple-style-span" face="Courier">make[2]: Leaving directory `/c/opt/build/m68k-rtems4.11/c/av5282'</font></div><div><font class="Apple-style-span" face="Courier">make[1]: *** [all-recursive] Error 1</font></div><div><font class="Apple-style-span" face="Courier">make[1]: Leaving directory `/c/opt/build/m68k-rtems4.11/c'</font></div><div><font class="Apple-style-span" face="Courier">make: *** [all-recursive] Error 1</font></div></div><br><div apple-content-edited="true">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>It looks like the first parameter of adjtime is declared as const in time.h and without const in adjtime.c.</div><div><br></div><div>Andrei</div></div></span></div></span></div>
</div>
<br><div>
<span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>---------------------</div><div>Andrei Chichak</div><div><br></div><div>Systems Developer</div><div>CBF Systems Inc.</div><div>4-038 NINT INNOVATION CENTRE</div><div>11421 SASKATCHEWAN DRIVE</div><div>EDMONTON, ALBERTA</div><div>T6G 2M9</div><div>CANADA</div><div><br></div><div>Phone: 780-628-2072</div><div>Skype: andrei.chichak</div><div><br></div></div></span><br class="Apple-interchange-newline"></div></span><br class="Apple-interchange-newline"></div></span><br class="Apple-interchange-newline"></div></span><br class="Apple-interchange-newline"></div></span><br class="Apple-interchange-newline"></span><br class="Apple-interchange-newline">
</div>
<br></body></html>