On Tue, May 14, 2002 at 05:30:06PM -0600, Greg Brissey wrote:
> glib 1.2.10 binary package from sunfreeware.com installed in /usr/local
> gtk+ 1.2.10 binary package from sunfreeware.com installed in /usr/local
At least some versions of the sunfreeware.com packages have had
problems; try the packages from The Written Word instead.
> configure:2303: cc -o conftest -D_U_="" -g -I$(top_srcdir) -I$(top_srcdir)/wiretap -I/usr/local/include -I/usr/local/include/gtk-1.2
> -I/usr/local/include/glib-1.2 -I/usr/local/lib/glib/include -I/usr/openwin/include -I$(top_srcdir) -I$(top_srcdir)/wiretap
> -I/usr/local/include -L/usr/local/lib -R/usr/local/lib conftest.c -R/home/greg/adabas/lib:/usr/openwin/lib -L/usr/local/lib
> -L/usr/openwin/lib -R/usr/openwin/lib -lgtk -lgdk -lgmodule -lglib -ldl -lXext -lX11 -lsocket -lnsl -lm 1>&5
> "/usr/local/include/glib-1.2/glib.h", line 1573: undefined or not a type: inline
> "/usr/local/include/glib-1.2/glib.h", line 1574: parameter not in identifier list: g_bit_nth_lsf
> "/usr/local/include/glib-1.2/glib.h", line 1576: only "register" valid as formal parameter storage class
> "/usr/local/include/glib-1.2/glib.h", line 1576: parameter not in identifier list: inline
> "/usr/local/include/glib-1.2/glib.h", line 1576: syntax error before or at: gint
> "/usr/local/include/glib-1.2/glib.h", line 1579: parameter not in identifier list: g_bit_nth_lsf
> "/usr/local/include/glib-1.2/glib.h", line 1579: parameter not in identifier list: __func__
> "/usr/local/include/glib-1.2/glib.h", line 1579: cannot initialize parameter: __func__
> "/usr/local/include/glib-1.2/glib.h", line 1582: undefined symbol: nth_bit
> "/usr/local/include/glib-1.2/glib.h", line 1583: undefined symbol: mask
> "/usr/local/include/glib-1.2/glib.h", line 1586: undefined symbol: nth_bit
> "/usr/local/include/glib-1.2/glib.h", line 1588: warning: statement not reached
> "/usr/local/include/glib-1.2/glib.h", line 1588: cannot recover from previous errors
> cc: acomp failed for conftest.c
> configure: failed program was:
Perhaps the sunfreeware.com package was built with GCC; if so, its
configuration header may be appropriate for GCC, but not for Sun C,
which is the compiler you're using. A GLib or GTK+ developer's
installation built with GCC may not work with Sun C, as the
configuration header may #define values that would cause the header
files to work with GCC but not with Sun C, because they might cause
stuff that uses GCC-specific features to be used.
The packages from The Written Word may be built with (and for) Sun C; if
so, they may work better if you're using Sun C.