Skip to content

Build instructions in top level README are incorrect #351

@waheedejaz

Description

@waheedejaz

Describe the bug
Followed the build steps as in the README file but the build is not successfull.

Error:
waheeed@ubuntu:~/Lifi/osal/build$ make make -C tests make[1]: Entering directory '/home/waheeed/Lifi/osal/build/tests' make -C bin-sem-flush-test make[2]: Entering directory '/home/waheeed/Lifi/osal/build/tests/bin-sem-flush-test' gcc -I/home/waheeed/Lifi/osal/src/inc -I/home/waheeed/Lifi/osal/src/os/inc -I/home/waheeed/Lifi/osal/src/tests/bin-sem-flush-test -I/home/waheeed/Lifi/osal/src/../ut_assert/inc -I../../inc -D_EL -DENDIAN=_EL -DSOFTWARE_LITTLE_BIT_ORDER -D__ix86__ -D_ix86_ -D_LINUX_OS_ -Dposix -DX86PC -DBUILD= -D_REENTRANT -D _EMBED_ -D_XOPEN_SOURCE=600 -Wall -pedantic -std=c99 -Wstrict-prototypes -O1 -DOS_DEBUG_LEVEL=3 -c -o osapi.o /home/waheeed/Lifi/osal/src/os/posix/osapi.c In file included from /home/waheeed/Lifi/osal/src/os/posix/osapi.c:27:0: /home/waheeed/Lifi/osal/src/os/posix/os-posix.h:42:10: fatal error: os-impl.h: No such file or directory #include "os-impl.h" ^~~~~~~~~~~ compilation terminated.

To Reproduce
Steps to reproduce the behavior:

  1. Clone the latest build 5.3 (15-Jan-2020 )or the commit 781992c
  2. Follow the build steps as mentioned in the README file
  3. source setvars.sh
  4. cd build
  5. make config
  6. make

Expected behavior
Successful build

Code snips
If applicable, add references to the software.

System observed on:

  • Hardware: PC-linux
  • OS: [Ubuntu 18.04]
  • Versions [OSAL_5.3]

Additional context
Add any other context about the problem here.

Reporter Info
Waheed Ejaz

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions