[Freeswitch-users] unable to compile mod_shout on latest git

curriegrad2004 curriegrad2004 at gmail.com
Thu Feb 9 18:10:10 MSK 2012


In this case, what you could do is download the libogg and libvorbis
libraries, configure them to link each other seperately and install
them in a location other than /usr. After you've done that you'll have
to edit the mod_shout makefile to relflect this change. I remember
doing this on another platform, but I can't remember the specific
details on going about that.

On Thu, Feb 9, 2012 at 5:11 AM, Neil Patel <neilp at cs.stanford.edu> wrote:
> # apt-get install libvorbis0a libogg0 libogg-dev libvorbis-dev
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> libvorbis0a is already the newest version.
> libogg0 is already the newest version.
> libogg-dev is already the newest version.
> libvorbis-dev is already the newest version.
> The following packages were automatically installed and are no longer
> required:
>   firefox-3.5-branding sdparm
> Use 'apt-get autoremove' to remove them.
> 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
>
>
> On Thu, Feb 9, 2012 at 5:59 PM, Brian Foster <bdfoster at endigotech.com>
> wrote:
>>
>> cannot find the library
>> `/usr/lib/gcc/i486-linux-gnu/4.3.3/../../../../lib//libvorbis.la' or
>> unhandled argument
>> `/usr/lib/gcc/i486-linux-gnu/4.3.3/../../../../lib//libvorbis.la
>>
>> Probably should look at filling that dependency....
>>
>> On Feb 9, 2012 7:24 AM, "Neil Patel" <neilp at cs.stanford.edu> wrote:
>>>
>>> I'm on Ubuntu LTS and just did a pull from git. I've installed all the
>>> dependencies, and am getting this error:
>>>
>>> making all mod_shout
>>> Compiling /usr/src/freeswitch/src/mod/formats/mod_shout/mod_shout.c...
>>> quiet_libtool: compile:  gcc
>>> -I/usr/src/freeswitch/libs/libshout-2.2.2/include
>>> -I/usr/src/freeswitch/libs/lame-3.98.4/include
>>> -I/usr/src/freeswitch/libs/mpg123-1.13.2/src
>>> -I/usr/src/freeswitch/libs/mpg123-1.13.2/src
>>> -I/usr/src/freeswitch/libs/libshout-2.2.2/include
>>> -I/usr/src/freeswitch/libs/curl/include -I/usr/src/freeswitch/src/include
>>> -I/usr/src/freeswitch/src/include -I/usr/src/freeswitch/libs/libteletone/src
>>> -fPIC -Werror -fvisibility=hidden -DSWITCH_API_VISIBILITY=1
>>> -DHAVE_VISIBILITY=1 -g -ggdb -g -O2 -Wall -std=c99 -pedantic
>>> -Wdeclaration-after-statement -D_GNU_SOURCE -DHAVE_CONFIG_H -c
>>> /usr/src/freeswitch/src/mod/formats/mod_shout/mod_shout.c  -fPIC -DPIC -o
>>> .libs/mod_shout.o
>>> quiet_libtool: compile:  gcc
>>> -I/usr/src/freeswitch/libs/libshout-2.2.2/include
>>> -I/usr/src/freeswitch/libs/lame-3.98.4/include
>>> -I/usr/src/freeswitch/libs/mpg123-1.13.2/src
>>> -I/usr/src/freeswitch/libs/mpg123-1.13.2/src
>>> -I/usr/src/freeswitch/libs/libshout-2.2.2/include
>>> -I/usr/src/freeswitch/libs/curl/include -I/usr/src/freeswitch/src/include
>>> -I/usr/src/freeswitch/src/include -I/usr/src/freeswitch/libs/libteletone/src
>>> -fPIC -Werror -fvisibility=hidden -DSWITCH_API_VISIBILITY=1
>>> -DHAVE_VISIBILITY=1 -g -ggdb -g -O2 -Wall -std=c99 -pedantic
>>> -Wdeclaration-after-statement -D_GNU_SOURCE -DHAVE_CONFIG_H -c
>>> /usr/src/freeswitch/src/mod/formats/mod_shout/mod_shout.c -o mod_shout.o
>>> >/dev/null 2>&1
>>> Creating mod_shout.la...
>>> quiet_libtool: link: cannot find the library
>>> `/usr/lib/gcc/i486-linux-gnu/4.3.3/../../../../lib//libvorbis.la' or
>>> unhandled argument
>>> `/usr/lib/gcc/i486-linux-gnu/4.3.3/../../../../lib//libvorbis.la'
>>> make[5]: *** [mod_shout.la] Error 1
>>> make[4]: *** [all] Error 1
>>> make[3]: *** [mod_shout-all] Error 1
>>> make[2]: *** [all-recursive] Error 1
>>> make[1]: *** [all-recursive] Error 1
>>> make: *** [all] Error 2
>>>
>>>
>>> _________________________________________________________________________
>>> Professional FreeSWITCH Consulting Services:
>>> consulting at freeswitch.org
>>> http://www.freeswitchsolutions.com
>>>
>>> 
>>> 
>>>
>>> Official FreeSWITCH Sites
>>> http://www.freeswitch.org
>>> http://wiki.freeswitch.org
>>> http://www.cluecon.com
>>>
>>> FreeSWITCH-users mailing list
>>> FreeSWITCH-users at lists.freeswitch.org
>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>>> http://www.freeswitch.org
>>>
>>
>> _________________________________________________________________________
>> Professional FreeSWITCH Consulting Services:
>> consulting at freeswitch.org
>> http://www.freeswitchsolutions.com
>>
>> 
>> 
>>
>> Official FreeSWITCH Sites
>> http://www.freeswitch.org
>> http://wiki.freeswitch.org
>> http://www.cluecon.com
>>
>> FreeSWITCH-users mailing list
>> FreeSWITCH-users at lists.freeswitch.org
>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>> http://www.freeswitch.org
>>
>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> 
> 
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>



Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list