Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 May 1998 11:31:40 -0600 (MDT)
From:      Brett Taylor <brett@peloton.physics.montana.edu>
To:        vanilla <vanilla@ns.oneway.net>
Cc:        freebsd-ports@FreeBSD.ORG
Subject:   Re: Gtk-ports
Message-ID:  <Pine.BSF.3.96.980514112524.5675F-100000@peloton.physics.montana.edu>
In-Reply-To: <19980514153310.44032@ns.oneway.net>

next in thread | previous in thread | raw e-mail | index | archive | help
> I'm running 3.0c, there are no problem when make.

I haven't had time to make a patch yet (or even futz with it) but here's
the error...

peloton: {1} make
>> Checksum OK for gtk+-1.0.1.tar.gz.
===>  Building for gtk-1.0.1
gmake all-recursive
gmake[1]: Entering directory `/usr/ports/x11/gtk/work/gtk+-1.0.1'
Making all in glib
gmake[2]: Entering directory `/usr/ports/x11/gtk/work/gtk+-1.0.1/glib'
/bin/sh ./libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I. -I.  -O2
-pipe -DGTK_NO_CHECK_CASTS -Wall -DUSE_XIM -c gutils.c
cc -DHAVE_CONFIG_H -I. -I. -I. -I. -O2 -pipe -DGTK_NO_CHECK_CASTS -Wall
-DUSE_XIM -c -fPIC -DPIC gutils.c
gutils.c: In function `g_strsignal':
gutils.c:666: conflicting types for `sys_siglist'
/usr/include/unistd.h:143: previous declaration of `sys_siglist'
gmake[2]: *** [gutils.lo] Error 1
gmake[2]: Leaving directory `/usr/ports/x11/gtk/work/gtk+-1.0.1/glib'

In work/gtk+-1.0.1/glib/gutils.c we find:

#else /* NO_SYS_SIGLIST */
  extern char *sys_siglist[];
  return sys_siglist [signum];
#endif /* NO_SYS_SIGLIST */

I've just tried commenting out the line so that it has:

#else /* NO_SYS_SIGLIST */   
/*  extern char *sys_siglist[];*/
  return sys_siglist [signum];
#endif /* NO_SYS_SIGLIST */

And the build continues.  I'm not sure things work though - let me check
and then I can send you a patch.

Brett

*********************************************************
Brett Taylor 		brett@peloton.physics.montana.edu
http://peloton.physics.montana.edu/brett/

But Master, does not the fire need water too?
Does not the mountain need the storm?  		- Beavis



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.980514112524.5675F-100000>