Downloaded the updated toolchain and toolchain.sh provided by denis.fr...@laposte.net in the comments section.
Managed to get farther this time using the following instructions from the user comments:
Quote
1. mkdir -p toolchain/pre/bin -- for installing ldid
2. mkdir -p toolchain/src -- for script mv odcctools to src dir
3. modify cctools2odcctools/extract.sh and insert "cp files/misc/Makefile.in ${DISTDIR}/misc/Makefile.in" -- the extract.sh script try to patch none existing file
2. mkdir -p toolchain/src -- for script mv odcctools to src dir
3. modify cctools2odcctools/extract.sh and insert "cp files/misc/Makefile.in ${DISTDIR}/misc/Makefile.in" -- the extract.sh script try to patch none existing file
Quote
With some fiddling, I'm making progress. I changed the toolchain.sh so that the cctools configure explicitly says --disable-ld64
Quote
gone a little deeper in the script ./extract.sh, and found my problem. On my Ubuntu, /bin/sh is linked to /bin/dash, and in this interpreter, there is no pushd/popd command. In my case, replacing #!/bin/sh by #!/bin/bash at beginning of extrash.sh did the trick.
At some point I got this error message:
configure: error: No uuid_generate_random function found
So I had to install uuid and uuid-dev:
apt-get install uuid uuid-dev
Then I finally got that last error mentioned on the hungarian site, translated by google:
Quote
But in the fourth command (. / Build toolchain.sh) will NOT work: lots of downloads and SVN, GIT and patch file and pressing checkout you will receive an error message after: building odcctools failed. This "normal" is because of the defective part toolchain source code. Solution: go into the ~ / ios-toolchain/toolchain/src/cctools/ld64/src folder and then add them all in there. HPP shall file extensions (for example, can be solved by placing the code to the clipboard, and HPP *. gedit command)
So I added the following to the beggining of every HPP file in cctools/ld64/src folder:
// PATCH is to work with the build - by H2CO3, 18/12/2010 #import <cstdio> #import <cstdlib> #import <climits> // end of PATCH
But now I'm getting several errors like these:
Quote
/usr/toolchain4/toolchain/toolchain/src/cctools/ld64/src/MachOReaderRelocatable.hpp:182:2: error: invalid use of incomplete type âstruct mach_o::relocatable::Reference<A>::Reference(mach_o::relocatable::Reference<A>::Kinds, const mach_o::relocatable::AtomAndOffset&, const char*, uint32_t) [with A = x86_64, mach_o::relocatable::Reference<A>::Kinds = x86_64::ReferenceKinds, uint32_t = unsigned int]::BaseAtomâ
/usr/toolchain4/toolchain/toolchain/src/cctools/ld64/src/MachOReaderRelocatable.hpp:182:2: error: declaration of âstruct mach_o::relocatable::Reference<A>::Reference(mach_o::relocatable::Reference<A>::Kinds, const mach_o::relocatable::AtomAndOffset&, const char*, uint32_t) [with A = x86_64, mach_o::relocatable::Reference<A>::Kinds = x86_64::ReferenceKinds, uint32_t = unsigned int]::BaseAtomâ
/usr/toolchain4/toolchain/toolchain/src/cctools/ld64/src/MachOReaderRelocatable.hpp:182:2: error: declaration of âstruct mach_o::relocatable::Reference<A>::Reference(mach_o::relocatable::Reference<A>::Kinds, const mach_o::relocatable::AtomAndOffset&, const char*, uint32_t) [with A = x86_64, mach_o::relocatable::Reference<A>::Kinds = x86_64::ReferenceKinds, uint32_t = unsigned int]::BaseAtomâ
Any idea of what may be wrong this time?
This post has been edited by sl0t: 29 November 2011 - 01:58 PM

Sign In »
Register Now!
Help
Back to top










