Compilging applications for GNOME 1.2.0 fails


I've installed the GNOME 1.2.0 packages made available at from the August 2000 package.

Since then I'm having difficulties compiling any GNOME applications
from source.  The error I'm getting is:

gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include
-I/usr/freeware/include -DNEED_GNOMESUPPORT_H
-I/usr/freeware/lib32/glib/include -I/usr/freeware/include
-I/usr/freeware/lib32/glib/include -I/usr/freeware/include -g -O2
-I/usr/freeware/include -I/usr/freeware/share/include -Wall -Wunused -c 
-DPIC calendar-conduit.c -o .libs/calendar-conduit.lo
In file included from /usr/freeware/include/popt-gnome.h:12,
                 from /usr/freeware/include/libgnome/gnome-popt.h:10,
                 from /usr/freeware/include/libgnome/libgnome.h:34,
                 from /usr/freeware/include/gnome.h:16,
                 from calendar-conduit.c:4:
/usr/include/stdio.h:235: conflicting types for `snprintf'
/usr/freeware/lib32/gnome-libs/include/gnomesupport.h:36: previous
declaration of `snprintf'
/usr/include/stdio.h:244: conflicting types for `vsnprintf'
/usr/freeware/lib32/gnome-libs/include/gnomesupport.h:34: previous
declaration of `vsnprintf'

This is for the PIM 1.2.0 package.  A similar error about conflicting
types occurs for other packages as well.  The problem seems to be
/usr/freeware/lib32/gnome-libs/include/gnomesupport.h which defines
snprintf() and vsnprintf() incorrectly for SGI machines.

How should I go about fixing that?   Thanks.

Himanshu Gohel, mailto:gohel csee usf edu

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