tomxiong / iphonedevonlinux

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

Failed to make HelloToolchain example using iphone sdk 2.2.1 #11

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. when building the toolchain I got lot of errors like these:
cp: cannot 
stat /home/usr/Projects/iphone/toolchain/files/darwin_sources/DiskArbitrati
on-*/DiskArbitration/*.h': No such file or directory
iokit
cp: cannot stat 
`/home/user/Projects/iphone/toolchain/files/darwin_sources/xnu-
*/iokit/IOKit': No such file or directory
cp: cannot stat 
`/home/user/Projects/iphone/toolchain/files/darwin_sources/IOKitUser-
*/*.h': No such file or directory
cp: cannot stat 
`/home/user/Projects/iphone/toolchain/files/darwin_sources/IOGraphics-
*/IOGraphicsFamily/IOKit/graphics': No such file or directory

and more errors like these: 
WebCore
sh: gperf: not found
Applying patches...
~/Projects/iphone/toolchain/toolchain/sys/usr/include 
~/Projects/iphone/toolchain/toolchain/sys
can't find file to patch at input line 3
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- /usr/include/Security/Authorization.h      2008-02-19 
11:34:25.000000000 +0000
|+++ /usr/include/Security/Authorization.h      2008-03-24 
11:07:40.000000000 +0000
--------------------------
File to patch:
Skipping patch

2. build finally completed successfully as it said.
3. Failed to compile HelloToolchain example but the HelloWorldFirst 
example compiles fine.
4. the error message from make command: 
sys/usr/include/LaunchServices/LSSharedFileList.h:379: error: expected 
declaration specifiers or ‘...’ before ‘AuthorizationRef’
make: *** [HelloToolchain.o] Error 1

What version of the product are you using? On what operating system?
Toolchain: Downloaded latest toolchain/trunk on 03/12/09.
OS is: Linux ubuntu 2.6.27-11-generic #1 SMP Thu Jan 29 19:24:39 UTC 2009 
i686 GNU/Linux
iphone sdk: iphone_sdk_for_iphone_os_2.2.19m2621afinal

Original issue reported on code.google.com by hhs...@hotmail.com on 13 Mar 2009 at 3:16

GoogleCodeExporter commented 8 years ago
It looks like the step ./toolchain.sh darwin_sources failed. Could you try 
again this
command? It could have been failed due to download errors or a failing 
authentication
on daw.apple.com

Original comment by toeloo...@googlemail.com on 13 Mar 2009 at 6:44

GoogleCodeExporter commented 8 years ago
I actually already tried redownloading darwin_sources and now it works fine and 
the 
HelloToolchain example compiles with no errors and also was able to run it on 
my 
iphone.
I must have mistyped my apple ID and/or password.
Thanks very much for your quick response.

Original comment by hhs...@hotmail.com on 13 Mar 2009 at 7:42

GoogleCodeExporter commented 8 years ago
Ok, I close this issue.

Original comment by toeloo...@googlemail.com on 14 Mar 2009 at 5:15