Hi All,
I'm on OpenSolaris B27, on an AMD 64 system, I'm getting these errors from the build.
I've tried to google a solution for a week but no luck.
gmake[2]: Leaving directory `/usr/local/src/wine-sources/wine/dlls/msisys'
gmake[2]: Entering directory `/usr/local/src/wine-sources/wine/dlls/msnet32' gmake[2]: Nothing to be done for `all'. gmake[2]: Leaving directory `/usr/local/src/wine-sources/wine/dlls/msnet32' gmake[2]: Entering directory `/usr/local/src/wine-sources/wine/dlls/msrle32' gmake[2]: Nothing to be done for `all'. gmake[2]: Leaving directory `/usr/local/src/wine-sources/wine/dlls/msrle32' gmake[2]: Entering directory `/usr/local/src/wine-sources/wine/dlls/msvcrt' ../../tools/winegcc/winegcc -B../../tools/winebuild -shared ./msvcrt.spec 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 rsrc.res -o msvcrt.dll.so -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 -lsocket -lnsl ld: fatal: symbol `_environ' is multiply-defined: (file /usr/lib/crt1.o type=OBJT; file data.o type=OBJT); ld: fatal: File processing errors. No output written to msvcrt.dll.so collect2: ld returned 1 exit status winegcc: gcc failed. gmake[2]: *** [msvcrt.dll.so] Error 2 gmake[2]: Leaving directory `/usr/local/src/wine-sources/wine/dlls/msvcrt' gmake[1]: *** [msvcrt] Error 2 gmake[1]: Leaving directory `/usr/local/src/wine-sources/wine/dlls' gmake: *** [dlls] Error 2
Any suggestion to fix would be appreciated.
Thanks Dave
---------
David Clack
Worldwide Senior Systems Engineer System Architect - JDS Desktop and Solaris X86 Sun Microsystems 642, Chinook Ave SE, Ocean Shores, WA, USA, 98569 Phone +1-206-289-2158 Fax +1-206-289-2091 Mobile +1-206-265-1904 Email David.Clack@Sun.COM
David Clack wrote:
I'm on OpenSolaris B27, on an AMD 64 system, I'm getting these errors from the build.
I guess not alot of people use that configuration ...
ld: fatal: symbol `_environ' is multiply-defined: (file /usr/lib/crt1.o type=OBJT; file data.o type=OBJT); ld: fatal: File processing errors. No output written to msvcrt.dll.so <http://msvcrt.dll.so>
There's probably an _environ defined in msvcrt and your libc. Have a look through the msvcrt code for the _environ symbol, and try change it to something like MSVCRT_environ. We do that for other symbols in msvcrt that conflict with glibc, so you should be able to find an example to copy.
Mike
On Mon, 28 Nov 2005 01:56 pm, Mike McCormack wrote:
David Clack wrote:
I'm on OpenSolaris B27, on an AMD 64 system, I'm getting these errors from the build.
I guess not alot of people use that configuration ...
Did you apply the patches from http://www.blastwave.org/wine