Serge Mankovski
2003-Jun-24 15:59 UTC
[Asterisk-Users] Compiling Asterisk under Yellow Dog
Hi, I am trying to compile Asterisk under Yellow Dog 3.0 distributionn. I am getting an error gcc -shared -Xlinker -x -o codec_gsm.so codec_gsm.o -lgsm /usr/bin/ld: cannot find -lgsm May be I need packages that my distribution does not include? What do I need to download to get it compiled? Thanks Serge _________________________________________________________________ The new MSN 8: smart spam protection and 2 months FREE* http://join.msn.com/?page=features/junkmail
Steven Critchfield
2003-Jun-24 16:28 UTC
[Asterisk-Users] Compiling Asterisk under Yellow Dog
On Tue, 2003-06-24 at 17:59, Serge Mankovski wrote:> Hi, > I am trying to compile Asterisk under Yellow Dog 3.0 distributionn. > I am getting an error > gcc -shared -Xlinker -x -o codec_gsm.so codec_gsm.o -lgsm > /usr/bin/ld: cannot find -lgsm > > May be I need packages that my distribution does not include? > What do I need to download to get it compiled?Just a bit of education for you so you can help yourself later, -l flags to gcc are to link against libraries and the name of the library is lib + what ever is appended to the -l flag. It appears you have the headers for libgsm since it didn't complain and die on lack of headers, but it appears that gcc and ld are unable to find libgsm. It might be that it is installed to a directory that ld needs to be made aware of in /etc/ld.so.config. -- Steven Critchfield <critch@basesys.com>
Dylan VanHerpen
2003-Jun-25 07:44 UTC
[Asterisk-Users] Compiling Asterisk under Yellow Dog
bison, cvs, gcc, kernel-source, libtermcap-devel, ncurses-devel, newt-devel, openssl096b, openssl-devel The GSM library/codec that you're missing is normally installed with SOX, I think. Let me know if you get it working--nice to see * on a Macintosh. Dylan.> Hi, > I am trying to compile Asterisk under Yellow Dog 3.0 distributionn. > I am getting an error > gcc -shared -Xlinker -x -o codec_gsm.so codec_gsm.o -lgsm > /usr/bin/ld: cannot find -lgsm > > May be I need packages that my distribution does not include? > What do I need to download to get it compiled? > > Thanks > Serge > > _________________________________________________________________ > The new MSN 8: smart spam protection and 2 months FREE* > http://join.msn.com/?page=features/junkmail > > _______________________________________________ > Asterisk-Users mailing list > Asterisk-Users@lists.digium.com > http://lists.digium.com/mailman/listinfo/asterisk-users >
Serge Mankovski
2003-Jun-25 08:54 UTC
[Asterisk-Users] Compiling Asterisk under Yellow Dog
Thank you for info. I managed to compile it. Yellow Dog 3.0 does not include libgsm. I took code from Debian repositories and compiled it. After that Asterisk compiled without errors. Serge>From: Steven Critchfield <critch@basesys.com> >Reply-To: asterisk-users@lists.digium.com >To: asterisk-users@lists.digium.com >Subject: Re: [Asterisk-Users] Compiling Asterisk under Yellow Dog >Date: 24 Jun 2003 18:28:51 -0500 > >On Tue, 2003-06-24 at 17:59, Serge Mankovski wrote: > > Hi, > > I am trying to compile Asterisk under Yellow Dog 3.0 distributionn. > > I am getting an error > > gcc -shared -Xlinker -x -o codec_gsm.so codec_gsm.o -lgsm > > /usr/bin/ld: cannot find -lgsm > > > > May be I need packages that my distribution does not include? > > What do I need to download to get it compiled? > >Just a bit of education for you so you can help yourself later, -l flags >to gcc are to link against libraries and the name of the library is lib >+ what ever is appended to the -l flag. It appears you have the headers >for libgsm since it didn't complain and die on lack of headers, but it >appears that gcc and ld are unable to find libgsm. It might be that it >is installed to a directory that ld needs to be made aware of in >/etc/ld.so.config. >-- >Steven Critchfield <critch@basesys.com> > >_______________________________________________ >Asterisk-Users mailing list >Asterisk-Users@lists.digium.com >http://lists.digium.com/mailman/listinfo/asterisk-users_________________________________________________________________ Protect your PC - get McAfee.com VirusScan Online http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963