bhansriguer / siphon

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

Compilation error #544

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
hi all,
I am trying to compile siphone (latest from trunk) to run on the simulator with 
the above mentioned system. i managed to compile pjsip (r3495) fine, but the 
siphone is not compiling.

here is the error that i get:

Build Siphon of project Siphon with configuration Debug

Check dependencies

[WARN]warning: no rule to process file '$(PROJECT_DIR)/Classes/libg729a.a' of 
type archive.ar for architecture i386

ProcessPCH 
/var/folders/-k/-kaLguNyEais0QiQLJzqO++++TI/-Caches-/com.apple.Xcode.501/SharedP
recompiledHeaders/UIKit-hggmtnttlyoyalawptluvdafcnni/UIKit.h.gch 
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.1.
sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.h normal i386 
objective-c com.apple.compilers.gcc.4_2
cd "/Users/mac1/Documents/XCode WorkSpace/iSipPhone/Siphon2"
setenv LANG en_US.US-ASCII
setenv PATH 
"/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Developer/usr/
bin:/usr/bin:/bin:/usr/sbin:/sbin"
/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/gcc-4.2 -x 
objective-c-header -arch i386 -fmessage-length=0 -pipe -std=c99 -Wno-trigraphs 
-fpascal-strings -fasm-blocks -O0 -Wreturn-type -Wunused-variable 
-Wunused-value -Wuninitialized -DCYDIA=0 -DRING_FILE=1 -DLOCAL_ACCOUNT=0 
-DPJ_AUTOCONF=1 -isysroot 
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.1.
sdk -fexceptions -fvisibility=hidden -mmacosx-version-min=10.6 -gdwarf-2 
-fobjc-abi-version=2 -fobjc-legacy-dispatch -iquote 
"/Users/mac1/Documents/XCode 
WorkSpace/iSipPhone/Siphon2/build/Siphon.build/Debug-iphonesimulator/Siphon.buil
d/Siphon-generated-files.hmap" "-I/Users/mac1/Documents/XCode 
WorkSpace/iSipPhone/Siphon2/build/Siphon.build/Debug-iphonesimulator/Siphon.buil
d/Siphon-own-target-headers.hmap" "-I/Users/mac1/Documents/XCode 
WorkSpace/iSipPhone/Siphon2/build/Siphon.build/Debug-iphonesimulator/Siphon.buil
d/Siphon-all-target-headers.hmap" -iquote "/Users/mac1/Documents/XCode 
WorkSpace/iSipPhone/Siphon2/build/Siphon.build/Debug-iphonesimulator/Siphon.buil
d/Siphon-project-headers.hmap" "-F/Users/mac1/Documents/XCode 
WorkSpace/iSipPhone/Siphon2/build/Debug-iphonesimulator" 
"-I/Users/mac1/Documents/XCode 
WorkSpace/iSipPhone/Siphon2/build/Debug-iphonesimulator/include" -IHeaders 
-I../pjproject-svn/pjlib/include -I../pjproject-svn/pjlib-util/include 
-I../pjproject-svn/pjmedia/include -I../pjproject-svn/pjnath/include 
-I../pjproject-svn/pjsip/include "-I/Users/mac1/Documents/XCode 
WorkSpace/iSipPhone/Siphon2/build/Siphon.build/Debug-iphonesimulator/Siphon.buil
d/DerivedSources/i386" "-I/Users/mac1/Documents/XCode 
WorkSpace/iSipPhone/Siphon2/build/Siphon.build/Debug-iphonesimulator/Siphon.buil
d/DerivedSources" -c 
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.1.
sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.h -o 
/var/folders/-k/-kaLguNyEais0QiQLJzqO++++TI/-Caches-/com.apple.Xcode.501/SharedP
recompiledHeaders/UIKit-hggmtnttlyoyalawptluvdafcnni/UIKit.h.gch

cc1obj: warning: -Wuninitialized is not supported without -O
In file included from 
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.1.
sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.h:26,
                 from /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIEvent.h:9,
                 from /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIResponder.h:10,
                 from /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:9,
                 from /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIActivityIndicatorView.h:8,
                 from /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.h:11:
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.1.
sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFContext.h: In 
function 'CGPDFContextAddDocumentMetadata':
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.1.
sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFContext.h:60: 
error: expected declaration specifiers before 
'__AVAILABILITY_INTERNAL__MAC_10_7'
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.1.
sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFContext.h:66: 
error: storage class specified for parameter 'CGPDFContextSetURLForRect'
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.1.
sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFContext.h:73: 
error: storage class specified for parameter 'CGPDFContextAddDestinationAtPoint'
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.1.
sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFContext.h:80: 
error: storage class specified for parameter 'CGPDFContextSetDestinationForRect'
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.1.
sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFContext.h:89: 
error: storage class specified for parameter 'kCGPDFContextMediaBox'
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.1.
sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFContext.h:96: 
error: storage class specified for parameter 'kCGPDFContextCropBox'
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.1.
sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFContext.h:103:
 error: storage class specified for parameter 'kCGPDFContextBleedBox'
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.1.
sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFContext.h:110:
 error: storage class specified for parameter 'kCGPDFContextTrimBox'
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.1.
sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFContext.h:117:
 error: storage class specified for parameter 'kCGPDFContextArtBox'
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.1.
sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFContext.h:125:
 error: storage class specified for parameter 'kCGPDFContextTitle'
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.1.
sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFContext.h:131:
 error: storage class specified for parameter 'kCGPDFContextAuthor'
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.1.
sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFContext.h:137:
 error: storage class specified for parameter 'kCGPDFContextSubject'
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.1.
sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFContext.h:150:
 error: storage class specified for parameter 'kCGPDFContextKeywords'
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.1.
sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFContext.h:157:
 error: storage class specified for parameter 'kCGPDFContextCreator'
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.1.
sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFContext.h:170:
 error: storage class specified for parameter 'kCGPDFContextOwnerPassword'
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.1.
sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFContext.h:182:
 error: storage class specified for parameter 'kCGPDFContextUserPassword'
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.1.
sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFContext.h:192:
 error: storage class specified for parameter 'kCGPDFContextEncryptionKeyLength'
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.1.
sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFContext.h:199:
 error: storage class specified for parameter 'kCGPDFContextAllowsPrinting'
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.1.
sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFContext.h:206:
 error: storage class specified for parameter 'kCGPDFContextAllowsCopying'
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.1.
sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFContext.h:216:
 error: storage class specified for parameter 'kCGPDFContextOutputIntent'
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.1.
sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFContext.h:225:
 error: storage class specified for parameter 'kCGPDFXOutputIntentSubtype'
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.1.
sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFContext.h:234:
 error: storage class specified for parameter 'kCGPDFXOutputConditionIdentifier'
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.1.
sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFContext.h:242:
 error: storage class specified for parameter 'kCGPDFXOutputCondition'
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.1.
sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFContext.h:251:
 error: storage class specified for parameter 'kCGPDFXRegistryName'
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.1.
sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFContext.h:261:
 error: storage class specified for parameter 'kCGPDFXInfo'
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.1.
sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFContext.h:271:
 error: storage class specified for parameter 'kCGPDFXDestinationOutputProfile'
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.1.
sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFContext.h:284:
 error: storage class specified for parameter 'kCGPDFContextOutputIntents'
In file included from 
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.1.
sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.h:30,
                 from /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIEvent.h:9,
                 from /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIResponder.h:10,
                 from /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:9,
                 from /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIActivityIndicatorView.h:8,
                 from /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.h:11:
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.1.
sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFOperatorTable.
h:8: error: storage class specified for parameter 'CGPDFOperatorTableRef'
In file included from 
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.1.
sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFOperatorTable.
h:10,
                 from /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.1.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.h:30,
                 from /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIEvent.h:9,
                 from /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIResponder.h:10,
                 from /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:9,
                 from /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIActivityIndicatorView.h:8,
                 from /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.h:11:
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.1.
sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFScanner.h:8: 
error: storage class specified for parameter 'CGPDFScannerRef'
In file included from 
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.1.
sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFOperatorTable.
h:10,
                 from /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.1.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.h:30,
                 from /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIEvent.h:9,
                 from /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIResponder.h:10,
                 from /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:9,
                 from /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIActivityIndicatorView.h:8,
                 from /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.h:11:
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.1.
sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFScanner.h:15: 
error: expected '=', ',', ';', 'asm' or '__attribute__' before 
'CGPDFScannerCreate'
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.1.
sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFScanner.h:21: 
error: expected '=', ',', ';', 'asm' or '__attribute__' before 
'CGPDFScannerRetain'
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.1.
sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFScanner.h:26: 
error: expected ')' before 'scanner'
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.1.
sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFScanner.h:33: 
error: expected ')' before 'scanner'
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.1.
sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFScanner.h:39: 
error: expected ')' before 'scanner'
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.1.
sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFScanner.h:43: 
error: expected ')' before 'scanner'
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.1.
sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFScanner.h:49: 
error: expected ')' before 'scanner'
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.1.
sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFScanner.h:55: 
error: expected ')' before 'scanner'
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.1.
sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFScanner.h:61: 
error: expected ')' before 'scanner'
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.1.
sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFScanner.h:67: 
error: expected ')' before 'scanner'
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.1.
sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFScanner.h:73: 
error: expected ')' before 'scanner'
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.1.
sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFScanner.h:79: 
error: expected ')' before 'scanner'
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.1.
sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFScanner.h:86: 
error: expected ')' before 'scanner'
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.1.
sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFScanner.h:92: 
error: expected ')' before 'scanner'
In file included from 
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.1.
sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.h:30,
                 from /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIEvent.h:9,
                 from /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIResponder.h:10,

........
...............

Code Signing (jailbreak) Siphon
/Users/mac1/Documents/XCode 
WorkSpace/iSipPhone/Siphon2/build/Siphon.build/Debug-iphonesimulator/Siphon.buil
d/Script-7E432FB710661F8F00949182.sh: line 3: ldid: command not found
Command /bin/sh failed with exit code 127

1348 errors! usually the mistake is something silly! 

can anyone help what might be the issue?

thankyou 

Original issue reported on code.google.com by shroukK...@gmail.com on 15 Oct 2011 at 10:59

GoogleCodeExporter commented 9 years ago
nvm , upgrading xcode to 3.2.6 and ios 4.3 fixed it

Original comment by shroukK...@gmail.com on 15 Oct 2011 at 4:59

GoogleCodeExporter commented 9 years ago

Original comment by samuelv0...@gmail.com on 24 Nov 2011 at 9:36