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

[ns] Installation/Compile problem




Hello,

	I have download ns-allinone-2.1b6 and run into the following problem:

	
c++ -c  -I. -I/home/gopher2/ns/ns-allinone-2.1b6/tclcl-1.0b9
-I/home/gopher2/ns/ns-allinone-2.1b6/otcl-1.0a5
-I/home/gopher2/ns/ns-allinone-2.1b6/tkbox/include
-I/home/gopher2/ns/ns-allinone-2.1b6/tclbox/include -o tr-stat.o
tr-stat.cc
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 tr-stat.cc:22:
/usr/local/gnu/lib/gcc-lib/sparc-sun-solaris2.5.1/2.7.2.1/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 tr-stat.cc:22:
/usr/include/sys/model.h:32: #error "No DATAMODEL_NATIVE specified"
make[1]: *** [tr-stat.o] Error 1
make[1]: Leaving directory
`/home/gopher2/ns/ns-allinone-2.1b6/ns-2.1b6/indep-utils/webtrace-conv/ucb'
make: *** [all-recursive] Error 2




	Has anyone seen this and how can it be fixed?

	Any help is greatly appreciated!

-- Tony Ruscitti

[email protected]