SpanDSP compile failure with latest Git
Tried ./bootstrap.sh, ./configure, and spandsp-reconf to no avail. Make yields the following error: /usr/src/freeswitch/libs/spandsp/src/spandsp/t42.h:67: error: expected declaration specifiers or â...â before âtsize_tâ /usr/src/freeswitch/libs/spandsp/src/spandsp/t42.h:69: error: expected declaration specifiers or â...â before âtsize_tâ /usr/src/freeswitch/libs/spandsp/src/spandsp/t42.h:69: error: expected declaration specifiers or â...â before âtsize_tâ make[1]: *** [freeswitch-switch.o] Error 1 make: *** [all] Error 2 Spandsp-reconf yields the following error: In file included from fax.c:80: spandsp/t42.h:61: error: expected declaration specifiers or '...' before 'tsize_t' spandsp/t42.h:61: error: expected declaration specifiers or '...' before 'tsize_t' spandsp/t42.h:63: error: expected declaration specifiers or '...' before 'tsize_t' spandsp/t42.h:63: error: expected declaration specifiers or '...' before 'tsize_t' spandsp/t42.h:65: error: expected declaration specifiers or '...' before 'tsize_t' spandsp/t42.h:65: error: expected declaration specifiers or '...' before 'tsize_t' spandsp/t42.h:67: error: expected declaration specifiers or '...' before 'tsize_t' spandsp/t42.h:67: error: expected declaration specifiers or '...' before 'tsize_t' spandsp/t42.h:69: error: expected declaration specifiers or '...' before 'tsize_t' spandsp/t42.h:69: error: expected declaration specifiers or '...' before 'tsize_t' make[3]: *** [fax.lo] Error 1 make[3]: Leaving directory `/usr/src/freeswitch/libs/spandsp/src' make[2]: *** [all] Error 2 make[2]: Leaving directory `/usr/src/freeswitch/libs/spandsp/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/src/freeswitch/libs/spandsp' make: *** [spandsp-reconf] Error 2 Phil Quesinberry Q Systems Engineering, Inc. Electronic Controls and Embedded Systems Development (410) 969-8002 http://www.qsystemsengineering.com
Are you using the master branch or the stable "v1.2.stable" branch? If you are going to compile the master branch for a production system, then I would strongly recommend that you run a git clean first, reset --hard and then switch over the v1.2.stable branch. The master branch is now more or less a "playground" on developers so they can do what they need to do to further enhance FreeSWITCH without having to worry about breaking other things. On Mon, Sep 3, 2012 at 4:07 PM, Phil Quesinberry <philq@qsystemsengineering.com> wrote:
Tried ./bootstrap.sh, ./configure, and spandsp-reconf to no avail.
Make yields the following error:
…
/usr/src/freeswitch/libs/spandsp/src/spandsp/t42.h:67: error: expected declaration specifiers or â...â before âtsize_tâ
/usr/src/freeswitch/libs/spandsp/src/spandsp/t42.h:69: error: expected declaration specifiers or â...â before âtsize_tâ
/usr/src/freeswitch/libs/spandsp/src/spandsp/t42.h:69: error: expected declaration specifiers or â...â before âtsize_tâ
make[1]: *** [freeswitch-switch.o] Error 1
make: *** [all] Error 2
…
Spandsp-reconf yields the following error:
…
In file included from fax.c:80:
spandsp/t42.h:61: error: expected declaration specifiers or '...' before 'tsize_t'
spandsp/t42.h:61: error: expected declaration specifiers or '...' before 'tsize_t'
spandsp/t42.h:63: error: expected declaration specifiers or '...' before 'tsize_t'
spandsp/t42.h:63: error: expected declaration specifiers or '...' before 'tsize_t'
spandsp/t42.h:65: error: expected declaration specifiers or '...' before 'tsize_t'
spandsp/t42.h:65: error: expected declaration specifiers or '...' before 'tsize_t'
spandsp/t42.h:67: error: expected declaration specifiers or '...' before 'tsize_t'
spandsp/t42.h:67: error: expected declaration specifiers or '...' before 'tsize_t'
spandsp/t42.h:69: error: expected declaration specifiers or '...' before 'tsize_t'
spandsp/t42.h:69: error: expected declaration specifiers or '...' before 'tsize_t'
make[3]: *** [fax.lo] Error 1
make[3]: Leaving directory `/usr/src/freeswitch/libs/spandsp/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/usr/src/freeswitch/libs/spandsp/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/freeswitch/libs/spandsp'
make: *** [spandsp-reconf] Error 2
…
Phil Quesinberry
Q Systems Engineering, Inc.
Electronic Controls and Embedded Systems Development
(410) 969-8002
http://www.qsystemsengineering.com
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
Yup. This has been the issue since spandsp started introducing some meaningful TIFF/FX stuff in git commit cbb28e2ae061e8615dde948e17d66c4d6178b142. ----- FreeSWITCH hosted on a Seagate DockStar with OpenWRT and ONLY consumes 3 Watts of electricity. -- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/SpanDSP-compile-failure-with-l... Sent from the freeswitch-users mailing list archive at Nabble.com.
Thanks Curriegrad/Mazilo, I was using the master branch but switched over to 1.2.stable last night after running into this problem and it’s working well. There was in issue introduced in an earlier version of the master branch that I was running where the switch would crash out if an extension tried to dial a code that mapped to a SIP URI where the system was down. I wanted to try the latest build before filing a Jira. While the master branch is surprisingly stable, I think I’ll go ahead and stick to 1.2.stable for now since this is in fact a production system. If you live on the bleeding edge long enough, it will be your own blood that you find there. - Phil -- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/SpanDSP-compile-failure-with-l... Sent from the freeswitch-users mailing list archive at Nabble.com.
participants (4)
-
curriegrad2004
-
mazilo
-
Phil Quesinberry
-
PhilQ