Comment 7 for bug 40285

Revision history for this message
Cullen Walsh (ckwalsh) wrote :

Ubuntu 10.04, have all the appropriate build packages, etc.

I encountered this error when compiling Siege (http://www.joedog.org/index/siege-home). I won't claim to understand it, but it does work when I apply LuisMondesi's suggestion of explicitly adding -lgcc_s wherever -lpthread is used.

The code DOES compile cleanly on other systems, so this is clearly an Ubuntu (or Debian) bug.

I'm attaching a patch for Siege 2.70 for anyone else who is trying to use Siege with ubuntu and encounters this error. It applies itself to the configure script and forces the makefiles to add -lgcc_s. Running ./configure will generate functional Makefiles.

This clearly is not the best way to do it, and I hope the maintainers of the appropriate packages (who exactly, I don't know) fix this problem correctly.