AnsweredAssumed Answered

Singlely compile  the kernel from the SDK2.0

Question asked by liu bo on Sep 4, 2016
Latest reply on Sep 12, 2016 by Pavel Chubakov

When I get the kernel from the address QorIQ-SDK-V2.0-20160527-yocto/build_ls1043ardb/tmp/work/ls1043ardb-fsl-linux/linux-qoriq/4.1-r0/git, Icompile it singlely by  make ARCH=arm64 CROSS_COMPILE=/opt/aarch64_eabi_cgslv5.1_gcc4.8.3_glibc2.17.0_fp/bin/aarch64-unknown-linux-gnueabi- all, but run into a problem, which is the following content:

drivers/staging/fsl_rman/rman_uio_driver.c: In function ‘rman_uio_irq_handler’:
drivers/staging/fsl_rman/rman_uio_driver.c:122:2: error: implicit declaration of function ‘in_be32’ [-Werror=implicit-function-declaration]
status = in_be32(rmdev->global_regs + MMEDR);
drivers/staging/fsl_rman/rman_uio_driver.c:126:3: error: implicit declaration of function ‘out_be32’ [-Werror=implicit-function-declaration]
out_be32(rmdev->global_regs + MMIER, 0);
cc1: some warnings being treated as errors
make[3]: *** [drivers/staging/fsl_rman/rman_uio_driver.o] error 1
make[2]: *** [drivers/staging/fsl_rman] error 2
make[1]: *** [drivers/staging] error 2
make: *** [drivers] error 2


I search the similar problem on the Internet, most of them hold the viewpoint that the problem is caused by lacking of header file, but I added all the header file that relevance of the function ‘in_be32’, the problem is still exist, therefore I hope get help from you.


Thanks in advance,