Winelib - Getting Started guide

Josef Šimánek retricek at
Sun May 10 17:20:41 CDT 2009

Hi !

I was reading Winelib GSG and I tried to compile notepad from Wine
sources. So I downloaded Wine sources (version 1.1.21) and I installed
wine from Wine Ubuntu repository (version 1.1.21).

I edit Makefile and type make into console. 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 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'
collect2: ld returned 1 exit status
winegcc: i486-linux-gnu-gcc failed
make: *** [] Error 2

More information about the wine-devel mailing list