[Wine]Problem compiling Corel-WINE

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



In reference to an old posting: we managed to get a copy of the final CVS Corel-WINE code.

I am trying to compile it with GCC-3.3.4. I realize that this might not work as I had to hunt down three patches on Google to build GLibc-2.3.1 with that GCC version.

NOTE: for those that don't know, GLibc-2.3.1 is the last version of GLibc that Corel-WINE will work with.

So, I was building Corel-WINE CVS against GLibc-2.3.1 with GCC-3.3.4 and I get this error:

/usr/local/gcc-3.3.4/bin/gcc -c -march=i586 -O2 -Wall -fPIC -D__WINE__ -D_REENTRANT -DSHELL_NO_DESKTOP -I. -I. -I../include -I../include -I/usr/X11R6/include -o thunk.o thunk.c
thunk.c:365:47: pasting "." and "PeekMessageA" does not give a valid preprocessing token
thunk.c:366:47: pasting "." and "PeekMessageW" does not give a valid preprocessing token
thunk.c:367:45: pasting "." and "GetMessageA" does not give a valid preprocessing token
thunk.c:368:45: pasting "." and "GetMessageW" does not give a valid preprocessing token
thunk.c:369:47: pasting "." and "SendMessageA" does not give a valid preprocessing token
thunk.c:370:47: pasting "." and "SendMessageW" does not give a valid preprocessing token
thunk.c:371:47: pasting "." and "PostMessageA" does not give a valid preprocessing token
thunk.c:372:47: pasting "." and "PostMessageW" does not give a valid preprocessing token
thunk.c:373:59: pasting "." and "PostThreadMessageA" does not give a valid preprocessing token
thunk.c:374:59: pasting "." and "PostThreadMessageW" does not give a valid preprocessing token
thunk.c:375:55: pasting "." and "TranslateMessage" does not give a valid preprocessing token
thunk.c:376:55: pasting "." and "DispatchMessageW" does not give a valid preprocessing token
thunk.c:377:55: pasting "." and "DispatchMessageA" does not give a valid preprocessing token
thunk.c:378:47: pasting "." and "RedrawWindow" does not give a valid preprocessing token
thunk.c:390:59: pasting "." and "PeekMessage16" does not give a valid preprocessing token
thunk.c:391:56: pasting "." and "GetMessage16" does not give a valid preprocessing token
thunk.c:392:58: pasting "." and "SendMessage16" does not give a valid preprocessing token
thunk.c:393:58: pasting "." and "PostMessage16" does not give a valid preprocessing token
thunk.c:394:64: pasting "." and "PostAppMessage16" does not give a valid preprocessing token
thunk.c:395:65: pasting "." and "TranslateMessage16" does not give a valid preprocessing token
thunk.c:396:63: pasting "." and "DispatchMessage16" does not give a valid preprocessing token
thunk.c:397:60: pasting "." and "RedrawWindow16" does not give a valid preprocessing token
thunk.c:398:58: pasting "." and "FinalUserInit16" does not give a valid preprocessing token
thunk.c:399:47: pasting "." and "InitApp16" does not give a valid preprocessing token
thunk.c:400:64: pasting "." and "InitThreadInput16" does not give a valid preprocessing token
thunk.c:401:50: pasting "." and "UserYield16" does not give a valid preprocessing token
thunk.c:402:58: pasting "." and "DestroyIcon32" does not give a valid preprocessing token
thunk.c:403:60: pasting "." and "UserSignalProc" does not give a valid preprocessing token


This is the code:

#define GETADDR( var, name )  \
        *(FARPROC *)&Callout.##var = GetProcAddress( hModule, name )

        GETADDR( PeekMessageA, "PeekMessageA" );
        GETADDR( PeekMessageW, "PeekMessageW" );
        GETADDR( GetMessageA, "GetMessageA" );
        GETADDR( GetMessageW, "GetMessageW" );
        GETADDR( SendMessageA, "SendMessageA" );
        GETADDR( SendMessageW, "SendMessageW" );
        GETADDR( PostMessageA, "PostMessageA" );
        GETADDR( PostMessageW, "PostMessageW" );
        GETADDR( PostThreadMessageA, "PostThreadMessageA" );
        GETADDR( PostThreadMessageW, "PostThreadMessageW" );
        GETADDR( TranslateMessage, "TranslateMessage" );
        GETADDR( DispatchMessageW, "DispatchMessageW" );
        GETADDR( DispatchMessageA, "DispatchMessageA" );
        GETADDR( RedrawWindow, "RedrawWindow" );

I think that I am in just a little over my head here -- not a lot -- just a little. :-)

I hope that there is some minor change that will fix this (as there was with the problems with GLibc-2.3.1). Anybody that can help will help with this will get not only my gratitude but that of a lot of owners of WordPerfect Office 2000 for Linux that can no longer use it (actually, I got it to work and Xandros got it to work but we can't print anything. :-(

Static linking against GLibc appears to be the answer, but first I need to get it to build.

I expect that there will be additional problems with the build so more help will probably be needed.

Thanks in advance.

--
JRT
_______________________________________________
wine-users mailing list
wine-users@xxxxxxxxxx
http://www.winehq.org/mailman/listinfo/wine-users

[Index of Archives]     [Gimp for Windows]     [Red Hat]     [Samba]     [Yosemite Camping]     [Graphics Cards]     [Wine Home]

  Powered by Linux