This is the mail archive of the cygwin@sourceware.cygnus.com
mailing list for the Cygwin project. See the Cygwin
home page for more information.
[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index] [Subject Index] [Author Index] [Thread Index]
EGCS 1.1.1 mingw32 by Mumit Khan
- To: Cygwin@sourceware.cygnus.com
- Subject: EGCS 1.1.1 mingw32 by Mumit Khan
- From: JSONCRAIG@aol.com
- Date: Sat, 13 Feb 1999 12:24:59 EST
- Delivered-To: listarch-cygwin@sourceware.cygnus.com
- Delivered-To: mailing list cygwin@sourceware.cygnus.com
- Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
- Sender: cygwin-owner@sourceware.cygnus.com
Here is the problem:
I downloaded the EGCS 1.1.1 mingw32 compiler (following the link from the
Cygwin Home page) and it was fine until I wanted to make a screen saver with
it. The file scrnsave.h is not there. This file defines some important
things. The libscrnsave.a file is there but I cannot compile because I need
the file scrnsave.h or it says
this while compiling:
scrsvr.cpp: In function `LRESULT ScreenSaverProc(void *, UINT, WPARAM,
LPARAM)':
scrsvr.cpp:52: warning: implicit declaration of function `int
DefScreenSaverProc
(...)'
and this while linking:
C:\WINDOWS\TEMP\cc9Taagb.o(.text+0x212):scrsvr.cc: undefined reference to
`DefScreenSaverProc'
C:\EGCS\BIN\..\lib\gcc-
lib\i386-mingw32\egcs-2.91.60\..\..\..\..\i386-mingw32\li
b\libmingw32.a(main.o)(.text+0x7b): undefined reference to `WinMain@16'
I'm pretty sure it's because there is no scrnsave.h file. Is this file
supposed to be there? Is it a different file that is substituted for it?
Please help.
Thanks,
Jason Craig