Winelib - Getting Started guide
dmitry at codeweavers.com
Mon May 11 03:08:48 CDT 2009
"Josef Simánek" <retricek at gmail.com> wrote:
> I edit Makefile and type make into console.
What exactly did you do? notepad is not supposed to work as a console
application for your information.
> My problem above. In the
> guide is written to report bad compiling behaviour. So I did it. Any
> hints ?
> mirindoslav at mirindoslav-laptop:~/Plocha/notepad$ make
> winegcc -c -mno-cygwin -I. -o dialog.o dialog.c
> winegcc -c -mno-cygwin -I. -o main.o main.c
> wrc -I. -forsrc.res rsrc.rc
> winegcc -mwindows -mno-cygwin -m32 -o notepad.exe.so dialog.o main.o
> rsrc.res -lodbc32 -lole32 -loleaut32 -lwinspool -lodbccp32 -luuid
> dialog.o: In function `DIALOG_StringMsgBox':
> dialog.c:(.text+0x235): undefined reference to `wnsprintfW'
> main.o: In function `HandleCommandLine':
> main.c:(.text+0x25a5): undefined reference to `PathFindFileNameW'
Looks like you have removed required import libraries, don't do that
if you don't know the consequences.
More information about the wine-devel