Error compiling cygwin-snapshot-20020409-1

Christopher Faylor cgf@redhat.com
Thu Apr 11 07:37:00 GMT 2002


On Thu, Apr 11, 2002 at 10:10:28AM +0200, Pavel Tsekov wrote:
>Wednesday, April 10, 2002, 11:44:44 PM, you wrote:
>> In file included from cygheap.cc:17:
>SH> fhandler.h: In method `select_stuff::select_stuff()':
>SH> fhandler.h:1089: implicit declaration of function `int memset(...)'
>SH> make: *** [cygheap.o] Error 1
>
>Obviously, this source file calls memset without including the
>approapriate header file (string.h).

Not so obvious at all.  How do you suppose I could generate a snapshot
if that was true?

>I don't have the latest CVS sources to verify this - what I've stated
>above is just and assumption based on the gcc error message.

If you can't check the source, why are you responding?

Since I can't see any reason for the error, I assume that the source
has been locally modified or the header files are screwed up.

>Btw no need to repeat ;)

That's for sure.

Basically, it seems to me that if you can't solve simple things like
basic compilation errors, you probably shouldn't be building cygwin
from scratch.

cgf

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list