wdiff-bugs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [wdiff-bugs] New version (0.5.90) available for testing


From: Santiago Vila
Subject: Re: [wdiff-bugs] New version (0.5.90) available for testing
Date: Sat, 23 Jun 2007 16:35:12 +0200 (CEST)

On Sat, 23 Jun 2007, Denver Gingerich wrote:

> On 6/23/07, Santiago Vila <address@hidden> wrote:
> > gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I.    -g -O2 -c getline.c
> > getline.c:143: error: conflicting types for 'getline'
> > /usr/include/bits/stdio.h:103: error: previous definition of 'getline' was
> > here
> > getline.c:152: error: conflicting types for 'getdelim'
> > /usr/include/stdio.h:564: error: previous declaration of 'getdelim' was here
> > make[2]: *** [getline.o] Error 1
> > make[2]: Leaving directory `/tmp/wdiff-0.5.90/lib'
> > make[1]: *** [all-recursive] Error 1
> > make[1]: Leaving directory `/tmp/wdiff-0.5.90'
> > make: *** [all-recursive-am] Error 2
> > 
> > 
> > The system is Debian GNU/Linux 4.0 (aka etch) on the amd64 architecture,
> > which is a 64-bit arch, but I don't know if that matters. Version 0.5g
> > fails with the same error, but I never bothered to check until now.
> 
> If you are having this problem, please send me the output of
> 
> ls --full-time configure.in acconfig.h i18n/Makefile.am m4/gettext.m4
> 
> The above command should be executed after running ./configure. I
> think the problem may be a result of time zone assumptions, but I want
> to verify this first.

-rw-r--r-- 1 sanvila sanvila 2101 1999-07-05 18:27:48.000000000 +0200 acconfig.h
-rw-r--r-- 1 sanvila sanvila 2996 1999-07-05 18:30:30.000000000 +0200 
configure.in
-rw-r--r-- 1 sanvila sanvila 2718 1998-10-12 22:54:57.000000000 +0200 
i18n/Makefile.am
-rw-r--r-- 1 sanvila sanvila 4280 1999-07-05 18:42:55.000000000 +0200 
m4/gettext.m4

I don't think this is timestamp-related, as the same machine running Debian
for i386 (in another partition) does not fail. In both cases the ntp package
is installed and working, which ensures a very accurate time.

In case it helps, these are the conflicting declarations:

This is from /usr/include/bits/stdio.h:

# ifdef __USE_GNU
/* Like `getdelim', but reads up to a newline.  */
__STDIO_INLINE _IO_ssize_t
getline (char **__lineptr, size_t *__n, FILE *__stream)
{
  return __getdelim (__lineptr, __n, '\n', __stream);
}
# endif /* GNU */

and this is from /usr/include/stdio.h:

extern _IO_ssize_t getdelim (char **__restrict __lineptr,
                             size_t *__restrict __n, int __delimiter,
                             FILE *__restrict __stream);


I really suspect this has something to do with the fact of having a
64-bit system.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]