This is the mail archive of the cygwin@cygwin.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, logrotate, isblank, NT4.0, failed



On Mon, 15 Oct 2001, Pavel Tsekov wrote:

> It seems so :)
> 
> The following two lines are from the linux man page of 
> is[xxx] set of functions.
> 
> isblank()
> 	checks for a blank character; that is, a space or a tab.  This function
> is a GNU extension.
> 
> I think reason for this function to be missing is that is
> a GNU extension. However you can implement that function by
> yourself pretty easy :)
> 
> int isblank(int c)
> {
>     if (c != ' ' && c != '\t')
> 	return 0;
>     
>     return c;
> }
OK, that I can handle. Please, also note the missing fchdir below.
The archives states a lot about fchdir. Please, what could I do regarding fchdir?
> 
> Erik Bak-Mikkelsen wrote:
> > 
> > /cygdrive/d/logrotate-3.3/config.c:179: undefined reference to `fchdir'
> > /cygdrive/d/logrotate-3.3/config.c:199: undefined reference to `fchdir'
> > /cygdrive/d/logrotate-3.3/config.c:209: undefined reference to `fchdir'
> > config.o: In function `readConfigFile':
> > /cygdrive/d/logrotate-3.3/config.c:299: undefined reference to `isblank'
> > /cygdrive/d/logrotate-3.3/config.c:313: undefined reference to `isblank'

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


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