Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error installing cFS bootes #275

Open
2 tasks done
kaushikvarma28 opened this issue Jun 23, 2021 · 2 comments
Open
2 tasks done

Error installing cFS bootes #275

kaushikvarma28 opened this issue Jun 23, 2021 · 2 comments
Labels

Comments

@kaushikvarma28
Copy link

kaushikvarma28 commented Jun 23, 2021

Checklist (Please check before submitting)

  • I reviewed the Contributing Guide.
  • I performed a cursory search to see if the bug report is relevant, not redundant, nor in conflict with other tickets.

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:

  • Hardware: Raspberry pi 4
  • OS: Raspbian

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

@skliper
Copy link
Contributor

skliper commented Jun 23, 2021

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
Copy link
Contributor

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.

  • you should use the bootes.x branch from the official repo as noted in previous comment
  • check the "cfe/cmake/sample_defs" directory and at least compare to the one you are currently using. If you are upgrading from an older release e.g. acquila, then note that some config items are new in bootes and others were removed. You'll have to update your config to reflect this. If you attempt to build bootes directly with a config from an older version, you'll likely get compile errors like the one shown.

Jkillelea pushed a commit to Jkillelea/cFS that referenced this issue Jun 28, 2021
nasa/cFE#1237 - Fix #1180, Removes impossible conditions
nasa/cFE#1240 - Fix #1002, Remove deprecated elements
nasa/cFE#1253 - Fix #1252, Squash potentially uninitialized variable warnings
nasa/cFE#1241 - Fix #1185, Squash possible uninitialized variable false alarms
nasa/cFE#1247 - Fix #1246, Typo in CFE_TBL_Validate AppName
nasa/cFE#1234 - Fix #1192, Initialize TotalMsgSize in CFE_SB_GetUserDataLength
nasa/cFE#1245 - Fix #1187, Increment CreatePipeErrorCounter for all create pipe errors
nasa/cFE#1236 - Fix #1186, Remove useless assignments/checks
nasa/cFE#1237 - Fix #1180, Removes impossible conditions
nasa/cFE#1240 - Fix #1002, Remove deprecated elements
nasa/cFE#1253 - Fix #1252, Squash potentially uninitialized variable warnings
nasa/cFE#1241 - Fix #1185, Squash possible uninitialized variable false alarms
nasa/cFE#1247 - Fix #1246, Typo in CFE_TBL_Validate AppName
nasa/cFE#1234 - Fix #1192, Initialize TotalMsgSize in CFE_SB_GetUserDataLength
nasa/cFE#1245 - Fix #1187, Increment CreatePipeErrorCounter for all create pipe errors
nasa/cFE#1236 - Fix #1186, Remove useless assignments/checks
nasa/cFE#1262 - Fix #1239, scrub include header guards
nasa/cFE#1256 - Fix #1194, check for NULL in SlotUsed helpers
nasa/cFE#1263 - Fix #1261, removed redundant checks for CFE_SUCCESS
nasa/cFE#1250 - Fix #1215, remove task registration calls
nasa/cFE#1242 - Fix #1223, shorten TestRunner function name
nasa/cFE#1242 - Fix #1264, Convert functional test startup script example to use "simple" filenames
nasa/cFE#1229 - Fix #1164, use FS file name parser for commands
nasa/cFE#1257 - Fix #1155, clean up zero copy API
nasa/cFE#1254 - Fix #1181, global variable cleanup
nasa/cFE#1255 - Fix #1206, report PSP version in ES HK TLM
nasa/cFE#1271 - Fix #1270, limit check in pool validation
nasa/cFE#1268 - Fix #1267, add null pointer check
nasa/cFE#1268 - Fix #1269, replace CFE_ES_ERR_BUFFER return for invalid null pointer arguments
nasa/cFE#1260 - Fix #1259, adds --branch-coverage option to genhtml line in lcov Makefile rule

nasa/osal#878 - Fix #843, remove BIG/LITTLE bit order macros
nasa/osal#918 - Fix #846, Minor clean up and clarification in comments/namin
nasa/osal#923 - Fix #831, Finish os-impl-bsd-socket.c coverage testing
nasa/osal#915 - Fix #888, better return codes from OS_SymbolTableDump_Impl
nasa/osal#926 - Fix #853, remove OS_TaskRegister
nasa/osal#935 - Fix #934, Remove unused SCRIPT_MODE flag
nasa/osal#930 - Fix #929, use test function for osal_id_t

nasa/PSP#276 - Fix nasa#275, Adds a UT stub for CFE_PSP_GetKernelTextSegmentInfo
nasa/PSP#278 - Fix nasa#277, add version file

nasa/ci_lab#83 - Fix nasa#82, remove app registration
nasa/ci_lab#84 - Fix nasa#73, use zero copy API

nasa/sample_app#139 - Fix nasa#138, remove app registration
nasa/sample_app#143 - Fix nasa#142, scrub header guards

nasa/sch_lab#75 - Fix nasa#74, remove app registration

nasa/to_lab#96 - Fix nasa#95, remove app registration
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants