trying to compile and link a Natural Userexit (coded in C++, CALL INTERFACE4) in Natural 6.3.4 on SLES 10 I found a hint in the documentation to use gcc 3.3.
The installed gcc version on SLES 10 is currently 4.1.2; so the compiled and linked Natural-ELF references “libstdc++.so.6” (in contrast to “libstdc++.so.5” which has been used by delivered Natural ELFs). Starting the application with the ambiguous use of c+±library references (libstdc++.so.5 and(!) libstdc++.so.6) it abended due to an invalid pointer referenced by class destructor :shock:.
There was a forum entry for RedHat 5 to install the “compat”-RPMs (compat-gcc-33 and compat-libstdc+±33) in order to use the “old” gcc 3.3, but I can’t find any RPMs which have been released for SLES 10 with the required functionality.
:?: Are there any “compat”-packages for SLES 10?
:?: If not: which is the recommended way to compile and link Natural-Userexits without incompatible use of C++ runtime libraries?