当前位置: 技术问答>linux和unix
arm-linux-gcc交叉编译出错
来源: 互联网 发布时间:2016-10-02
本文导语: 在make的时候,出现如下错误: drivers/char/s3c_aes_fifo.S:2: Warning: ignoring changed section attributes for .text drivers/char/s3c_aes_fifo.S:8: Error: bad instruction `push {r4-r11}' drivers/char/s3c_aes_fifo.S:12: Error: bad instruction `ldm r0!,{r4-r11...
在make的时候,出现如下错误:
drivers/char/s3c_aes_fifo.S:2: Warning: ignoring changed section attributes for .text
drivers/char/s3c_aes_fifo.S:8: Error: bad instruction `push {r4-r11}'
drivers/char/s3c_aes_fifo.S:12: Error: bad instruction `ldm r0!,{r4-r11}'
drivers/char/s3c_aes_fifo.S:13: Error: bad instruction `stm r1!,{r4-r11}'
drivers/char/s3c_aes_fifo.S:18: Error: bad instruction `pop {r4-r11}'
drivers/char/s3c_aes_fifo.S:26: Error: bad instruction `push {r4-r11}'
drivers/char/s3c_aes_fifo.S:30: Error: bad instruction `ldm r0!,{r4-r11}'
drivers/char/s3c_aes_fifo.S:32: Error: bad instruction `stm r1!,{r4-r11}'
drivers/char/s3c_aes_fifo.S:36: Error: bad instruction `pop {r4-r11}'
为啥都不认识了呢;求解答。
drivers/char/s3c_aes_fifo.S:2: Warning: ignoring changed section attributes for .text
drivers/char/s3c_aes_fifo.S:8: Error: bad instruction `push {r4-r11}'
drivers/char/s3c_aes_fifo.S:12: Error: bad instruction `ldm r0!,{r4-r11}'
drivers/char/s3c_aes_fifo.S:13: Error: bad instruction `stm r1!,{r4-r11}'
drivers/char/s3c_aes_fifo.S:18: Error: bad instruction `pop {r4-r11}'
drivers/char/s3c_aes_fifo.S:26: Error: bad instruction `push {r4-r11}'
drivers/char/s3c_aes_fifo.S:30: Error: bad instruction `ldm r0!,{r4-r11}'
drivers/char/s3c_aes_fifo.S:32: Error: bad instruction `stm r1!,{r4-r11}'
drivers/char/s3c_aes_fifo.S:36: Error: bad instruction `pop {r4-r11}'
为啥都不认识了呢;求解答。
|
你的 gcc 版本似乎太低了点。
找个 高点的版本。 4 以后的试试。。
找个 高点的版本。 4 以后的试试。。
|
交叉编译环境没有设置好么?