I have known the reason why I built failed, I used the wrong toolchain(the toolchain is 64 bits, but my desktop is 32 bits). Then I downloaded the 3.4.3 toolchain. It made some progress in building, but there were some errors. The error info is below:
make[4]: Entering directory `/home/xuchenyu/test/osmocom-bb/src/shared/libosmocore/build-target/src' CC msgb.lo In file included from ../../include/osmocore/msgb.h:23, from ../../src/msgb.c:27: ../../../../target/firmware/include/stdint.h:13:25: stdint.h: No such file or directory make[4]: *** [msgb.lo] Error 1 make[4]: Leaving directory `/home/xuchenyu/test/osmocom-bb/src/shared/libosmocore/build-target/src' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/home/xuchenyu/test/osmocom-bb/src/shared/libosmocore/build-target/src' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/home/xuchenyu/test/osmocom-bb/src/shared/libosmocore/build-target' make[1]: *** [all] Error 2 make[1]: Leaving directory `/home/xuchenyu/test/osmocom-bb/src/shared/libosmocore/build-target' make: *** [shared/libosmocore/build-target/src/.libs/libosmocore.a] Error 2
I think it missed some C library head files(c99), how do I include these missing head files? What will happen if I include the desktop 's C lib head?
Thanks!!