PDA

View Full Version : FreePBX PADS fails to compile using a distro with 4.4.x gcc compiler versions



skar
10-23-09, 09:01 AM
If you try compiling the FreePBX PADS software using a computer that has a version of the 4.4 gcc compiler (SuSE 11.1, Fedora 11, Sabayon 5 for example), you will run into an error compiling the libgd library during the linking stage that will say the following:

undefined reference to `__isoc99_sscanf'

This is being fixed as I write and I will post the version it is fixed in as soon as I check it in.

Skar (http://twitter.com/skar_pikawarp)

skar
10-23-09, 01:36 PM
As of revision 18740 of the FreePBX code for PADS at http://svn.pikatech.com/pads/addons/trunk/freepbx-mysql/ you can now compile PADS with FreePBX on gcc 4.4.x systems.

The fix was to remove the libgd library and use the one that is embedded in php. This is better as well since the version embedded in php is newer than the separate library version since the separate library was merged into php and does not appear to be developed anymore.

skar (http://twitter.com/skar_pikawarp)