STLPort 5.0.2 on Solaris 8
I am using [b]Sun WorkShop 6 update 2 C++ 5.3 2001/05/15[/b] compiler to configure STLport 5.0.2 on Solaris 8.
I am getting following errors.
[b]"../../stlport/stl/_cmath.h", line 229: Error: fabs is not a member of file level. [/b]
Any clues?
Just to cross check that after ignoring this error everything get passed I commented this line and STLport library get created successfully. But when i linkedthat library with my sample application, sample application binary gets created successfully but while [b]executing binary it get hangs[/b] even sample program printing Hello World will get hanged.
Any hints why this is happening?
thanks in advanced
# 2
Thanks paul, it worked and now am able to build the STLport 5.0.2 library on Solaris 8 with Sun WorkShop 6 update 2 C++ 5.3 2001/05/15 compiler.
Now I am linking this library with my sample application, it is getting linked successfully but my application binary get hanged.... I am not getting why this binary is getting hanged however while compiling and linking it is not throwing any errors or warnings?
-Nitin
# 4
> Thanks paul, it worked and now am able to build the
> STLport 5.0.2 library on Solaris 8 with Sun WorkShop
> 6 update 2 C++ 5.3 2001/05/15 compiler.
>
> Now I am linking this library with my sample
> application, it is getting linked successfully but my
> application binary get hanged.... I am not getting
> why this binary is getting hanged however while
> compiling and linking it is not throwing any errors
> or warnings?
>
> -Nitin
You can use truss <programname> or truss -p <pid> to look what's happening.
I've met that problem before, it's because I use .so file and put it to different path, so it hangs there.