Some Thoughts !!!
The said code would not compile on latest Linux distros. It did compile/run long before !!!
Attempt to undo this is likely impossible ... better change the reference.
Besides also attempted to change the problematic library code. Though this wasn't considered
an option to begin with. The problem persists at the same location. So almost a dead end.
The other update that has come in the meanwhile is that most of the FrameWork that our
applications run on will be ported to kernel 2.6 in near future. Likely that should resolve
Besides, for me this meant a lot of learning and controlled experiments on the machine !!!
Did make a few blunders in the process due to inexperience with the tools specifically.
However, google and the open source community has been of immense help.