delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1999/02/13/17:25:32

Delivered-To: listarch-cygwin AT sourceware DOT cygnus DOT com
Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
From: JSONCRAIG AT aol DOT com
Message-ID: <4baa1a34.36c5b56b@aol.com>
Date: Sat, 13 Feb 1999 12:24:59 EST
To: Cygwin AT sourceware DOT cygnus DOT com
Mime-Version: 1.0
Subject: EGCS 1.1.1 mingw32 by Mumit Khan
X-Mailer: AOL 3.0 for Windows 95 sub 76

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 AT 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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019