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

VxWorks build broken - missing include path for net/uio.h #181

Closed
skliper opened this issue Jul 24, 2020 · 2 comments · Fixed by nasa/cFE#786
Closed

VxWorks build broken - missing include path for net/uio.h #181

skliper opened this issue Jul 24, 2020 · 2 comments · Fixed by nasa/cFE#786
Labels
bug Something isn't working dependency

Comments

@skliper
Copy link
Contributor

skliper commented Jul 24, 2020

Describe the bug

[  1%] Building C object osal/vxworks_impl/CMakeFiles/osal_vxworks_impl.dir/src/os-impl-filesys.c.obj
In file included from /home/jhageman/cFS/cFS-GitHub/osal/src/os/vxworks/src/os-impl-filesys.c:43:
/opt/WindRiver/vxworks-6.9/target/h/ioLib.h:161:21: error: net/uio.h: No such file or directory

To Reproduce
Steps to reproduce the behavior:

  1. Set TGT1_SYSTEM to ppc-vxworks6.9 and try to build for mcp750

Expected behavior
Should build

Code snips
Old includes:

include_directories($ENV{WIND_BASE}/target/h/wrn/coreip)
include_directories($ENV{WIND_BASE}/target/config/mcp750)

Current:

include_directories(
${WIND_BASE}/target/config/mcp750
)

System observed on:

  • cFS vxworks host
  • OS: building for vxworks6.9
  • Versions: current bundle

Additional context
None

Reporter Info
Jacob Hageman - NASA/GSFC

skliper added a commit to skliper/PSP that referenced this issue Jul 24, 2020
@skliper skliper added the bug Something isn't working label Jul 24, 2020
@jphickey
Copy link
Contributor

I looked into this to see why it hadn't failed for me, and it turns out I had a local change in my toolchain file for this, which never got into a cFE pull request.

Basically - the $ENV{WIND_BASE}/target/h/wrn/coreip directory is more of a VxWorks path, it is not specific to the MCP750 - so it doesn't really belong in the MCP750 PSP. Putting it here does work but it might be better/more appropriate to put this in the toolchain-ppc-vxworks6.9.cmake file instead.

@skliper
Copy link
Contributor Author

skliper commented Aug 21, 2020

Closed by #786

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working dependency
Projects
None yet
3 participants