Re: [gtk-list] Re: gtk compilationHello



> From: Kwame Yamgnane <kwame.j.yamgnane@adn.alcatel.com>
> 
> Hello,
> 
> My name is kwame and I'm new in the mailing list,
> 
> I have a little problem with th eGTK compilation
> 
> I'm under UNIX Solais 2.6
> 
> and during the compilation I have this error message :
> 
> /opt/FSFgmake/bin/gmake all-recursive
> gmake[1]: Entering directory `/var/mail/gtk+-1.0.3'


First, this seems a very bizarre directory to be making gtk in.

> Making all in glib
> gmake[2]: Entering directory `/var/mail/gtk+-1.0.3/glib'
> gmake[2]: Leaving directory `/var/mail/gtk+-1.0.3/glib'
> Making all in gdk
> gmake[2]: Entering directory `/var/mail/gtk+-1.0.3/gdk'
> /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I..
> -I../glib -I../glib    -g -O2 -DGTK_NO_CHECK_CASTS -Wall -DUSE_XIM -c
> gdkwindow.c
> gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../glib -I../glib -g -O2
> -DGTK_NO_CHECK_CASTS -Wall -DUSE_XIM -c -fPIC -DPIC gdkwindow.c
> In file included from /usr/include/sys/turnstile.h:12,
>                  from /usr/include/sys/t_lock.h:20,
>                  from /usr/include/sys/vnode.h:37,
>                  from /usr/include/sys/stream.h:21,
>                  from /usr/include/netinet/in.h:38,
>                  from gdkwindow.c:23:
> /opt/FSFgcc/lib/gcc-lib/sparc-sun-solaris2.5/2.7.2/include/sys/param.h:187:
> warning: `NBBY' redefined
> /usr/include/sys/select.h:45: warning: this is the location of the previous
> definition
> In file included from /usr/include/sys/stream.h:26,
>                  from /usr/include/netinet/in.h:38,
>                  from gdkwindow.c:23:
> /usr/include/sys/model.h:32: #error "No DATAMODEL_NATIVE specified"
> gmake[2]: *** [gdkwindow.lo] Error 1
> gmake[2]: Leaving directory `/var/mail/gtk+-1.0.3/gdk'
> gmake[1]: *** [all-recursive] Error 1
> gmake[1]: Leaving directory `/var/mail/gtk+-1.0.3'
> gmake: *** [all-recursive-am] Error 2


Had the same problem and think I was the first one to ask a few months
ago so I feel compelled to repeat the answer other people provided.
My problem was caused by the sys admin upgrading from Solaris 2.4 to
2.6 and just copying over the gcc executable.  gcc needs to be
recompiled under Solaris 2.6 otherwise you have bugs like this.  Ask
your sys admin to recompile gcc under Solaris 2.6

Dave
dreed@capital.edu



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