Mail Archives: cygwin/1997/09/23/14:05:06
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 -