This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: compile problems with gimp


Earnie Boyd wrote:
> 
> >>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
> 
> Now why didn't I think of that??
> 
> Thanks,

Doing a search/replace in all the files is too much hassle, I just added a line
to one of the .h's of "#define setpwent setpwent" and let gcc do the replacing
:).
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]