delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1997/09/23/14:05:06

From: cgf AT bbc DOT com (Chris Faylor)
Subject: Re: compile problems with gimp
23 Sep 1997 14:05:06 -0700 :
Message-ID: <EGzB77.7r8.cygnus.gnu-win32@bbc.com>
References: <19970923120748 DOT 20028 DOT qmail AT hotmail DOT com>
Reply-To: cgf AT bbc DOT com
To: gnu-win32 AT cygnus DOT com

In article <19970923120748 DOT 20028 DOT qmail AT hotmail DOT com>,
Earnie Boyd <earnie_boyd AT hotmail DOT com> wrote:
>>Date: Tue, 23 Sep 1997 20:39:02 -0400
>>From: Michael Zawacki <mjz115 AT psu DOT edu>
>>To: gnuwin <gnu-win32 AT cygnus DOT com>
>>Subject: compile problems with gimp
>>
>>    I have come across an "undefined reference to" setpwent.  Has 
>anyone
>>heard of this function.  Gimp calls it with no parameters, and I can't
>>find it in any of the include files in X11 or cygwin. Is this a motif
>>call?
>
>Although "setpwent" is correct, it is misspelled in libcygwin.a as 
>"setpwend".  If you substitute setpwent with setpwend it should link 
>fine.
>
>By the way the version of libcygwin.a from Sergey Okhapkin know as 
>coolview has this corrected.  However, if you are using a FAT directory 
>structure that gets created and grows quickly, so don't use it.

Sergey's stuff is quite nice, and you really should use it, but if you
can't, it is relatively easy to edit the file with 'vim -b' or emacs
and change all occurrences of setpwend to setpwent.

cgf
-- 
http://www.bbc.com/	cgf AT bbc DOT com			"Strange how unreal
VMS=>UNIX Solutions	Boston Business Computing	 the real can be."
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


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