I am using the AMD64 version of Ubuntu 8.10, and I have run into exactly the same problem.
The patch fixes it for me, although I have no idea whether there are any side effects.
Another strange issue that I observed is that I cannot compile the version for 8.10 (oprofile_0.9.3-1.1ubuntu2.dsc) on 8.10. I get
bfd_support.cpp:86: error: 'strlen' was not declared in this scope
which according to google is an issue with gcc 4.3. The source package from 9.04 to be (oprofile_0.9.3-2ubuntu1.dsc) compiles fine.
I am using the AMD64 version of Ubuntu 8.10, and I have run into exactly the same problem.
The patch fixes it for me, although I have no idea whether there are any side effects.
Another strange issue that I observed is that I cannot compile the version for 8.10 (oprofile_ 0.9.3-1. 1ubuntu2. dsc) on 8.10. I get
bfd_support.cpp:86: error: 'strlen' was not declared in this scope
which according to google is an issue with gcc 4.3. The source package from 9.04 to be (oprofile_ 0.9.3-2ubuntu1. dsc) compiles fine.