简体   繁体   中英

ARM register expected while compiling Android kernel

I am compiling cyanogenmod 12 for my device Samsung Galaxy Star Pro. When I compile the kernel within the cyanogenmod source, i get the following error:

ARM register expected -- `str r2,[ sp,#60 ]'

Here is the full output:

http://pastebin.com/ZM0cQpiq

And here is my kernel source:

https://github.com/regalstreak/S7262-Kernel

Thanks in advance guys!

Got the answer! Just had to remove the "wide space" from the line.

It was:

str r2, [ sp, #S_PC ]   @ bounce exception

Changed it to:

str r2, [ sp, #S_PC ] @ bounce exception

and the problem was fixed :P

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM