wpadami-forks / iphone-dev

Automatically exported from code.google.com/p/iphone-dev
0 stars 0 forks source link

OS 10.5.4 and hacked iphone 2.0 #151

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Followed the instruction
here:http://code.google.com/p/iphone-dev/wiki/Building
2. Added step: export INCPRIVEXT="-isysroot
/Developer/SDKs/MacOSX10.4u.sdk" prior to the build of odcctools

3. Added step: sudo ln -s /usr/local/arm-apple-darwin/lib/crt1.o
/usr/local/arm-apple-darwin/lib/crt1.10.5.o
sudo ln -s /usr/local/arm-apple-darwin/lib/dylib1.o
/usr/local/arm-apple-darwin/lib/dylib1.10.5.o

to solve the problem :/usr/local/bin/arm-apple-darwin-ld: warning unknown
-macosx_version_min parameter value: 10.5.0 ignored (using 10.1)

What is the expected output? What do you see instead?

What version of the product are you using? On what operating system?
Using Mac OSX 10.5.4, Jailbroken iPhone 2.0

Please provide any additional information below.
 I have tried several times still cant make it work. Any one could help?

Original issue reported on code.google.com by sftm...@gmail.com on 13 Aug 2008 at 5:16

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
When make LLVM_VERSION_INFO=2.0-svn-iphone-dev-0.3-svn 
I get the error:
/usr/local/bin/arm-apple-darwin-ld:
/usr/local/share/iphone-filesystem/usr/lib/libc.dylib load command 7 unknown 
cmd field
collect2: ld returned 1 exit status
make[2]: *** [libgcc_s.dylib] Error 1
make[1]: *** [stmp-multilib] Error 2
make: *** [all-gcc] Error 2

Original comment by sftm...@gmail.com on 13 Aug 2008 at 5:39

GoogleCodeExporter commented 8 years ago
I got same issue. my iphone firmware version is 2.0.1

Original comment by xqte...@gmail.com on 13 Aug 2008 at 6:00

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
same here... my iphone firmware is 2.0...

any help???

/usr/local/bin/arm-apple-darwin-ld: 
/usr/local/share/iphone-filesystem/lib/libc.dylib load command 7 
unknown cmd field
collect2: ld returned 1 exit status
make[2]: *** [libgcc_s.dylib] Error 1
make[1]: *** [stmp-multilib] Error 2
make: *** [all-gcc] Error 2

this is the error i got :(

Original comment by i.D3...@gmail.com on 19 Aug 2008 at 1:17

GoogleCodeExporter commented 8 years ago
Yep, I'm getting the same thing, exactly.  Firmware is 2.0.  Out of curiosity, 
how
are you guys getting the iPhone file system on to your computers?  I used the 
latest
version of pwnage.  I have the iphone 2.0 ipsw file from the first gen iPhone 
and
when I used pwnage I clicked on the first gen iPhone and not the 3G.  I wonder 
if any
of you did the same?

Also, during this whole process of getting the toolchain up and running, I 
already
have the final version of the iPhone sdk installed.

Hopefully some of that info helps...

Original comment by devi...@gmail.com on 24 Aug 2008 at 4:34

GoogleCodeExporter commented 8 years ago
Those of you seeing "libc.dylib load command 7 unknown cmd field" should see 
this
previous post - http://code.google.com/p/iphone-dev/issues/detail?id=141.  The 
issue
is with the version of the MacOSX SDK you are compiling against.

Original comment by max.e.st...@gmail.com on 24 Aug 2008 at 7:41

GoogleCodeExporter commented 8 years ago
Thanks Max.  Perhaps I'm doing something wrong because it still doesn't work. 
Here are my steps:

i navigate to /iphone-dev/llvm-gcc-4.0-iphone/gcc/config/arm 

i type in patch < lib1funcs.asm.diff, it patches the file successfully.

i run the configure string one more time 

../../llvm-gcc-4.0-iphone/configure --enable-llvm=`llvm-config --obj-root` \
--enable-languages=c,c++,objc,obj-c++ --target=arm-apple-darwin
--enable-sjlj-exceptions \
--with-heavenly=$HEAVENLY --with-as=/usr/local/bin/arm-apple-darwin-as \
--with-ld=/usr/local/bin/arm-apple-darwin-ld --enable-wchar_t=no

and then I run the make line one more time
make LLVM_VERSION_INFO=2.0-svn-iphone-dev-0.3-svn 

at the end of this i still see the same error as before. Did I miss something?

Thanks

i run the make 

Original comment by devi...@gmail.com on 24 Aug 2008 at 10:40

GoogleCodeExporter commented 8 years ago
has anyone successful made this work yet ?

Original comment by arreolae...@gmail.com on 26 Aug 2008 at 8:40

GoogleCodeExporter commented 8 years ago
nope, still no luck...

Original comment by devi...@gmail.com on 27 Aug 2008 at 11:55

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
Ya, me neither,

For information:
I have the same problem with tiger 10.4.11 and jailbroken Firmware 2.0.2 
I took the iphone filesystem by scp:
- Frameworks/
- PrivateFrameworks/
- usr/Lib

Original comment by cyrille....@gmail.com on 11 Sep 2008 at 2:53