Summary: | ASTERISK-08534: Asterisk fails to build from 1.4 branch on Fedora Core 5 due to a missing gsm.h | ||
Reporter: | Oded Arbel (odeda) | Labels: | |
Date Opened: | 2007-01-09 15:45:43.000-0600 | Date Closed: | 2007-01-30 17:27:38.000-0600 |
Priority: | Minor | Regression? | No |
Status: | Closed/Complete | Components: | Core/General |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ||
Description: | When trying to build asterisk currently on Fedora Core 5, compile fails with errors about missing "gsm.h" from codecs_gsm.c: [CC] codec_gsm.c -> codec_gsm.o codec_gsm.c:53:17: error: gsm.h: No such file or directory Then the rest of codecs_gsm.c breaks and compilation stops. Building from tags/1.4.0 succeeds, so is building the branch on Fedora Core 6 (on x86_64, I don't think its related, but I currently have tried only FC5 on i386 and FC6 on x86_64). Trunk fail as well on FC5, haven't tried on FC6 yet, but I believe it will also work properly. ****** ADDITIONAL INFORMATION ****** I'm building from an RPM spec file, but the build goes like this: 1. ./configure --build=i686-redhat-linux-gnu --host=i686-redhat-linux-gnu --target=i386-redhat-linux-gnu --program-prefix= --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/usr/com --mandir=/usr/share/man --infodir=/usr/share/info which works ok and even likes libgsm: checking for gsm_create in -lgsm... yes 2. make menuselect.makeopts 3. make | ||
Comments: | By: Joshua C. Colp (jcolp) 2007-01-09 16:01:41.000-0600 What happens if you install the development package for the gsm codec? All works well? By: Oded Arbel (odeda) 2007-01-09 16:15:48.000-0600 The development package for gsm is installed. It works fine when compiling the 1.4.0 tag. By: Joshua C. Colp (jcolp) 2007-01-25 21:01:04.000-0600 Okay I know a few things changed in the latest 1.4 so can you give the latest revision a try and if that still fails - would it be possible to gain access to try some things? Thanks. By: Russell Bryant (russell) 2007-01-26 19:09:27.000-0600 Is gsm.h in /usr/include/gsm/gsm.h instead of /usr/include/gsm.h ? By: Oded Arbel (odeda) 2007-01-28 06:59:26.000-0600 Still no build with current branch. Yes gsm.h is installed into /usr/include/gsm/gsm.h, the same as in Fedora Core 6 - where it compiles just fine. Symlinking gsm.h to /usr/include/gsm.h works around the problem and allows compilation to contained. By: Russell Bryant (russell) 2007-01-30 17:27:37.000-0600 This has been fixed in 1.4 and the trunk in revisions 52997 and 52998. |