prakash1307 / siphon

Automatically exported from code.google.com/p/siphon
0 stars 0 forks source link

Siphon 494 issue compiling against 2.2.1 and 3.0 SDK 3-errors. #264

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Having some difficulty compiling Siphon r494.  I have compiled the pjsip
libraries and everything is good 

I am getting the following error trying to compile to iphone 2.2.1 or 3.0 sdk

Building target “Siphon” of project “Siphon” with configuration 
“Debug” —
(3 errors, 1 warning)

cc1obj: warning: -Wuninitialized is not supported without -O
In file included from
/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS3.0.sdk/System/Lib
rary/Frameworks/UIKit.framework/Headers/UIKit.h:31:
/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS3.0.sdk/System/Lib
rary/Frameworks/UIKit.framework/Headers/UILocalizedIndexedCollation.h:13:
error: syntax error before 'AT_NAME' token
/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS3.0.sdk/System/Lib
rary/Frameworks/UIKit.framework/Headers/UILocalizedIndexedCollation.h:21:
error: syntax error before '}' token
/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS3.0.sdk/System/Lib
rary/Frameworks/UIKit.framework/Headers/UILocalizedIndexedCollation.h:23:
fatal error: method definition not in @implementation context
compilation terminated.
        cc1obj: warning: -Wuninitialized is not supported without -O
        In file included from
/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS3.0.sdk/System/Lib
rary/Frameworks/UIKit.framework/Headers/UIKit.h:31:

/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS3.0.sdk/System/Lib
rary/Frameworks/UIKit.framework/Headers/UILocalizedIndexedCollation.h:13:
error: syntax error before 'AT_NAME' token

/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS3.0.sdk/System/Lib
rary/Frameworks/UIKit.framework/Headers/UILocalizedIndexedCollation.h:21:
error: syntax error before '}' token

/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS3.0.sdk/System/Lib
rary/Frameworks/UIKit.framework/Headers/UILocalizedIndexedCollation.h:23:
fatal error: method definition not in @implementation context
Build failed (3 errors, 1 warning)

I have researched the issue and it is saying that the  “error before
'AT_NAME' token” is usually caused by a missing @end in one of the header
files but I have gone through all of them and they are all there.  I have
compiled pjsip for 2.21 as well as 3.0 

I have also re-downloaded all of the files from the repository thinking
that I had mistyped something somewhere in the source but this is with a
fresh install strait from the repository.

I was wondering if you had any ideas as to what may be the problem.

Original issue reported on code.google.com by mike.ke...@gmail.com on 23 Jul 2009 at 5:33

GoogleCodeExporter commented 8 years ago
Bump.. Having the identical same issues (found in UIKit.h, but I assume the 
issue is
somewhere else in the Siphon code.

Anyone have any ideas? Easy to replicate, compile pjsip for 3.0 and open the 
project. 

Does the same on 2.x as well.

-Matthew

Original comment by matthew...@gmail.com on 27 Jul 2009 at 12:12

GoogleCodeExporter commented 8 years ago
its fairly documented on google, but also try changing compiler type

Original comment by shayne.oneill@gmail.com on 3 Aug 2009 at 12:03

GoogleCodeExporter commented 8 years ago

Original comment by samuelv0...@gmail.com on 4 Aug 2009 at 9:22

GoogleCodeExporter commented 8 years ago
How was the issue fixed, any changes need to be done to project settings?

-Jay

Original comment by Jaykr...@gmail.com on 18 Aug 2009 at 12:03

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
Can anyone give more detailed process regarding the same?How was this problem 
solved? 

Original comment by uma.jaya...@gmail.com on 20 Aug 2009 at 4:54

GoogleCodeExporter commented 8 years ago
Samuel,
I just downloaded the latest revision and I'm still getting the same error. 
What/how
did you fix this problem?

Original comment by erick.va...@gmail.com on 11 Sep 2009 at 1:29