[Freeswitch-users] whats causing FS compilation to fail due to TPL errors on windows?

Peter Olsson peter at olssononline.se
Thu Oct 8 15:32:02 MSD 2015


And did you follow the instructions on the issue how to fix it?

/Peter

2015-10-08 9:16 GMT+02:00 Bipin Patel <bipin at xbipin.com>:

> hi,
>
> im trying to compile FS 1.6, master etc but they keep failing with the
> error mentioned in this bug report.
> https://freeswitch.org/jira/browse/FS-8277
>
> im on VS2015 professional, windows 7 and have the same platform SDK
> installed since 1.4, i tried to do a git clean and even a fresh git
> checkout but the issue wont go and the whole compilation keeps failing
> after i get this
>
>
> Error C2491 'tpl_unpack': definition of dllimport function not allowed
> FreeSwitchCoreLib E:\freeswitch-1.6.2\libs\libtpl-1.5\src\tpl.c 1934
> Error C2491 'tpl_peek': definition of dllimport function not allowed
> FreeSwitchCoreLib E:\freeswitch-1.6.2\libs\libtpl-1.5\src\tpl.c 1261
> Error C2491 'tpl_pack': definition of dllimport function not allowed
> FreeSwitchCoreLib E:\freeswitch-1.6.2\libs\libtpl-1.5\src\tpl.c 1770
> Error C2491 'tpl_map': definition of dllimport function not allowed
> FreeSwitchCoreLib E:\freeswitch-1.6.2\libs\libtpl-1.5\src\tpl.c 310
> Error C2491 'tpl_load': definition of dllimport function not allowed
> FreeSwitchCoreLib E:\freeswitch-1.6.2\libs\libtpl-1.5\src\tpl.c 1463
> Error C2491 'tpl_jot': definition of dllimport function not allowed
> FreeSwitchCoreLib E:\freeswitch-1.6.2\libs\libtpl-1.5\src\tpl.c 1420
> Error C2491 'tpl_gather': definition of dllimport function not allowed
> FreeSwitchCoreLib E:\freeswitch-1.6.2\libs\libtpl-1.5\src\tpl.c 2170
> Error C2491 'tpl_free': definition of dllimport function not allowed
> FreeSwitchCoreLib E:\freeswitch-1.6.2\libs\libtpl-1.5\src\tpl.c 677
> Error C2491 'tpl_dump': definition of dllimport function not allowed
> FreeSwitchCoreLib E:\freeswitch-1.6.2\libs\libtpl-1.5\src\tpl.c 979
> Error C2491 'tpl_Alen': definition of dllimport function not allowed
> FreeSwitchCoreLib E:\freeswitch-1.6.2\libs\libtpl-1.5\src\tpl.c 1537
>
>
> --
> Regards,
> Bipin
>
> <http://www.xbipin.com/>
> ------------------------------
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://confluence.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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151008/e1529edc/attachment.html 


Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list