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@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




_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@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@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org