Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't make Cyanida #1

Open
jack22 opened this issue Nov 8, 2010 · 6 comments
Open

Can't make Cyanida #1

jack22 opened this issue Nov 8, 2010 · 6 comments

Comments

@jack22
Copy link

jack22 commented Nov 8, 2010

When I want to make it I'll get this error:
mkdir -p payloads
make -C tools
gcc bin2c.c -o bin2c
make -C bundles
make -C iPad1,1
make -C 7B500
make -C iBSS
arm-elf-gcc -c ../../../../entry.S -o entry.o -I. -I./.. -I./../.. -I./../../../../include -nostdlib -mlittle-endian
../../../../entry.S: Assembler messages:
../../../../entry.S:65: Error: bad instruction push {r0-r12,lr}' ../../../../entry.S:67: Error: bad instructionlsr r5,#24'
../../../../entry.S:118: Error: bad instruction pop {r0-r12,pc}' ../../../../entry.S:137: Error: bad instructionpush {lr}'
../../../../entry.S:139: Error: bad instruction lsr r0,#24' ../../../../entry.S:172: Error: bad instructionpop {pc}'
make[4]: *** [entry.o] Error 1
make[3]: *** [all] Error 2
make[2]: *** [all] Error 2
make[1]: *** [all] Error 2
make: *** [all] Error 2

@posixninja
Copy link
Contributor

Looks like you don't have the toolchain compiled and installed correctly

@gamer765
Copy link

gamer765 commented Nov 9, 2010

how would one go about compiling the toolchain correctly. Currently, I am using the toolchain provided by OpenPWN.

@posixninja
Copy link
Contributor

Look in planetbeings iphonelinux project. There should be a folder called toolchain. Don't use the script. Instead follow the instructions in the file called TOOLCHAIN

@gamer765
Copy link

Can I use updated versions of the tools to build the toolchain or should I just stick with the ones provided in the instructions?

@ghost
Copy link

ghost commented Dec 2, 2010

i also get an error http://pastebin.com/Y1Y5ZhXg

@ghost
Copy link

ghost commented Dec 2, 2010

i have now got a new error
arm-elf-gcc -c ../../../../entry.S -o entry.o -I. -I./.. -I./../.. -I./../../../../include -nostdlib -mlittle-endian
:0:0: warning: "GNUC" redefined
:0:0: note: this is the location of the previous definition
:0:0: warning: "GNUC_MINOR" redefined
:0:0: note: this is the location of the previous definition
:0:0: warning: "GNUC_PATCHLEVEL" redefined
:0:0: note: this is the location of the previous definition
FATAL:/usr/bin/../libexec/gcc/darwin/x86_64/as: I don't understand 'E' flag!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants