how to compile without stlport?

hi, i'm trying to compile a clean version of occ on x86_64 with gcc 4.1.3. i can get a clean build with

./configure --prefix=`pwd`/BUILD \
--with-gl-include=/usr/include --with-gl-library=/usr/lib \
--with-tk=/usr/lib/tk8.3/ --with-tcl=/usr/lib/tcl8.3/ \
--with-java-include=/usr/lib/jvm/java-6-sun/include \
--with-xmu-include=/usr/include/X11 --with-xmu-library=/usr/lib \
--with-stlport-include=/usr/include/stlport --with-stlport-libname=stlport --with-stlport-library=/usr/lib;

but then when i compile my own code i get linking errors from Standart_Transient::ShallowDump like this one:

release/main.o:(.rodata._ZTV24Select2D_SensitiveEntity[vtable for Select2D_SensitiveEntity]+0x30): undefined reference to `Standard_Transient::ShallowDump(stlp_std::basic_ostream >&) const'

the threads on this forum suggest that STLPort is the problem, so i configured with '--without-stlport' but the build fails, demanding stlport!!! i am at a loss as to what to do now, since building occ takes many hours each try and i have spent more than a week doing this.

does anyone know how to make a clean build without stl?



Seth Jackson's picture

OR, does any one know a way to fix the shallowdump problem?