error compiling 1.0.5 on Solaris 2.6 machine




Below is a snippet of the error i get when trying to compile 1.0.5 on
a Solaris machine.  I have previously compiled 1.0.0-1.0.4 without
problems.  The machines was upgraded from Solaris 2.4 to Solaris 2.6
this summer so that could also be part of the problem.  Any
suggestions?

Thanks,
Dave
dreed@capital.edu


make
/bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H
-I. -I. -I.. -I.. -I../glib -I../glib  -I/usr/openwin/include   -g -O2
-DGTK_NO_CHECK_CASTS -Wall -DUSE_XIM -c gdkwindow.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../glib -I../glib
-I/usr/openwin/include -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:
/usr/local/lib/gcc-lib/sparc-sun-solaris2.4/2.7.2.2/include/sys/param.h:185:
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"
make: *** [gdkwindow.lo] Error 1

-----------------------------------------------------------------

cat /usr/include/sys/model.h | grep DATAMODEL_NATIVE
#define  DATAMODEL_NATIVE  DATAMODEL_LP64
#define  DATAMODEL_NATIVE  DATAMODEL_ILP32
#error   "No DATAMODEL_NATIVE specified"



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