Re: [Freeswitch-users] Iksemel msvs compiling
Hi everyone After several time, I am still getting this error compiling using Visual C ++ 2008 express , can any body shed some light in this I have try using the gnutls-2.10.1, also tried gnutls-2.9.9 Thanks in advance Norman Lam : : 18>------ Build started: Project: iksemel, Configuration: Debug Win32 ------ 18>Compiling... 18>dom.c 18>filter.c 16>ecp_nist.c 18>iks.c 18>ikstack.c 16>ecp_mont.c 18>io-posix.c 16>eck_prn.c 18>jabber.c 18>md5.c 16>ec_print.c 18>sax.c 18>sha.c 16>ec_pmeth.c 18>stream.c 18>..\..\iksemel\src\stream.c(11) : fatal error C1083: Cannot open include file: 'pthread.h': No such file or directory 18>utility.c 18>base64.c 18>Generating Code... 18>Build log was saved at "file://c:\FS_GIT2\libs\win32\iksemel\Debug\BuildLog.htm" 18>iksemel - 1 error(s), 0 warning(s) : : : 111>------ Build started: Project: mod_dingaling, Configuration: Debug Win32 ------ 111>Compiling... 111>cl : Command line warning D9040 : ignoring option '/analyze'; Code Analysis warnings are not available in this edition of the compiler 111>mod_dingaling.c 112>------ Build started: Project: mod_ilbc, Configuration: Debug Win32 ------ 112>Compiling... 112>cl : Command line warning D9040 : ignoring option '/analyze'; Code Analysis warnings are not available in this edition of the compiler 112>mod_ilbc.c 111>Linking... 111>LINK : fatal error LNK1181: cannot open input file '..\..\..\..\libs\win32\iksemel\debug\iksemel.lib' 112>Linking... 111>Build log was saved at "file://c:\FS_GIT2\src\mod\endpoints\mod_dingaling\Win32\Debug\BuildLog.htm" 111>mod_dingaling - 1 error(s), 1 warning(s) : : ========== Build: 120 succeeded, 2 failed, 15 up-to-date, 3 skipped ========== From: Norman Lam [mailto:hwnorman@hotmail.com] Sent: Wednesday, January 05, 2011 3:43 PM To: 'freeswitch-users@lists.freeswitch.org' Subject: Iksemel msvs compiling Hi Everyone I am trying to compile the freeswitch with mod_dingaling and Iksemel to work on Google voice or Gmail voice, I have read This http://wiki.freeswitch.org/wiki/Iksemel_MSVS_project_example and the http://wiki.freeswitch.org/wiki/Dingaling But I am stuck at this clause Add HAVE_GNUTLS=1 the the preprocessor compile in the iksemel project What does this mean and how to go about this Thanks in advance Norman Lam
try adding ..\..\pthreads-w32-2-7-0-release; to the include path and see what happens -- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/Iksemel-msvs-compiling-tp58912... Sent from the freeswitch-users mailing list archive at Nabble.com.
Hi Jeff I clone the latest git and build it with your added instruction, I am getting more error Is it because of the new git and it didn't fix the issue -----Original Message----- From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Jeff Lenk Sent: Friday, January 07, 2011 12:44 PM To: freeswitch-users@lists.freeswitch.org Subject: Re: [Freeswitch-users] Iksemel msvs compiling try adding ..\..\pthreads-w32-2-7-0-release; to the include path and see what happens -- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/Iksemel-msvs-compiling-tp58912 63p5898181.html Sent from the freeswitch-users mailing list archive at Nabble.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
You had a a couple of download errors. openssl and sphinx models. try the build again and check /libs for tarballs openssl-1.0.0a.tar.gz communicator_semi_6000_20080321.tar.gz -- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/Iksemel-msvs-compiling-tp58912... Sent from the freeswitch-users mailing list archive at Nabble.com.
Hi Jeff I am still getting the error on the iksemel build : : 28>------ Build started: Project: iksemel, Configuration: Debug Win32 ------ 26>eng_all.c 28>Compiling... 28>dom.c 28>..\..\iksemel\src\dom.c(152) : error C2065: 'ENOENT' : undeclared identifier 28>filter.c 26>cms_smime.c 28>..\..\iksemel\src\filter.c(59) : error C2059: syntax error : 'type' 28>..\..\iksemel\src\filter.c(64) : error C2059: syntax error : 'type' 28>..\..\iksemel\src\filter.c(67) : error C2059: syntax error : 'type' 28>..\..\iksemel\src\filter.c(70) : error C2059: syntax error : 'type' 28>..\..\iksemel\src\filter.c(73) : error C2059: syntax error : 'type' 28>..\..\iksemel\src\filter.c(76) : error C2059: syntax error : 'type' 28>..\..\iksemel\src\filter.c(79) : error C2059: syntax error : 'type' 28>iks.c 28>ikstack.c 28>io-posix.c 26>cms_sd.c 28>jabber.c 28>md5.c 26>cms_lib.c 28>sax.c 28>sha.c 28>stream.c 26>Generating Code... 28>..\..\iksemel\src\stream.c(19) : fatal error C1083: Cannot open include file: 'gnutls/gnutls.h': No such file or directory 28>utility.c 26>Compiling... 26>cms_io.c 28>base64.c 28>Generating Code... 26>cms_ess.c 28>Build log was saved at "file://c:\FS_GIT2\libs\win32\iksemel\Debug\BuildLog.htm" 28>iksemel - 9 error(s), 0 warning(s) : : 125>------ Build started: Project: mod_dingaling, Configuration: Debug Win32 ------ 124>Linking... 125>Compiling... 125>cl : Command line warning D9040 : ignoring option '/analyze'; Code Analysis warnings are not available in this edition of the compiler 125>mod_dingaling.c 124> Creating library Win32\Debug/mod_commands.2008.lib and object Win32\Debug/mod_commands.2008.exp 124>Embedding manifest... 124>Build log was saved at "file://c:\FS_GIT2\src\mod\applications\mod_commands\Win32\Debug\BuildLog.ht m" 124>mod_commands - 0 error(s), 1 warning(s) 126>------ Build started: Project: mod_ilbc, Configuration: Debug Win32 ------ 126>Compiling... 126>cl : Command line warning D9040 : ignoring option '/analyze'; Code Analysis warnings are not available in this edition of the compiler 126>mod_ilbc.c 125>Linking... 125>LINK : fatal error LNK1181: cannot open input file '..\..\..\..\libs\win32\iksemel\debug\iksemel.lib' 125>Build log was saved at "file://c:\FS_GIT2\src\mod\endpoints\mod_dingaling\Win32\Debug\BuildLog.htm" 125>mod_dingaling - 1 error(s), 1 warning(s) : : Please advise Norman Lam -----Original Message----- From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Jeff Lenk Sent: Sunday, January 09, 2011 9:10 AM To: freeswitch-users@lists.freeswitch.org Subject: Re: [Freeswitch-users] Iksemel msvs compiling You had a a couple of download errors. openssl and sphinx models. try the build again and check /libs for tarballs openssl-1.0.0a.tar.gz communicator_semi_6000_20080321.tar.gz -- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/Iksemel-msvs-compiling-tp58912 63p5903534.html Sent from the freeswitch-users mailing list archive at Nabble.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
make sure you put the include path for ;..\..\pthreads-w32-2-7-0-release; at the end of the list. There seems to be some include file conflicts but this seems to take care of it. If you are succesfull with all of this please take the time to update the wiki with more detail. -- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/Iksemel-msvs-compiling-tp58912... Sent from the freeswitch-users mailing list archive at Nabble.com.
Hi Jeff I am still having the same error, after putting ;..\..\pthreads-w32-2-7-0-release; at the end of the list Norman 28>------ Build started: Project: iksemel, Configuration: Debug Win32 ------ 28>Compiling... 26>v3_conf.c 28>dom.c 28>..\..\iksemel\src\dom.c(152) : error C2065: 'ENOENT' : undeclared identifier 28>filter.c 28>..\..\iksemel\src\filter.c(59) : error C2059: syntax error : 'type' 28>..\..\iksemel\src\filter.c(64) : error C2059: syntax error : 'type' 28>..\..\iksemel\src\filter.c(67) : error C2059: syntax error : 'type' 28>..\..\iksemel\src\filter.c(70) : error C2059: syntax error : 'type' 28>..\..\iksemel\src\filter.c(73) : error C2059: syntax error : 'type' 28>..\..\iksemel\src\filter.c(76) : error C2059: syntax error : 'type' 28>..\..\iksemel\src\filter.c(79) : error C2059: syntax error : 'type' 28>iks.c 28>ikstack.c 28>io-posix.c 26>v3_bitst.c 28>jabber.c 28>md5.c 26>v3_bcons.c 28>sax.c 28>sha.c 28>stream.c 28>..\..\iksemel\src\stream.c(19) : fatal error C1083: Cannot open include file: 'gnutls/gnutls.h': No such file or directory 28>utility.c 28>base64.c 28>Generating Code... 28>Build log was saved at "file://c:\FS_GIT2\libs\win32\iksemel\Debug\BuildLog.htm" 28>iksemel - 9 error(s), 0 warning(s) : : 125>------ Build started: Project: mod_dingaling, Configuration: Debug Win32 ------ 125>Compiling... 125>cl : Command line warning D9040 : ignoring option '/analyze'; Code Analysis warnings are not available in this edition of the compiler 125>mod_dingaling.c 125>Linking... 125>LINK : fatal error LNK1181: cannot open input file '..\..\..\..\libs\win32\iksemel\debug\iksemel.lib' 125>Build log was saved at "file://c:\FS_GIT2\src\mod\endpoints\mod_dingaling\Win32\Debug\BuildLog.htm" 125>mod_dingaling - 1 error(s), 1 warning(s) : : ====== Build: 135 succeeded, 2 failed, 0 up-to-date, 3 skipped ========== -----Original Message----- From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Jeff Lenk Sent: Monday, January 10, 2011 11:27 PM To: freeswitch-users@lists.freeswitch.org Subject: Re: [Freeswitch-users] Iksemel msvs compiling make sure you put the include path for ;..\..\pthreads-w32-2-7-0-release; at the end of the list. There seems to be some include file conflicts but this seems to take care of it. If you are succesfull with all of this please take the time to update the wiki with more detail. -- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/Iksemel-msvs-compiling-tp58912 63p5907287.html Sent from the freeswitch-users mailing list archive at Nabble.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
Hi jeff , I didn't modify the project , I follow your instruction and still getting the error. Also follow the wiki mod_dingaling document. Look forward to your guidance Norman lam -----Original Message----- From: Norman Lam [mailto:hwnorman@hotmail.com] Sent: Tuesday, January 11, 2011 6:02 PM To: 'FreeSWITCH Users Help' Subject: RE: [Freeswitch-users] Iksemel msvs compiling Hi Jeff I am still having the same error, after putting ;..\..\pthreads-w32-2-7-0-release; at the end of the list Norman 28>------ Build started: Project: iksemel, Configuration: Debug Win32 28>------ Compiling... 26>v3_conf.c 28>dom.c 28>..\..\iksemel\src\dom.c(152) : error C2065: 'ENOENT' : undeclared 28>identifier filter.c 28>..\..\iksemel\src\filter.c(59) : error C2059: syntax error : 'type' 28>..\..\iksemel\src\filter.c(64) : error C2059: syntax error : 'type' 28>..\..\iksemel\src\filter.c(67) : error C2059: syntax error : 'type' 28>..\..\iksemel\src\filter.c(70) : error C2059: syntax error : 'type' 28>..\..\iksemel\src\filter.c(73) : error C2059: syntax error : 'type' 28>..\..\iksemel\src\filter.c(76) : error C2059: syntax error : 'type' 28>..\..\iksemel\src\filter.c(79) : error C2059: syntax error : 'type' 28>iks.c 28>ikstack.c 28>io-posix.c 26>v3_bitst.c 28>jabber.c 28>md5.c 26>v3_bcons.c 28>sax.c 28>sha.c 28>stream.c 28>..\..\iksemel\src\stream.c(19) : fatal error C1083: Cannot open 28>include file: 'gnutls/gnutls.h': No such file or directory utility.c 28>base64.c Generating Code... 28>Build log was saved at "file://c:\FS_GIT2\libs\win32\iksemel\Debug\BuildLog.htm" 28>iksemel - 9 error(s), 0 warning(s) : : 125>------ Build started: Project: mod_dingaling, Configuration: Debug 125>Win32 ------ Compiling... 125>cl : Command line warning D9040 : ignoring option '/analyze'; Code 125>Analysis warnings are not available in this edition of the compiler 125>mod_dingaling.c Linking... 125>LINK : fatal error LNK1181: cannot open input file '..\..\..\..\libs\win32\iksemel\debug\iksemel.lib' 125>Build log was saved at "file://c:\FS_GIT2\src\mod\endpoints\mod_dingaling\Win32\Debug\BuildLog.htm" 125>mod_dingaling - 1 error(s), 1 warning(s) : : ====== Build: 135 succeeded, 2 failed, 0 up-to-date, 3 skipped ========== -----Original Message----- From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Jeff Lenk Sent: Monday, January 10, 2011 11:27 PM To: freeswitch-users@lists.freeswitch.org Subject: Re: [Freeswitch-users] Iksemel msvs compiling make sure you put the include path for ;..\..\pthreads-w32-2-7-0-release; at the end of the list. There seems to be some include file conflicts but this seems to take care of it. If you are succesfull with all of this please take the time to update the wiki with more detail. -- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/Iksemel-msvs-compiling-tp58912 63p5907287.html Sent from the freeswitch-users mailing list archive at Nabble.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
Hi Norman, I thought you were trying to modify IKSemel to support gnutls - if so how can you not have modifed the project? Compare your project includes to the following line. ..\..\iksemel\include;.;..\..\pthreads-w32-2-7-0-release; the line looks like this when pulled from git : ..\..\iksemel\include;. Jeff -- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/Iksemel-msvs-compiling-tp58912... Sent from the freeswitch-users mailing list archive at Nabble.com.
Hi Jeff I may of mis understood of you saying "modify the project", but all I am doing is following the wiki on mod_dingaling and IKsemel, aren't these 2 module officially supported in the build for win32 without any errors. I download the latest Jit today, starting it fresh, plain vanilla and I am following your guidance but still getting the error. 1>------ Rebuild All started: Project: iksemel, Configuration: Debug Win32 ------ 1>Deleting intermediate and output files for project 'iksemel', configuration 'Debug|Win32' 1>Compiling... 1>dom.c 1>filter.c 1>iks.c 1>ikstack.c 1>io-posix.c 1>jabber.c 1>md5.c 1>sax.c 1>sha.c 1>stream.c 1>..\..\iksemel\src\stream.c(19) : fatal error C1083: Cannot open include file: 'gnutls/gnutls.h': No such file or directory 1>utility.c 1>base64.c 1>Generating Code... 1>Build log was saved at "file://c:\FS_GIT2\libs\win32\iksemel\Debug\BuildLog.htm" 1>iksemel - 1 error(s), 0 warning(s) ========== Rebuild All: 0 succeeded, 1 failed, 0 skipped ========== -----Original Message----- From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Jeff Lenk Sent: Sunday, January 16, 2011 1:53 AM To: freeswitch-users@lists.freeswitch.org Subject: Re: [Freeswitch-users] Iksemel msvs compiling Hi Norman, I thought you were trying to modify IKSemel to support gnutls - if so how can you not have modifed the project? Compare your project includes to the following line. ..\..\iksemel\include;.;..\..\pthreads-w32-2-7-0-release; the line looks like this when pulled from git : ..\..\iksemel\include;. Jeff -- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/Iksemel-msvs-compiling-tp58912 63p5925152.html Sent from the freeswitch-users mailing list archive at Nabble.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
They are experimental. A couple of users have reported success but the wiki documentation on that change is sparse. If you are successful please help by adding more specific instructions to those pages. It looks like you also need to add wherever gnutls.h is located to the include path as well. -- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/Iksemel-msvs-compiling-tp58912... Sent from the freeswitch-users mailing list archive at Nabble.com.
Hi Jeff I have tried adding the ..\..\..\gnutls-2.9.9\include\gnutls, or..\..\..\gnutls-2.9.9\include to the include directories, but it still cause the same error. Also tried copying the gnutls sub directory to where stream.c is located or iksemel\include is located but still no luck, Norman Lam -----Original Message----- From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Jeff Lenk Sent: Monday, January 17, 2011 11:06 PM To: freeswitch-users@lists.freeswitch.org Subject: Re: [Freeswitch-users] Iksemel msvs compiling They are experimental. A couple of users have reported success but the wiki documentation on that change is sparse. If you are successful please help by adding more specific instructions to those pages. It looks like you also need to add wherever gnutls.h is located to the include path as well. -- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/Iksemel-msvs-compiling-tp58912 63p5932097.html Sent from the freeswitch-users mailing list archive at Nabble.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
use an absolute path to find the required includes and libs ex. c:\gnutls-2.9.9\include make sure you take into account whether the code is looking for "path\file.h" or whatever. -- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/Iksemel-msvs-compiling-tp58912... Sent from the freeswitch-users mailing list archive at Nabble.com.
Tried with absolute path , no luck The stream.c define is #include <gnutls/gnutls.h> Norman -----Original Message----- From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Jeff Lenk Sent: Tuesday, January 18, 2011 11:15 AM To: freeswitch-users@lists.freeswitch.org Subject: Re: [Freeswitch-users] Iksemel msvs compiling use an absolute path to find the required includes and libs ex. c:\gnutls-2.9.9\include make sure you take into account whether the code is looking for "path\file.h" or whatever. -- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/Iksemel-msvs-compiling-tp58912 63p5934373.html Sent from the freeswitch-users mailing list archive at Nabble.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
Hi Jeff I got it to compile, following your guidance below and also edit the gnutls/gnutls.h file, to insert the definition typedef long ssize_t; after the line #include <gnutls/compat.h> I have it compile and working. I try update the wiki, but couldn't get in to edit, so maybe you can update it -----Original Message----- From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Jeff Lenk Sent: Tuesday, January 18, 2011 11:15 AM To: freeswitch-users@lists.freeswitch.org Subject: Re: [Freeswitch-users] Iksemel msvs compiling use an absolute path to find the required includes and libs ex. c:\gnutls-2.9.9\include make sure you take into account whether the code is looking for "path\file.h" or whatever. -- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/Iksemel-msvs-compiling-tp58912 63p5934373.html Sent from the freeswitch-users mailing list archive at Nabble.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
Hi Norman, I'm glad you figured it out! It seems a little strange that the library does not properly define ssize_t but maybe the library is built with other tools/compilers under windows(not sure doesnt really matter to me). You should be able to add your notes to the wiki - just create an account for the wiki. -Jeff -- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/Iksemel-msvs-compiling-tp58912... Sent from the freeswitch-users mailing list archive at Nabble.com.
Norman Lam wrote:
28>..\..\iksemel\src\dom.c(152) : error C2065: 'ENOENT' : undeclared
Apparently, your compiler doesn't know what 'ENOENT' is. ----- don't and stop are the ONLY two 4-letter words considered offensive to men, but not when used together. -- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/Iksemel-msvs-compiling-tp58912... Sent from the freeswitch-users mailing list archive at Nabble.com.
participants (3)
-
Jeff Lenk
-
mazilo
-
Norman Lam