It turned out that a large problem was building GLibc-2.3.1. It wouldn't build
with the current compiler so I also installed GCC-3.3.4. I had to hunt up three
patches for GLibc-2.3.1 to get it to build OK. But if finally did build and I
have installed it in a private directory.
So, to try this, I used Xandros' "wineserver" file and stated with the Xandros
"wpolauncher" script and made a few changes to test this.
Yes it runs with my newly build GLibc-2.3.1 and the old X11R6 libraries from the
Xandros package. Some additional changes to the: "LD_LIBRARY_PATH" and I don't
get any errors when I try to print to my printer, but the print job just
disappears without any error -- it doesn't print.
Building Corel-WINE against the old GLibc-2.3.1 is going to take a little work.
And, I am not sure that it will build with a compiler this new -- I may need
to install an even older version of GCC.
--
JRT
I thought that this was going well. One small patch:
------8<------8<------8<------8<------8<------8<------8<------8<------
--- corelwine-cvs.old/if1632/thunk.c 2000-04-11 21:10:01.000000000 +0000
+++ corelwine-cvs/if1632/thunk.c 2004-09-27 22:45:43.000000000 +0000
@@ -360,7 +360,7 @@
if ( hModule )
{
#define GETADDR( var, name ) \
- *(FARPROC *)&Callout.##var = GetProcAddress( hModule, name )
+ *(FARPROC *)&Callout.var = GetProcAddress( hModule, name )
GETADDR( PeekMessageA, "PeekMessageA" );
GETADDR( PeekMessageW, "PeekMessageW" );
@@ -384,7 +384,7 @@
if ( pModule )
{
#define GETADDR( var, name, thk ) \
- *(FARPROC *)&Callout.##var = THUNK_GetCalloutThunk( pModule, name, \
+ *(FARPROC *)&Callout.var = THUNK_GetCalloutThunk( pModule, name, \
(RELAY)THUNK_CallTo16_##thk )
GETADDR( PeekMessage16, "PeekMessage", word_lwwww );
------8<------8<------8<------8<------8<------8<------8<------8<------
and it built till it tried to link "wine":
../libwine.so: undefined reference to `errno'
../libwine.so: undefined reference to `h_errno'
collect2: ld returned 1 exit status
Yes, this is the dreaded 'errno' problem.
This may take a while.
--
JRT
>
> This may take a while.
Yes, it is taking a while. Probably having a bad case of sinusitis hasn't
helped. :-)
The Auto* build system for Corel-WINE is rather primitive. So, I am going to
have to make a chroot environment to build it against the static GLibc-2.3.1.
I had a little trouble doing this (building the environment) -- so I tried the
LFS instructions. I think that I have now have the hard part done -- it takes a
while on my 400 MHZ system.
I now have a tools directory made on my SCRATCH partition as per the
instructions for Linux for Scratch. Now, I should be able to install what I
need to build it in the chroot tree, and try a build in a day or two (it takes a
while to build GCC and GLibc).
--
JRT
--
Leon A. Goldstein
Powered by Libranet 2.8 Debian Linux
System G2