From: Tony Hammitt (thammitt@kc.rr.com)
Date: 01/26/03


Message-ID: <3E340528.9000608@kc.rr.com>
Date: Sun, 26 Jan 2003 09:57:53 -0600
From: Tony Hammitt <thammitt@kc.rr.com>
Subject: Re: gvim install...  redhat 8.  Advise?

It looks like there is a missing or incorrect detection of whether to
redeclare the memmove etc. prototypes in the auto/osdef.h file. Is
there some symbol it's looking for that's misspelled or something?
 Looks like the only symbol it can look for to see if the prototypes
have been declared is _STRING_H or _STDLIB_H. You can either fix the
bad #ifndef _STRING_H and whatever else is screwed up, or just comment
out lines 58, 76, 79 and 124 of the auto/osdef.h file, then try to
compile again.

If any of this doesn't make any sense, feel free to get back to me off-list.

Regards,

        Tony

Matt Graham wrote:

>Hey there. I'm trying to install vim (wanting to use gvim) in RH8. I'm
>all updated and running smoothe. When I run the makefile though, I keep
>getting these errors. (see snip below.)
>
>Has anyone run into this? Vim is cool enough, but I really like GVim.
>
>Thanks,
>Matt
>
>
><snip>
>
>[root@localhost src]# make install
>gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK
>-I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include
>-I/usr/X11R6/include -I/usr/local/include
> -g -O2 -I/usr/X11R6/include -o objects/buffer.o buffer.c
>cc1: warning: changing search order for system directory
>"/usr/local/include"
>cc1: warning: as it has already been specified as a non-system
>directory
>In file included from /usr/X11R6/include/X11/Intrinsic.h:64,
> from gui.h:34,
> from structs.h:73,
> from vim.h:1327,
> from buffer.c:29:
>/usr/include/string.h:43: conflicting types for `memmove'
>auto/osdef.h:58: previous declaration of `memmove'
>/usr/include/string.h:288: conflicting types for `strcasecmp'
>auto/osdef.h:76: previous declaration of `strcasecmp'
>/usr/include/string.h:292: conflicting types for `strncasecmp'
>auto/osdef.h:79: previous declaration of `strncasecmp'
>In file included from /usr/include/bits/string2.h:1211,
> from /usr/include/string.h:375,
> from /usr/X11R6/include/X11/Intrinsic.h:64,
> from gui.h:34,
> from structs.h:73,
> from vim.h:1327,
> from buffer.c:29:
>/usr/include/stdlib.h:554: conflicting types for `malloc'
>auto/osdef.h:124: previous declaration of `malloc'
>make: *** [objects/buffer.o] Error 1
>[root@localhost src]#
>[root@localhost src]#
>
>
></snip>
>
>
>
>
>
>
>
>