Giter Club home page Giter Club logo

Comments (9)

skliper avatar skliper commented on July 18, 2024

-D_XOPEN_SOURCE=600

from elf2cfetbl.

skliper avatar skliper commented on July 18, 2024

@BaldBeacon please confirm if this define works or not

from elf2cfetbl.

jphickey avatar jphickey commented on July 18, 2024

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.

skliper avatar skliper commented on July 18, 2024

I read this as an attempt to build independent of cFE.

from elf2cfetbl.

BaldBeacon avatar BaldBeacon commented on July 18, 2024

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.

skliper avatar skliper commented on July 18, 2024

What's your cFE version?

from elf2cfetbl.

skliper avatar skliper commented on July 18, 2024

oh.. 6.7.11? Do a make VERBOSE=1 and see what's defined...

from elf2cfetbl.

jphickey avatar jphickey commented on July 18, 2024

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.

BaldBeacon avatar BaldBeacon commented on July 18, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.