<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
  <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
  <META NAME="GENERATOR" CONTENT="GtkHTML/3.9.1">
</HEAD>
<BODY>
Hi All,<BR>
<BR>
I'm on OpenSolaris B27, on an AMD 64 system, I'm getting these errors from the build.<BR>
<BR>
I've tried to google a solution for a week but no luck.<BR>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; gmake[2]: Leaving directory `/usr/local/src/wine-sources/wine/dlls/msisys'<BR>
<BLOCKQUOTE>
    gmake[2]: Entering directory `/usr/local/src/wine-sources/wine/dlls/msnet32'<BR>
    gmake[2]: Nothing to be done for `all'.<BR>
    gmake[2]: Leaving directory `/usr/local/src/wine-sources/wine/dlls/msnet32'<BR>
    gmake[2]: Entering directory `/usr/local/src/wine-sources/wine/dlls/msrle32'<BR>
    gmake[2]: Nothing to be done for `all'.<BR>
    gmake[2]: Leaving directory `/usr/local/src/wine-sources/wine/dlls/msrle32'<BR>
    gmake[2]: Entering directory `/usr/local/src/wine-sources/wine/dlls/msvcrt'<BR>
    ../../tools/winegcc/winegcc -B../../tools/winebuild -shared ./msvcrt.spec&nbsp;&nbsp;&nbsp; console.o cpp.o cppexcept.o ctype.o data.o dir.o environ.o errno.o except.o exit.o file.o heap.o locale.o lock.o main.o math.o mbcs.o misc.o process.o scanf.o string.o thread.o time.o undname.o wcs.o&nbsp; rsrc.res&nbsp;&nbsp; -o <A HREF="http://msvcrt.dll.so">msvcrt.dll.so</A> -L../../dlls -L../../dlls/user32 -L../../dlls/kernel32 -L../../dlls/ntdll -luser32 -lkernel32 -lntdll -Wb,-duser32 -L../../libs/wine -lwine -L../../libs/unicode -lwine_unicode -L../../libs/port -lwine_port&nbsp; -lsocket -lnsl<BR>
    ld: fatal: symbol `_environ' is multiply-defined:<BR>
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (file /usr/lib/crt1.o type=OBJT; file data.o type=OBJT);<BR>
    ld: fatal: File processing errors. No output written to <A HREF="http://msvcrt.dll.so">msvcrt.dll.so</A><BR>
    collect2: ld returned 1 exit status<BR>
    winegcc: gcc failed.<BR>
    gmake[2]: *** [<A HREF="http://msvcrt.dll.so">msvcrt.dll.so</A>] Error 2<BR>
    gmake[2]: Leaving directory `/usr/local/src/wine-sources/wine/dlls/msvcrt'<BR>
    gmake[1]: *** [msvcrt] Error 2<BR>
    gmake[1]: Leaving directory `/usr/local/src/wine-sources/wine/dlls'<BR>
    gmake: *** [dlls] Error 2<BR>
    <BR>
    Any suggestion to fix would be appreciated.<BR>
    <BR>
    Thanks<BR>
    &nbsp; Dave<BR>
</BLOCKQUOTE>
<TABLE CELLSPACING="0" CELLPADDING="0" WIDTH="100%">
<TR>
<TD>
---------<BR>
<BR>
<TABLE CELLSPACING="0" CELLPADDING="0" WIDTH="500">
<TR>
<TD WIDTH="136">
<A HREF="http://www.sun.com/"><IMG SRC="http://www.sun.com/emrkt/sigs/6d_top.gif" WIDTH="136" HEIGHT="121" ALIGN="bottom" BORDER="0"></A>
</TD>
<TD WIDTH="364">
<B><FONT SIZE="1">David Clack</FONT></B><BR>
<BR>
<FONT SIZE="1">Worldwide Senior Systems Engineer </FONT><BR>
<FONT SIZE="1">System Architect - JDS Desktop and Solaris X86</FONT><BR>
<B><FONT SIZE="1">Sun Microsystems</FONT></B><BR>
<B><FONT SIZE="1">642, Chinook Ave SE, Ocean Shores, WA, USA, 98569</FONT></B><BR>
<FONT SIZE="1">Phone +1-206-289-2158</FONT><BR>
<FONT SIZE="1">Fax +1-206-289-2091</FONT><BR>
<FONT SIZE="1">Mobile +1-206-265-1904</FONT><BR>
<FONT SIZE="1">Email David.Clack@Sun.COM</FONT>
</TD>
</TR>
<TR>
<TD COLSPAN="2" VALIGN="top">
<A HREF="http://www.sun.com/"><IMG SRC="http://www.sun.com/emrkt/sigs/6d_bottom.gif" WIDTH="454" HEIGHT="26" ALIGN="bottom" BORDER="0"></A><BR>
<BR>
<BR>
<BR>
</TD>
</TR>
</TABLE>
<BR>
<BR>
<BR>
<BR>
</TD>
</TR>
</TABLE>
</BODY>
</HTML>