problem in using Winelib

Steven Edwards steven_ed4153 at yahoo.com
Fri Sep 3 11:09:26 CDT 2004


Hi,

--- gupta.lokesh at philips.com wrote:
> - When I run winemaker in my project root directory, it runs
> successfully 
> but in 
> the end does not produce any configure script as said in the
> documentation 
> but 
> produces directly a Makefile

I build simple Winelib apps all the time. Try this
winemaker /path/to/app or from one directory up just winemaker
appfolder/

> - The Makefile must be manually tweaked to put in the WINE include
> files 
> path 
> and the WINE libraries path.

Very odd. I have no problem with it here.

> - After changing the generated Makefile, when I run it, I see
> thousands of 
> 
> warnings related to ignoring of __stdcall__ attribute in some of the 
> windows 
> header files, but the build goes through
> - The generated executable always has a .so extension which gives a 
> feeling that 
> it is a shared library rather than an executable

Thats fine. It should be program-name.exe.so

> - When I run the above generated file, it simply dumps core without
> any 
> messages 
> "Segmentation Fault"
> - When I try to run the above application through GDB to debug it, it

Are you running the program like ./program.exe.so or are you using
wineprogram.exe.so 

> crashes 
> even before reaching main
> - When I try to run the above application through winedbg to debug
> it, it 
> simply 
> hangs, nothing happens after that.
> 
> If such a basic thing does not work with Winelib, then I hope that 
> something is 
> wrong with the way I have understood things and in my process of
> trying to 
> do 
> this. Can somebody help ?? By the way, the same kind of setup also
> did not 
> work 
> on Linux/Intel and Linux/Athlon combinations as well. So there must
> be 
> something 
> very wrong in the way I am doing it. I imagine that the Winelib
> user's 
> guide 
> documentation is totally out of date, in which case could somebody
> please 
> forward me a document which can produce working executables.

Yes the documentation is really out of date I think. I dont know if any
newer documentation exists.

Thanks
Steven



		
__________________________________
Do you Yahoo!?
New and Improved Yahoo! Mail - Send 10MB messages!
http://promotions.yahoo.com/new_mail 



More information about the wine-devel mailing list