compiling problem
Ignasi Villagrasa
gri at netcom.es
Mon Feb 18 05:12:30 CST 2002
I have several Win32 console applications. I want to migrate them to
Linux, and have installed and configured Wine. My target is to migrate
the programs via winelib. So I don't want to run my applications on the
fly as windows binary code, but recompile them in Linux enviroment and
use following WINE console display functions:
WriteConsoleOutput
SetConsoleCursorPosition
GetStdHandle
FlushConsoleInputBuffer
SetConsoleMode
ReadConsoleOutput
ScrollConsoleScreenBuffer
GetConsoleCursorInfo
SetConsoleCursorInfo
GetNumberOfConsoleInputEvents
ReadConsoleInput
The first step is recompile C modules, but I find unexpected errors.
Here is the output I get recompiling code.
In file included from /usr/comun/src/mc_vis32.cpp:201:
/opt/wine/include/wine/wincon.h:25: parse error before `__attribute__'
/opt/wine/include/wine/wincon.h:229: `PHANDLER_ROUTINE' was not declared
in this
scope
.
.
.
Inspecting code, I notice the error always relates to the typedef
PHANDLER_ROUTINE. I don't find it in any include and don't know where
it's implemented. But the compiler doesn't find it.
Does anyone know where to find this definition ?
Which include file should I add to compilation process ?
Could anyone help me ?
Thanks in advance. Ignasi Villagrasa. GRI S.L.
More information about the wine-devel
mailing list