Build FS without spandsp or libtiff
Hello everyone, I'm trying to keep my build as small as possible (for AstLinux). Is there anyway to build without spandsp or libtiff? Thanks! -- Kristian Kielhofner http://www.astlinux.org http://blog.krisk.org http://www.star2star.com http://www.submityoursip.com http://www.voalte.com
Don't build mod_fax /b On Nov 17, 2009, at 1:21 PM, Kristian Kielhofner wrote:
Hello everyone,
I'm trying to keep my build as small as possible (for AstLinux). Is there anyway to build without spandsp or libtiff?
Thanks!
-- Kristian Kielhofner http://www.astlinux.org http://blog.krisk.org http://www.star2star.com http://www.submityoursip.com http://www.voalte.com
I'm not... On Tue, Nov 17, 2009 at 2:24 PM, Brian West <brian@freeswitch.org> wrote:
Don't build mod_fax /b
-- Kristian Kielhofner http://www.astlinux.org http://blog.krisk.org http://www.star2star.com http://www.submityoursip.com http://www.voalte.com
Ah yes, using spandsp instead of libvoipcodecs. I'm not going to question the wisdom of that move but it appears that spandsp (as-is) doesn't cross compile properly (make_at_dictionary is built using the cross compiler and can't run on the host). Once that error is fixed (I hacked it for now) it still bombs as shown here: http://pastebin.freeswitch.org/11149 spandsp + libtiff are almost certainly *much* larger than libvoipcodecs but if that means that I can also build mod_fax I guess it's worth it ;). On Tue, Nov 17, 2009 at 2:37 PM, Brian West <brian@freeswitch.org> wrote:
OH you need spandsp for VoipCodecs. No way around that one. /b
-- Kristian Kielhofner http://www.astlinux.org http://blog.krisk.org http://www.star2star.com http://www.submityoursip.com http://www.voalte.com
On 11/18/2009 04:19 AM, Kristian Kielhofner wrote:
Ah yes, using spandsp instead of libvoipcodecs. I'm not going to question the wisdom of that move but it appears that spandsp (as-is) doesn't cross compile properly (make_at_dictionary is built using the cross compiler and can't run on the host). Once that error is fixed (I hacked it for now) it still bombs as shown here:
http://pastebin.freeswitch.org/11149
spandsp + libtiff are almost certainly *much* larger than libvoipcodecs but if that means that I can also build mod_fax I guess it's worth it ;).
On Tue, Nov 17, 2009 at 2:37 PM, Brian West<brian@freeswitch.org> wrote:
OH you need spandsp for VoipCodecs. No way around that one. /b
Over time more and more of spandsp will be used by Freeswitch, so its most certainly an integral part of FS going forward. In a few months it might be possible to not use libTIFF, depending how things go with some developments. spandsp builds OK for many cross compile setups. make_at_dictionary and make_modem_filters should be built using the host compiler, not the target compiler. This seems to work in the places I've tried it. The problem in your pastebin log seems to be a broken C99 environment, and not a spandsp problem. Steve
On Wed, Nov 18, 2009 at 12:45 PM, Steve Underwood <steveu@coppice.org> wrote:
Over time more and more of spandsp will be used by Freeswitch, so its most certainly an integral part of FS going forward. In a few months it might be possible to not use libTIFF, depending how things go with some developments.
spandsp builds OK for many cross compile setups. make_at_dictionary and make_modem_filters should be built using the host compiler, not the target compiler. This seems to work in the places I've tried it.
The problem in your pastebin log seems to be a broken C99 environment, and not a spandsp problem.
Steve
make_at_dictionary is not build using the host compiler. I had to hack it (manually passing CC and LIBTOOL to make) to get the build to proceed to the next error... This may be specific to the integration with the rest of the FreeSWITCH build system. I'm using uClibc (as are most other embedded environments) and I've had other C99 issues before. -- Kristian Kielhofner http://www.astlinux.org http://blog.krisk.org http://www.star2star.com http://www.submityoursip.com http://www.voalte.com
Kristian, catch up with me somewhere that I can get remote access to this build environment so that we can sort this out. Mike On Nov 18, 2009, at 2:02 PM, Kristian Kielhofner wrote:
On Wed, Nov 18, 2009 at 12:45 PM, Steve Underwood <steveu@coppice.org> wrote:
Over time more and more of spandsp will be used by Freeswitch, so its most certainly an integral part of FS going forward. In a few months it might be possible to not use libTIFF, depending how things go with some developments.
spandsp builds OK for many cross compile setups. make_at_dictionary and make_modem_filters should be built using the host compiler, not the target compiler. This seems to work in the places I've tried it.
The problem in your pastebin log seems to be a broken C99 environment, and not a spandsp problem.
Steve
make_at_dictionary is not build using the host compiler. I had to hack it (manually passing CC and LIBTOOL to make) to get the build to proceed to the next error... This may be specific to the integration with the rest of the FreeSWITCH build system.
I'm using uClibc (as are most other embedded environments) and I've had other C99 issues before.
-- Kristian Kielhofner http://www.astlinux.org http://blog.krisk.org http://www.star2star.com http://www.submityoursip.com http://www.voalte.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
participants (4)
-
Brian West
-
Kristian Kielhofner
-
Michael Jerris
-
Steve Underwood