planetbeing/iphonelinux

Failed to build newlib (stage: newlib_build)

calidion opened this issue · 6 comments

failed to build img by following the page http://wiki.github.com/planetbeing/iphonelinux/openiboot-installation
with the above error message.

Please be a little more specific on what the issue is. If you need to locate the build log file and find out exactly what your specific error is ... and your on linux,
/tmp/ipl-toolchain contains the current build. There should be a logfile containing errors. It is most likely that you are missing a lib, incorrectly configured or something.

OS is Ubuntu 9.04 .

it seems configuration is ok

eric@eric-laptop:/tmp/ipl-toolchain$ tail build.log
checking where to find the target nm... pre-installed
checking where to find the target objdump... pre-installed
checking where to find the target ranlib... pre-installed
checking where to find the target strip... pre-installed
checking where to find the target windres... pre-installed
checking whether to enable maintainer-specific portions of Makefiles... no
checking if symbolic links between directories work... yes
updating cache ./config.cache
creating ./config.status
creating Makefile

do this: sudo apt-get install texinfo
And then recompile

I believe that newlib depends on it for some reason. It installs makeinfo.
Oh, and make sure to remove the symlink .... /usr/local/bin/arm-elf-cc before recompiling or it will give you an error

Another Note: your going to need to grab the xpwn from planetbeing git repository as some of openiboot requires libcommon.a and libxpwn.a
Copy those into iphonelinux/mk8900image/

-- TO COMPILE XPWN
where ever you copy the git repo to, one directory down from xpwn make a directory called build and run cmake ./xpwn

if you dont have cmake, sudo apt-get install cmake

thanks, now i have failed to boot iphone now. i don't know if my iphone can be ok again.

due to the disconnection when it was rebooting

solved now:) thanks.