iPhone Open Application Development
iPhone Open Application Development Write Native Objective-C Applications for the iPhone

By Jonathan A. Zdziarski
Book Price: $39.99 USD
£24.99 GBP
PDF Price: $27.99

Cover | Table of Contents | Forum | Colophon


Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
Make Llvm_version_info= 2.0-svn-iphone-dev-0.3-svn Problem
stu_
post Apr 22 2008, 11:29 PM
Post #1


New Member
*

Group: Members
Posts: 6
Joined: 22-April 08
Member No.: 246



Hi, I am executing the process to build the tool chain for leopard, the latest Xcode and firmware 1.1.4. Everything builds fine until the make LLVM_VERSION_INFO=2.0-svn-iphone-dev-0.3-svn

Here I ALWAYS see this:

[snip]
*, unsigned int> >(int, std::pair<llvm::Type const*, unsigned int>*)in libLLVMBitWriter.a(ValueEnumerator.o)
ld: symbol(s) not found
collect2: ld returned 1 exit status
make[1]: *** [cc1-dummy] Error 1
make: *** [all-gcc] Error 2

I just can't figure out how to build this cleanly. As far as I see I have follow all available help/wikis/forums etc. but can't fix his problem.

Thanks in advance for nay help.
Go to the top of the page
 
+Quote Post
jzdziarski
post Apr 25 2008, 04:53 PM
Post #2


Active Member
**

Group: Members
Posts: 24
Joined: 1-April 08
Member No.: 187



There seem to be two leading causes on this board for people failing to build the tool chain. The first is not following the instructions precisely. The second is having a bad Xcode installation. If you are certain of the first, try uninstalling, then re-installing Xcode and see if that fixes things. If not, Check and make sure you didn't miss an export or another command, and make sure you checked out the proper revision of LLVM as noted in the book.

There are also binary installations of the tool chain for Leopard at http://www.zdziarski.com/iphone/
Go to the top of the page
 
+Quote Post
stu_
post Apr 25 2008, 08:16 PM
Post #3


New Member
*

Group: Members
Posts: 6
Joined: 22-April 08
Member No.: 246



QUOTE (jzdziarski @ Apr 25 2008, 05:53 PM) *
There seem to be two leading causes on this board for people failing to build the tool chain. The first is not following the instructions precisely. The second is having a bad Xcode installation. If you are certain of the first, try uninstalling, then re-installing Xcode and see if that fixes things. If not, Check and make sure you didn't miss an export or another command, and make sure you checked out the proper revision of LLVM as noted in the book.

There are also binary installations of the tool chain for Leopard at http://www.zdziarski.com/iphone/


I assure you I have followed the instructions to the letter. Many times. For the Xcode, I have downloaded and installed the Beta 2 and Beta 3. Removed the Beta 3 via unstall scripts as part of the Xcode install, then reinstalled again.

What leads to a bad Xcode install?

I am on a Macbook, have a pwned 1.1.4 phone, Leopard and gmp and mpfr installed via Darwin ports.

I guess I need to know about pre-requisites to the install, the users $PATH, version of firmware, OS and whether or not pwning makes a difference.

I will checkout your link though. Thanks.

This post has been edited by stu_: Apr 25 2008, 08:17 PM
Go to the top of the page
 
+Quote Post
jzdziarski
post Apr 26 2008, 03:54 AM
Post #4


Active Member
**

Group: Members
Posts: 24
Joined: 1-April 08
Member No.: 187



Try Xcode 3.0 - the Apple SDK is beta. It is bound to have issues.
Go to the top of the page
 
+Quote Post
stu_
post Apr 28 2008, 01:59 PM
Post #5


New Member
*

Group: Members
Posts: 6
Joined: 22-April 08
Member No.: 246



QUOTE (jzdziarski @ Apr 26 2008, 04:54 AM) *
Try Xcode 3.0 - the Apple SDK is beta. It is bound to have issues.


Xcode 3.0 resulted in the same thing. I am pretty sure its not Xcode. Still I resorted to downloading your tarball with the arm-apple-darwin-gcc in it and I can progress which is the main thing... Have now got as far as Hello World...

It is very frustrating though that I can't build my on toolchain as I would like to do the other things such as integrate it will the iPhone SDK etc...
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 

RSS Lo-Fi Version Time is now: 16th May 2008 - 12:41 PM