-1

Im using linux tumbleweed machine and im using u-boot (last realease) and gcc linaro for armv7 (gcc-linaro-12.3.1-2023.06-x86_64_arm-linux-gnueabihf). When I tried to cross compile the u-boot for arm i got this error:

`    CC      cmd/pxe.o
    CC      cmd/setexpr.o
    include/ctype.h:1:1: error: expected identifier or ‘(’ before numeric constant
  1 | linux/ctype.h
    | ^~~~~
     make[1]: *** [scripts/Makefile.build:257: cmd/setexpr.o] Error 1
     make: *** [Makefile:1863: cmd] Error 2`

the error is in the u-boot --->include---->linux and the fie is ctype.h but didn't see anything strange there. I search in google the error but found that "maybe" is due to variable being define on other place or something along those lines. I can cross compile the linux kernel and buildroot without any problems, but u-boot keeps throwing error. Any help? regards GAstón

1)search on google the same error 2)look for '(' not being closed on the file with error

0 Answers0