[Freeswitch-users] SOLVED Re: mod_timerfd build error on debian squeeze amd64

Nestor A Diaz nestor at tiendalinux.com
Mon Nov 7 06:36:52 MSK 2011


Hi, the problem was not related to the  mod_timerfd, the uuid library 
was missing from the configure, when it tries to ldd tone2wav, so i have 
to change in the debian/rules file the line that begins with ./configure 
and add a LIBS=-luuid, and now i have the packages built !

./configure --prefix=/opt/freeswitch --host=$(DEB_HOST_GNU_TYPE) 
--build=$(DEB_BUILD_GNU_TYPE) ${FEATURES} LIBS=-luuid

Not sure it that is a problem of the freeswitch generated ./configure 
files or debian maintainers way of generating them.

CC. Debian Maintainer, a.k.a. "The maintainer is always right"

Slds.

-- 
Nestor A. Diaz
Ingeniero de Sistemas
Tel. +57 1-485-3020 x 211
Cel. +57 316-227-3593
Tel. SIP: sip:211 at tiendalinux.com
Email/MSN: nestor at tiendalinux.com
http://www.tiendalinux.com/
Bogota, Colombia



On 11/06/2011 09:07 PM, Nestor A Diaz wrote:
> Hi Guys, i am experiencing a problem compiling freeswitch under debian
> squeeze (AMD64):
>
> # tail -15 freeswitch_1.0.head-git.master.20110530.1-1_amd64.build
> make[6]: Entering directory
> `/usr/local/src/freeswitch/src/mod/timers/mod_timerfd'
> Compiling
> /usr/local/src/freeswitch/src/mod/timers/mod_timerfd/mod_timerfd.c...
> quiet_libtool: compile:  x86_64-linux-gnu-gcc
> -I/usr/local/src/freeswitch/src/include
> -I/usr/local/src/freeswitch/src/include
> -I/usr/local/src/freeswitch/libs/libteletone/src -fPIC -Werror
> -fvisibility=hidden -DSWITCH_API_VISIBILITY=1 -DHAVE_VISIBILITY=1 -g
> -ggdb -DHAVE_OPENSSL -ggdb -Wall -std=c99 -pedantic
> -Wdeclaration-after-statement -D_GNU_SOURCE -DHAVE_CONFIG_H -c
> /usr/local/src/freeswitch/src/mod/timers/mod_timerfd/mod_timerfd.c
> -fPIC -DPIC -o .libs/mod_timerfd.o
> quiet_libtool: compile:  x86_64-linux-gnu-gcc
> -I/usr/local/src/freeswitch/src/include
> -I/usr/local/src/freeswitch/src/include
> -I/usr/local/src/freeswitch/libs/libteletone/src -fPIC -Werror
> -fvisibility=hidden -DSWITCH_API_VISIBILITY=1 -DHAVE_VISIBILITY=1 -g
> -ggdb -DHAVE_OPENSSL -ggdb -Wall -std=c99 -pedantic
> -Wdeclaration-after-statement -D_GNU_SOURCE -DHAVE_CONFIG_H -c
> /usr/local/src/freeswitch/src/mod/timers/mod_timerfd/mod_timerfd.c -o
> mod_timerfd.o>/dev/null 2>&1
> Creating mod_timerfd.la...
> make[6]: Leaving directory
> `/usr/local/src/freeswitch/src/mod/timers/mod_timerfd'
> make[5]: Leaving directory
> `/usr/local/src/freeswitch/src/mod/timers/mod_timerfd'
> make[4]: Leaving directory `/usr/local/src/freeswitch/src/mod'
> make[3]: Leaving directory `/usr/local/src/freeswitch/src'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/usr/local/src/freeswitch'
> make[1]: *** [all] Error 2
> make[1]: Leaving directory `/usr/local/src/freeswitch'
> make: *** [build-stamp] Error 2
> dpkg-buildpackage: error: debian/rules build gave error exit status 2
>
> I got the git source through:
>
> git clone git://git.freeswitch.org/freeswitch.git
>
> and install dependencies before:
>
> apt-get install autoconf automake bison build-essential debhelper
> devscripts git-core libasound2-dev libcurl4-openssl-dev libdb-dev
> libexpat1-dev libgdbm-dev libgnutls-dev libjpeg-dev libncurses5
> libncurses5-dev libogg-dev libperl-dev libssl-dev libtiff4-dev libtool
> libvorbis-dev libx11-dev libzrtpcpp-dev make python2.6-dev python-dev
> unixodbc-dev uuid-dev wget zlib1g-dev  gawk pkg-config
>
> and run:
>
> debuild -i -us -uc -b
>
> Thank you very much !
>
>    




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