Hi all,
I have tried to compile wine from 2 or 3 releases ago, but with the same errors,
corrected(???) now...actualy i try to use wine-20000909.
After a hard fight with wine i have compiled on a Pentim 200Mhz 98Mb RAM running
Solaris 2.5.1.
During my fight i have this problems...
During compilation, wine call 2 functions snprintf() and vsnprintf(), but this
functions not exist on Solaris, searching in documentation, i found on Changelog this:
Fixed crash.
* debugger/stabs.c: Eric Pouech <[EMAIL PROTECTED]>
Changed snprintf to wsnprintfA to remove unresolved external when
compiling on Solaris/Sun.
I resolv change ALL calls to snprintf() and vsnprintf() to wsnprintfA(), finishing the
compilation proccess with no errors.
I have a question here, it's realy necessary call this 2 functions??There is called
only 10/12 times on all code, it's a bad ideia change this functions??any comment??
Next, on install process i have an error on search by install-sh, that not exist on
solaris, and reside on tools directory, but on INSTALL variable in ALL Makefiles, the
path is tools/install-sh, causing a not found error during install.
On Makefile apears something as:
INSTALL = tools/install -c
But on Makefile exist a variable called
TOPSRCDIR = ../..
that return to wine basedir, and if append whit INSTALL, it resolv the problem with
some thing:
TOPSRCDIR = ../..
.
.
.
INSTALL = $(TOPSRCDIR)/tools/install -c
Unfortunely, I don't know how to correct this, because the Makefiles are created
dinamicaly from configure, and i dont have any ideia about how change configure
script, sorry :-(
Finaly compiled and instaled I have an error talking about a socket problem:
'~home/.wine/wineserver-<machinename>/socket' is not a socket
On my stydies, my conclusion it's that version(2.5.1) of Solaris, have an "feature"
litle diferent from others solaris versions, and the cration of a socket file on
Solaris 2.5.1 produces a pipe file(with the same code), on this case, i have modified
a test routine on scheduler/client.c to test a socket file or a pipe file
simultaneously.
Hostname# diff -u client.c client1.c
--- client.c Sun Sep 10 00:24:28 2000
+++ client1.c Tue Sep 19 04:18:10 2000
@@ -462,7 +462,7 @@
}
/* make sure the socket is sane */
- if (!S_ISSOCK(st.st_mode))
+ if (!S_ISSOCK(st.st_mode) && !S_ISFIFO(st.st_mode))
fatal_error( "'%s/%s' is not a socket\n", serverdir, SOCKETNAME );
if (st.st_uid != getuid())
fatal_error( "'%s/%s' is not owned by you\n", serverdir, SOCKETNAME );
After this small misfortunes, i install wine, but when i try to run a simple
program(sol.exe, solitarie, from a win95), it simple finish execution without any
message.
When i run sol.exe with windbg this show-me the next message:
Hostname# winedbg sol
err:win:USER_DllEntryPoint Could not load USER32.DLL
Console: Making console complex (creating an xterm)...
xterm: unable to open font "vga", trying "fixed"....
err:dosfs:GetLongPathNameA Bad longname! (ss=\ ll=.)
This should never happen !
Couldn't map system heap at the correct address (8048e000)
Any ideia??
Any help??
-------------------------------------------------
Roberto A. Pungartnik
Network Administrator
Porto Alegre - RS - Brazil
E-Mail: [EMAIL PROTECTED]
-------------------------------------------------