Re: [ns] Compiling error NS-2 on Solaris 9

2006-03-01 Thread Sasan Sahraei

This is SunOS,

regarding namespace this is what I get when running configure

checking if C++ libraries work without any namespace... no
checking if C++ libraries work with namespace std... yes
checking if STL works without any namespace... no
checking if STL works with namespace std... yes

what do you think? the compiler is g++

Thanks,
Sasan



>
> On Mon, 27 Feb 2006 19:39:04 - (GMT), Sasan Sahraei wrote
>> I get the following when compiling on Solaris 9. Which header should
>> I replace? Any comments? idea? will be very appreciated.
>
> I got similar problem under HP-UX, but ot exactly the same, so here some
> question for you ... :-)
> - which compiler are you using? g++ or something else?
> - is the Makefile correct? I saw some errors which stuck my compiling such
> as
> "CFLAGS += $(DEFINE)"
> - does your system support standard namespace in C++?
> Try posting the output of ./configure, maybe something went wrong there.
>
> --
>  Emanuele  Vecchio 
> Happy Debian GNU/Linux User
> : [EMAIL PROTECTED] ::
>
>




Re: [ns] Compiling error NS-2 on Solaris 9

2006-02-28 Thread Emanuele Vecchio

On Mon, 27 Feb 2006 19:39:04 - (GMT), Sasan Sahraei wrote
> I get the following when compiling on Solaris 9. Which header should 
> I replace? Any comments? idea? will be very appreciated.

I got similar problem under HP-UX, but ot exactly the same, so here some
question for you ... :-)
- which compiler are you using? g++ or something else?
- is the Makefile correct? I saw some errors which stuck my compiling such as
"CFLAGS += $(DEFINE)"
- does your system support standard namespace in C++?
Try posting the output of ./configure, maybe something went wrong there.

--
 Emanuele  Vecchio 
Happy Debian GNU/Linux User
: [EMAIL PROTECTED] ::



[ns] Compiling error NS-2 on Solaris 9

2006-02-27 Thread Sasan Sahraei

Hi,

I get the following when compiling on Solaris 9. Which header should I
replace? Any comments? idea? will be very appreciated.

Undefined   first referenced
 symbol in file
operator new[](unsigned)tools/ranvar.o
operator new(unsigned)  common/tclAppInit.o
sqrtf   mobile/shadowing-vis.o
std::basic_ifstream >::~basic_ifstream
[in-charge]()mobile/shadowing-vis.o
std::__default_alloc_template<(bool)1, (int)0>::deallocate(void*,
unsigned)nix/nixnode.o
vtable for __cxxabiv1::__si_class_type_infotools/rng.o
std::basic_ostream
>::operator<<(std::ios_base& (*)(std::ios_base&))routealgo/rbitmap.o
std::__throw_length_error(char const*)routealgo/rlookup.o
std::basic_ostream
>::operator<<(short)routealgo/rbitmap.o
std::basic_ostream >::operator<<(int)mpls/ldp.o
std::basic_ostream
>::operator<<(unsigned)routealgo/rlookup.o
std::basic_ostream >::operator<<(unsigned
long)routealgo/rbitmap.o
std::basic_istream >::get(char*, int,
char)mobile/shadowing-vis.o
__cxa_end_catch routealgo/bfs.o
__cxa_begin_catch   routealgo/bfs.o
et_tclobject   
/home/ssahra01/mysrc/ns-allinone-2.29/tclcl-1.17/libtclcl.a(Tcl.o)
operator delete[](void*)common/scheduler.o
operator delete(void*)  common/tclAppInit.o
std::__default_alloc_template<(bool)1,
(int)0>::allocate(unsigned)nix/nixnode.o
std::basic_istream >& std::operator>> >(std::basic_istream
>&, char*)mobile/shadowing-vis.o
std::basic_istream
>::operator>>(int&)mobile/shadowing-vis.o
vtable for __cxxabiv1::__vmi_class_type_infocommon/object.o
std::cerr   mpls/ldp.o
std::cout   asim/asim.o
std::basic_ios >::fail()
constmobile/shadowing-vis.o
vtable for __cxxabiv1::__class_type_infocommon/timer-handler.o
std::ios_base::Init::~Init [in-charge]()classifier/classifier-qs.o
std::ios_base::Init::Init[in-charge]()classifier/classifier-qs.o
__gxx_personality_v0common/tclAppInit.o
std::basic_ostream >& std::operator<<
 >(std::basic_ostream
>&, char const*)mpls/ldp.o
__cxa_pure_virtual  tools/ranvar.o
std::basic_ifstream
>::close()mobile/shadowing-vis.o
__cxa_rethrow   routealgo/bfs.o
std::basic_istream
>::get(char&)mobile/shadowing-vis.o
std::basic_ifstream
>::basic_ifstream[in-charge](char const*,
std::_Ios_Openmode)mobile/shadowing-vis.o
ld: fatal: Symbol referencing errors. No output written to ns
collect2: ld returned 1 exit status
*** Error code 1
make: Fatal error: Command failed for target `ns'
Ns make failed!
See http://www.isi.edu/nsnam/ns/ns-problems.html for problems

Thanks,
Sasan