"Josef Simánek" <[email protected]> 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 ?

mirindos...@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.

--
Dmitry.


Reply via email to