Closed pspoerri closed 8 years ago
It doesn't compile on the pine64, if the 'extern' declaration is present (the extern reference was never resolved), so I removed it, see here.
Which gcc version are you using?
I was using aarch64-linux-gnu-gcc (4.9.2-10) 4.9.2
on Debian. I'll see how it behaves on Arch Linux. It's also a bit unclear to me on how the extern
behaves in this case.
combining __inline
(aka assembler code generation) and extern
(refer to a library function) doesn't make much sense IMHO.
I'm using gcc version 5.3.1-12 on the PINE64 with Debian Jessie.
Well, i am using gcc 5.2 and it compiled as it is now. Closing as no further feedback - i suggest you update your tool chain.
Compiling the linux-pine64 kernel in a debian arm cross-compilation environment produced the following error:
To resolve this issue I had to add an extern in the
__inline
functions:in
Could it be that
__inline
is not defined? Or am I using the wrong build environment?