[Freeswitch-users] Git Master missing header files

Peter Olsson peter at olssononline.se
Sat Jul 19 11:19:35 MSD 2014


The error reported here is reported when the line endings are wrong. So you
still haven't succeeded to get it right. Please download the Windows git
binaries here: http://msysgit.github.io. Use this instead of whatever GIT
client you are using now.

Then force autocrlf to false: git config --global core.autocrlf true

And then clone the FS repo (using command line 'git clone fs_git_repo') and
execute the build.

The error below is copied from your build log, and that is the actual
problem - and this specific problem happens when autocrlf is wrong,


6>------ Build started: Project: libsofia_sip_ua_static, Configuration:
Release x64 ------
6>  XMLHTTP GET: http://files.freeswitch.org/downloads/win32/gawk.exe
6>  multipart mismatch with Recursive multipart ()
6>  ../libsofia-sip-ua/sip/sip_bad_mask: unknown header "
6>  "



2014-07-18 15:03 GMT+02:00 Andrew <aademattia at comcast.net>:

>
>
>
>
> Here is the full build and some screen shots.
>
> I have built FS like 100 times+.
>
> This is my first time for GIT and all the others are URL link to
> download.  I need to build master because they fixed a bug.
>
>
>
> The header files are just missing.  I found using an old copy to fix the
> missing files works but who knows what code I am missing or just old code.
>
>
>
>
>
> Andrew
>
> *From:* freeswitch-users-bounces at lists.freeswitch.org [
> mailto:freeswitch-users-bounces at lists.freeswitch.org
> <freeswitch-users-bounces at lists.freeswitch.org>] *On Behalf Of *Peter
> Olsson
> *Sent:* Friday, July 18, 2014 8:02 AM
> *To:* FreeSWITCH Users Help
> *Subject:* Re: [Freeswitch-users] Git Master missing header files
>
>
>
> I've built this in VS2013 as well, so that shouldn't be a problem.
>
>
>
> Please pastebin the entire build log, and I'll have a look.
>
>
>
> 2014-07-18 13:52 GMT+02:00 Andrew <aademattia at comcast.net>:
>
> I will try on VS 2012 maybe that makes the difference.
>
>
>
> Here are my steps I am doing
>
> Open up Git Gui ( I switched client apps)
>
> Clone Existing Repository
>
> https://stash.freeswitch.org/scm/fs/freeswitch.git
>
>
>
> Once done I then upgrade to VS 2013.
>
> I then build Libsofia_sip_ua_static and I get 1022 errors ( due to missing
> head files)
>
> I do remember having issues in the pass but once I started downloading the
> link outside git I did not have the issues.
>
>
>
> I did set my get client to false like the webpage said.  I will try vs
> 2012 today.
>
>
>
> Then
>
> *From:* freeswitch-users-bounces at lists.freeswitch.org [mailto:
> freeswitch-users-bounces at lists.freeswitch.org] *On Behalf Of *Peter Olsson
> *Sent:* Friday, July 18, 2014 3:06 AM
> *To:* FreeSWITCH Users Help
> *Subject:* Re: [Freeswitch-users] Git Master missing header files
>
>
>
> I tested (using VS2012) just a few hours ago, and it worked without any
> problems.
>
>
>
> 2014-07-17 23:41 GMT+02:00 Andrew <aademattia at comcast.net>:
>
> Ok,
>
> I have found the link and downloaded another Git client and set autocrlf
> to false and check
>
> Like the website shows to do.
>
>
>
> Same errors as before.  Would someone also try to download master and run
> VS 2013 ( I am guessing 2012 has the same issue) and see that most of the
> issues are in libsofia_sip_ua_static.
>
>
>
>
>
> Andrew
>
> *From:* freeswitch-users-bounces at lists.freeswitch.org [mailto:
> freeswitch-users-bounces at lists.freeswitch.org] *On Behalf Of *Chris
> Tunbridge
> *Sent:* Thursday, July 17, 2014 5:06 PM
> *To:* FreeSWITCH Users Help
> *Subject:* Re: [Freeswitch-users] Git Master missing header files
>
>
>
> It wouldn't normally be on the repo side, you'll have to issue the
> following on the client side
>
> Option 1: Set globally for GIT, works for everything that reads the
> ~/.gitconfig file
>
> git config --global core.autocrlf true
>
> Option 2: Set for only the specific repo.
> git config core.autocrlf true
>
>
>
>
> On Thu, Jul 17, 2014 at 2:50 PM, Michael Jerris <mike at jerris.com> wrote:
> >
> > I don't know of any way to do this on the repo side, does anyone else?
>  I would love for this problem to just not exist.
> >
> > On Jul 17, 2014, at 4:42 PM, Chris Tunbridge <blasterjr at gmail.com>
> wrote:
> >
> > just a note about sourcetree + autoclrf, according to this post, its
> based on your .gitconfig file either globally or on the repo itself
> >
> >
> https://answers.atlassian.com/questions/41411/how-to-enforce-line-endings-on-commit-in-sourcetree
> >
> >
> > On Thu, Jul 17, 2014 at 2:27 PM, Michael Jerris <mike at jerris.com> wrote:
> >>
> >> from earlier in the thread:
> >>
> >> as far as how to fix this on other clients, you would need to refer to
> their documentation how to properly set autocrlf.
> >>
> >> My guess is that you've hit the classic problem of autocrlf in git.
> >>
> >> Some headers are auto generated, and that will fail if autocrlf is
> enabled.
> >>
> >> Verify the instructions here:
> https://confluence.freeswitch.org/display/FREESWITCH/Windows
> >>
> >> /Peter
> >>
> >> On Jul 17, 2014, at 4:20 PM, Andrew <aademattia at comcast.net> wrote:
> >>
> >> I am using SourceTree client.  I looked on Wikipedia but the client
> link is a dead link.
> >>
> >> Anyone have the steps to use Git to stop autocrlf issue?
> >>
> >> Andrew
> >>
> >> From: freeswitch-users-bounces at lists.freeswitch.org [mailto:
> freeswitch-users-bounces at lists.freeswitch.org] On Behalf OfMichael Jerris
> >>
> >> Sent: Thursday, July 17, 2014 3:33 PM
> >> To: FreeSWITCH Users Help
> >> Subject: Re: [Freeswitch-users] Git Master missing header files
> >>
> >> Via the git url, yes.  As Peter said, you are hitting the autocrlf
> issue.
> >>
> >>
> >> On Jul 17, 2014, at 10:30 AM, Andrew <aademattia at comcast.net> wrote:
> >>
> >>
> >> I downloaded 1.4 (http://files.freeswitch.org/) I  don’t have issues.
> >>
> >> FS team added some code for me on a Jar and I wanted to try it out.
> >> Any way to download master via url?
> >>
> >> Andrew
> >>
> >>
> >> From: freeswitch-users-bounces at lists.freeswitch.org [mailto:
> freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Peter Olsson
> >> Sent: Thursday, July 17, 2014 10:14 AM
> >> To: FreeSWITCH Users Help
> >> Subject: Re: [Freeswitch-users] Git Master missing header files
> >>
> >> If I remember correctly, Jeff was looking into it - but I'm not sure.
> Jeff (if you're around), could you please update the ticket? I'll help out
> to get is fixed as soon as possible. I've been kind of busy with work
> lately, but I should have some time next week to get that fixed.
> >>
> >>
> >>
> >> 2014-07-17 16:03 GMT+02:00 Brian West <brian at freeswitch.org>:
> >>
> >> Peter,
> >>
> >> We need to address that OpenSSL JIRA on Windows, its not been updated
> from g to h, I think per the JIRA we need to come up with a better way to
> update that.  Thoughts?
> >>
> >>
> >>
> >> On Thu, Jul 17, 2014 at 8:50 AM, Peter Olsson <peter at olssononline.se>
> wrote:
> >>
> >> My guess is that you've hit the classic problem of autocrlf in git.
> >>
> >> Some headers are auto generated, and that will fail if autocrlf is
> enabled.
> >>
> >> Verify the instructions here:
> https://confluence.freeswitch.org/display/FREESWITCH/Windows
> >>
> >> /Peter
> >>
> >>
> >>
> >> 2014-07-17 15:20 GMT+02:00 Andrew <aademattia at comcast.net>:
> >>
> >>
> >> I am doing a fresh clone.
> >> Here are the errors in visual studio 2013
> >>
> >> Sofia_Features.h
> >>
> >> #define SOFIA_SIP_VERSION  "1.12.10devel
> >> "
> >> /** Current Sofia package name and version. @showinitializer */
> >> #define SOFIA_SIP_NAME_VERSION   "sofia-sip-1.12.10devel
> >> "
> >> Should be
> >>
> >> #define SOFIA_SIP_VERSION  "1.12.10devel"
> >> /** Current Sofia package name and version. @showinitializer */
> >> #define SOFIA_SIP_NAME_VERSION   "sofia-sip-1.12.10devel"
> >>
> >>
> >> Http_protos.h is blank.
> >> http_tag.h is blank
> >> msg_mime_protos.h is blank
> >> msg_protos.h is blank
> >> sip_hclasses.h is blank
> >> sip_protos.h is blank
> >> sip_tag.h is blank
> >> su_source.h
> >>
> >> win32_header package version and version have the “ on the next line
> >>
> >>
> >> not a complete list of issue but it’s a lot.
> >>
> >> From: freeswitch-users-bounces at lists.freeswitch.org [mailto:
> freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Peter Olsson
> >> Sent: Thursday, July 17, 2014 2:32 AM
> >> To: FreeSWITCH Users Help
> >> Subject: Re: [Freeswitch-users] Git Master missing header files
> >>
> >> What headers are supposed to be missing? Looks fine here...
> >>
> >> /Peter
> >>
> >>
> >>
> >> 2014-07-17 3:56 GMT+02:00 Andrew <aademattia at comcast.net>:
> >>
> >>
> >> Hi,
> >> Today I downloaded master using git clonehttps://
> stash.freeswitch.org/scm/fs/freeswitch.git
> >> And lot of the headers are missing.
> >> Anyone know what I am doing wrong?
> >> I am using github on windows.
> >>
> >> Andrew
> >>
> >>
> >> ___
> >>
> >>
> _________________________________________________________________________
> >>
> >> Professional FreeSWITCH Consulting Services:
> >> consulting at freeswitch.org
> >> http://www.freeswitchsolutions.com
> >>
> >> 
> >> 
> >>
> >> Official FreeSWITCH Sites
> >> http://www.freeswitch.org
> >> http://wiki.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
> >>
> >>
> >>
> >>
> _________________________________________________________________________
> >> Professional FreeSWITCH Consulting Services:
> >> consulting at freeswitch.org
> >> http://www.freeswitchsolutions.com
> >>
> >> 
> >> 
> >>
> >> Official FreeSWITCH Sites
> >> http://www.freeswitch.org
> >> http://wiki.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
> >>
> >
> > _________________________________________________________________________
> > Professional FreeSWITCH Consulting Services:
> > consulting at freeswitch.org
> > http://www.freeswitchsolutions.com
> >
> > 
> > 
> >
> > Official FreeSWITCH Sites
> > http://www.freeswitch.org
> > http://wiki.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
> >
> >
> >
> > _________________________________________________________________________
> > Professional FreeSWITCH Consulting Services:
> > consulting at freeswitch.org
> > http://www.freeswitchsolutions.com
> >
> > 
> > 
> >
> > Official FreeSWITCH Sites
> > http://www.freeswitch.org
> > http://wiki.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
> >
>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> 
> 
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.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
>
>
>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> 
> 
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.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
>
>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> 
> 
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.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/20140719/066da7aa/attachment-0001.html 


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