<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt"><div>Hi list,</div><div>Yesterday when I tried to to make a new build of sylvain/testing  I encountered following errors when running make(and also when running make HOST_layer23_CONFARGS=--enable-transceiver):</div><div>--------------------------------------</div><div>make -C target/firmware CROSS_COMPILE=arm-elf-<br>make[1]: Entering directory `/root/osmocom-bb/src/target/firmware'<br>apps/trx/trx.c:22:22: inttypes.h: No such file or directory<br>make[1]: Leaving directory `/root/osmocom-bb/src/target/firmware'<br>make[1]: Entering directory `/root/osmocom-bb/src/target/firmware'<br>apps/trx/trx.c:22:22: inttypes.h: No such file or directory<br>make[1]: *** No rule to make target `apps/trx/trx.p', needed by `all'.  Stop.<br>make[1]: Leaving directory `/root/osmocom-bb/src/target/firmware'<br>make: *** [firmware] Error
 2</div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: times new roman,new york,times,serif; background-color: transparent; font-style: normal;">-------------------------------------------<br></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: times new roman,new york,times,serif; background-color: transparent; font-style: normal;"><br></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: times new roman,new york,times,serif; background-color: transparent; font-style: normal;">Master branch builds fine on backtrack 5 r2  and so did also Sylvain/testing earlier. Searching mailing-list gives  some info that removing inttypes.h can be done as that "is taken care of by upstrean libosmocore".However I have read that inntypes.h should exist.</div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: times new roman,new york,times,serif; background-color: transparent; font-style: normal;">I
 tested and removed inttypes.h in trx/trx.c. Recompiling gives an error message about parse error before debug-message PRIu32 on line 69 in trx/trx.c. Commenting out that line makes it build, but as info obtained earlier I now guess I have also removed some key-functionality and my approach is wrong?</div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: times new roman,new york,times,serif; background-color: transparent; font-style: normal;"><br></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: times new roman,new york,times,serif; background-color: transparent; font-style: normal;">Further searching gave some unclear/vague(mostly for other situations) hints that the line  #include <inttypes.h> could be replaced by:</div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: times new roman,new york,times,serif; background-color: transparent; font-style: normal;">#ifdef HAVE_STDINT_H</div><div
 style="color: rgb(0, 0, 0); font-size: 16px; font-family: times new roman,new york,times,serif; background-color: transparent; font-style: normal;">#include <stdint.h></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: times new roman,new york,times,serif; background-color: transparent; font-style: normal;">#else</div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: times new roman,new york,times,serif; background-color: transparent; font-style: normal;">#include <include <inttypes.h></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: times new roman,new york,times,serif; background-color: transparent; font-style: normal;">#endif</div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: times new roman,new york,times,serif; background-color: transparent; font-style: normal;">I tested replacing #include <inttypes.h>  by the abovein trx.c also but it didn't work.</div><div
 style="color: rgb(0, 0, 0); font-size: 16px; font-family: times new roman,new york,times,serif; background-color: transparent; font-style: normal;">Any ideas or hints what migh be wrong? <br></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: times new roman,new york,times,serif; background-color: transparent; font-style: normal;">Enclosed is the full build-error-log from running without making any changes to inttypes.h.</div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: times new roman,new york,times,serif; background-color: transparent; font-style: normal;">Regards</div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: times new roman,new york,times,serif; background-color: transparent; font-style: normal;">erich<br></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: times new roman,new york,times,serif; background-color: transparent; font-style: normal;"><br></div></div></body></html>