Comments (9)
-D_XOPEN_SOURCE=600
from elf2cfetbl.
@BaldBeacon please confirm if this define works or not
from elf2cfetbl.
The _XOPEN_SOURCE=600 should be already included for all tools if using the supplied example mission_build_custom.cmake
file in your CFE config, so I'm curious if this was somehow missing?
from elf2cfetbl.
I read this as an attempt to build independent of cFE.
from elf2cfetbl.
Sorry if I wasn't specific enough. This was building with the default options present in the cmake directory of the CFE. I tried my best to find the bare minimum to show the problem.
When you tried this out did you have usr/include/linux
in your link paths for GCC somehow?
from elf2cfetbl.
What's your cFE version?
from elf2cfetbl.
oh.. 6.7.11? Do a make VERBOSE=1 and see what's defined...
from elf2cfetbl.
When building CFE, did you recycle an existing sample_defs
directory or did you copy the sample from CFE again? We do update the example from time to time, and this would be included.
However, given that the build actually fails without this, maybe we should be forcing this definition rather than relying on a user-controlled file to provide it. That presents another challenge, however, because its really a glibc thing and its different if you are building on BSD/Cygwin/MacOS/etc.
from elf2cfetbl.
When building CFE, did you recycle an existing sample_defs directory
I was using our previous version and it looks like _XOPEN_SOURCE=600 snuck it's way into the mission config. Adding that resolves the issue so I'll close this.
from elf2cfetbl.
Related Issues (20)
- RST-IVV-179: ICDH Build 2: cFS Tool Contains Potentially Null Pointers that are De-referenced in Function HOT 2
- RST-IVV-177: ICDH Build 2: cFS Tool “elf2cfetbl” Experiences a Buffer Overflow when the Section Header Description Exceeds 60 Characters HOT 2
- Apply latest copyright header
- CodeQL Workflow Broken due to Name Change
- Uninitialized variable static analysis warning
- CMake script refers to obsolete path
- Poorly documented file
- Remove C++-style comments
- Variables declared mid-function
- ProcessCmdLineOptions - cyclomatic complexity of 45
- GetElfHeader - cyclomatic complexity of 36
- GetSectionHeader - cyclomatic complexity of 35
- LocateAndReadUserObject - cyclomatic complexity of 29
- main - cyclomatic complexity of 21
- References to time members in CFE_FS_Header_t should be converted to CFE_TIME_SysTime_t
- Inconsistent prototype in elf2cfetbl.c : OutputDataToTargetFile HOT 1
- Update Versioning System
- Does not build without feature test macro set externally
- Add CMake and other helper scripts needed to build CFE tables
- Include processor ID and spacecraft ID in generated table files
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from elf2cfetbl.