nasa / cFS

The Core Flight System (cFS)
Apache License 2.0
716 stars 218 forks source link

Error installing cFS bootes #275

Open kaushikvarma28 opened 3 years ago

kaushikvarma28 commented 3 years ago

Checklist (Please check before submitting)

Describe the bug Hi, I am trying to install cFS bootes and I am getting an error while installing it. I tried installing the cFS normal version and it installed successfully but, when I try bootes it is giving the error as shown below.

To Reproduce Steps I followed: git clone --recursive https://github.com/astrogeco/cFS.git cd cFS git checkout checksum-bootes-working export SIMULATION=native make prep make install (The error shows up here)

Code snips pi@raspberrypi:~/cFS $ make install make --no-print-directory -C "build" DESTDIR="/home/pi/cFS/build" mission-install [ 50%] Building C object tools/elf2cfetbl/CMakeFiles/elf2cfetbl.dir/elf2cfetbl.c.o In file included from /home/pi/cFS/cfe/modules/core_api/fsw/inc/cfe_tbl_extern_typedefs.h:41, from /home/pi/cFS/cfe/modules/core_api/fsw/inc/cfe_tbl_filedef.h:51, from /home/pi/cFS/tools/elf2cfetbl/elf2cfetbl.c:42: /home/pi/cFS/cfe/modules/core_api/fsw/inc/cfe_es_extern_typedefs.h:532:29: error: ‘CFE_MISSION_ES_CDS_MAX_FULL_NAME_LEN’ undeclared here (not in a function); did you mean ‘CFE_MISSION_ES_CDS_MAX_NAME_LEN’? char Name[CFE_MISSION_ES_CDS_MAX_FULL_NAME_LEN]; /< \brief Processor Unique Name of CDS */ ^~~~~~~~ CFE_MISSION_ES_CDS_MAX_NAME_LEN /home/pi/cFS/cfe/modules/core_api/fsw/inc/cfe_es_extern_typedefs.h:567:36: error: ‘CFE_MISSION_ES_POOL_MAX_BUCKETS’ undeclared here (not in a function); did you mean ‘CFE_MISSION_ES_PERF_MAX_IDS’? CFE_ES_BlockStats_t BlockStats[CFE_MISSION_ES_POOL_MAX_BUCKETS]; /*< \cfetlmmnemonic \ES_BLKSTATS ^~~~~~~ CFE_MISSION_ES_PERF_MAX_IDS make[4]: [tools/elf2cfetbl/CMakeFiles/elf2cfetbl.dir/build.make:63: tools/elf2cfetbl/CMakeFiles/elf2cfetbl.dir/elf2cfetbl.c.o] Error 1 make[3]: [CMakeFiles/Makefile2:638: tools/elf2cfetbl/CMakeFiles/elf2cfetbl.dir/all] Error 2 make[2]: [CMakeFiles/Makefile2:209: CMakeFiles/mission-install.dir/rule] Error 2 make[1]: [Makefile:227: mission-install] Error 2 make: [Makefile:123: install] Error 2

System observed on:

Reporter Info Name: Kaushik Varma Rudraraju College: Colorado State University

skliper commented 3 years ago

Looks like you are cloning from astrogeco's fork. You may have better luck using the bootes.x branch from the nasa repo and follow the quick-start instructions within that branch's README.md.

jphickey commented 3 years ago

That error is a mismatch between the "mission_cfg.h" and/or "platform_cfg.h" file and the version of CFE that you are attempting to compile.