RedHat8->Apache2->PHP4->Extension (_Unwind_Resume) problem
Hi guys,
This is my first post in this forum. I am writing an extesnion for PHP to work with Apache as an external module (.so). I made a test project and that works just find and loads fine at the time of Apache start. However when I make this real project (a huge one) and get the .so file out of it (which is made with the same options as the test case) at the time of loading (apache start) I get this error:
PHP Warning: Unknown(): Unable to load dynamic library '/usr/apache/modules/dssi.so' - /usr/apache/modules/dssi.so: undefined symbol: _Unwind_Resume in Unknown on line 0
Here is some information I found on the net in bits and pieces. Can not
draw any conclusion out of it.
1. Somewhere on the net I got a hint that using try/catch in your C++ code causes inclusion of a header file which needs some _wind_xxxxxxx functions. And we are using try/catch.
2. There is some work going on to make a library (probably libunwind.a) or something.
I have a hunch that its gotta something to do with gcc and its options or switches.
any ideas?
Thanks
Last edited by TimeSaver; 03-19-2003 at 01:09 PM.
|