From: "Alexei Sinitsyn" Newsgroups: comp.os.msdos.djgpp Subject: how to compile win32 program with cygwin Date: Mon, 14 Feb 2000 14:01:21 +0300 Organization: Commercial Information Networks Lines: 19 Message-ID: <888n69$1r6l$1@news.kis.ru> NNTP-Posting-Host: mail.norsi-oil.nnov.ru X-Trace: news.kis.ru 950525964 60629 212.92.128.2 (14 Feb 2000 10:59:24 GMT) X-Complaints-To: usenet AT news DOT kis DOT ru NNTP-Posting-Date: 14 Feb 2000 10:59:24 GMT X-Newsreader: Microsoft Outlook Express 4.72.3110.5 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Hi! I just tried to compile a very simple program that uses win32 function (MessageBox), but I got a message from linker that it couldn't find such a function, despite I used the -luser32 option. here is the linker's message: my.o(.text+0x5a):my.cc: undefined reference to `MessageBoxA AT 16' collect2: ld returned 1 exit status what should I do in such a situation? Thank you in advance. Alexei Sinitsyn