linphone iphone syntax error: unexpected end of file

these days I want to compile the linphone sdk for ios.

as my company has blocked the git port . So I got the sdk archive from my colleague who downloaded it from Israel in a window environment. after I get it I found I can't compile it ,before I  had installed all the prerequired libs.

 

this error occour:

....//build/iphone-config.site: line 34: syntax error: unexpected end of file


this is because the file format problem that translate files from windows to Unix.

 

I use these commands to fix this problem:

 

cd linphone-iphone

find . -type f -exec dos2unix {}\;

 

good luck to every one!

 

I think the better way to compile the linphone code is to download the source code from linphone's git repository directly. 

 

 

你可能感兴趣的:(iPhone)