Header missing

Gedare Bloom gedare at rtems.org
Fri Jul 10 15:10:32 UTC 2020


On Fri, Jul 10, 2020 at 9:08 AM Gedare Bloom <gedare at rtems.org> wrote:
>
> On Fri, Jul 10, 2020 at 9:01 AM Daniela Oliveira <oliveiradad at gmail.com> wrote:
> >
> > > Hi guys,
> >
> > >
> >
> > >
> >
> > > What is your OS, and how did you set up Eclipse?
> >
> > >
> >
> > > I’m using the Linux CentOS 7, in VMWare 15.5 .
> >
> Thanks that is helpful.
>
> > > Eclipse:
> >
> > > Cross Settings:
> >
> > > Prefix: sparc-rtems5-
> >
> > > Path: /opt/rtems/5/bin
> >
> > > Includes: “${RTEMS_MAKEFILE_PATH}/lib/include”
> >
> > >
> >
> > > Also, are you using the RTEMS-5 release download? Can you send where you got it from?
> >
> > > Yeah, I’ve downloaded from git.rtems.org/rtems
> >
>
> Do you have the exact command or download by chance?
>
> The RTEMS-5 release is at
> https://ftp.rtems.org/pub/rtems/releases/5/rc/5.1.0-rc1
>
> It contains a self-describing readme.
>
> The git.rtems.org/rtems.git has a branch for rtems 5 that would need
> to be checked out in order to build properly, then you would use the
> directions of the quick start, e.g.,:
> git clone git://git.rtems.org/rtems.git
> cd rtems
> git checkout -t origin/5
> ./rtems-bootstrap
>
> etc.
>
> Anything else may not be building the right repository.
>

If it is simpler, you might try to redo the VM / delete your install
/opt/rtems/5 and recompile/reinstall.

I would not be confident about the rtems installation since it seems
to have gone awry.

> > >
> >
> > > Daniela.
> >
> > Enviado do Email para Windows 10
> >
> >
> >
> > De: Gedare Bloom
> > Enviado:sexta-feira, 10 de julho de 2020 11:42
> > Para: Daniela Oliveira
> > Cc:joel at rtems.org; users at rtems.org
> > Assunto: Re: Header missing
> >
> >
> >
> > On Fri, Jul 10, 2020 at 8:41 AM Gedare Bloom <gedare at rtems.org> wrote:
> >
> > >
> >
> > > Hi Daniela,
> >
> > >
> >
> > > On Fri, Jul 10, 2020 at 7:45 AM Daniela Oliveira <oliveiradad at gmail.com> wrote:
> >
> > > >
> >
> > > > > Hi Joel,
> >
> > > >
> >
> > > > >
> >
> > > >
> >
> > > > > What branch are you on in the rtems source?
> >
> > > >
> >
> > > > >
> >
> > > >
> >
> > > > > I’m in the RTEMS_MAKEFILE_PATH
> >
> > > >
> >
> > > > > The paths of headers:
> >
> > > >
> >
> > > > > /opt/rtems/5/sparc-rtems5/erc32/lib/include/dev/bspopts.h
> >
> > > >
> >
> > > > > /opt/rtems/5/sparc-rtems5/erc32/lib/include/bsp.h
> >
> > > >
> >
> > >
> >
> > > This problem isn't reproducing under Linux/cmdline for me (or Joel).
> >
> > > What is your OS, and how did you set up Eclipse?
> >
> > >
> >
> > Also, are you using the RTEMS-5 release download? Can you send where
> >
> > you got it from? I want to verify.
> >
> >
> >
> > > > >
> >
> > > >
> >
> > > > >Tks,
> >
> > > >
> >
> > > > >
> >
> > > >
> >
> > > > > Daniela.
> >
> > > >
> >
> > > > Enviado do Email para Windows 10
> >
> > > >
> >
> > > >
> >
> > > >
> >
> > > > De: Joel Sherrill
> >
> > > > Enviado:quinta-feira, 9 de julho de 2020 18:06
> >
> > > > Para: Daniela Oliveira
> >
> > > > Cc:Gedare Bloom; users at rtems.org
> >
> > > > Assunto: Re: Header missing
> >
> > > >
> >
> > > >
> >
> > > >
> >
> > > >
> >
> > > >
> >
> > > >
> >
> > > >
> >
> > > > On Thu, Jul 9, 2020 at 3:19 PM Daniela Oliveira <oliveiradad at gmail.com> wrote:
> >
> > > >
> >
> > > >
> >
> > > >
> >
> > > > > Hi Gedare,
> >
> > > >
> >
> > > > >
> >
> > > >
> >
> > > > > The output of:
> >
> > > >
> >
> > > > > cd /opt/rtems/5
> >
> > > >
> >
> > > > > find . -name bspopts.h
> >
> > > >
> >
> > > > > find : predicate unknown
> >
> > > >
> >
> > > > > This is the path of header bspopts.h:
> >
> > > >
> >
> > > > >/opt/rtems/5/sparc-rtems5/erc32/lib/include/dev/bspopts.h
> >
> > > >
> >
> > > >
> >
> > > >
> >
> > > > What branch are you on in the rtems source? I just built new tools and RTEMS on the 5 branch and this is what was installed:
> >
> > > >
> >
> > > >
> >
> > > >
> >
> > > > $ find /home/joel/rtems-work/tools/5/bsp-install/sparc-rtems5/erc32/ -name bspopts.h
> >
> > > > /home/joel/rtems-work/tools/5/bsp-install/sparc-rtems5/erc32/lib/include/bspopts.h
> >
> > > >
> >
> > > >
> >
> > > >
> >
> > > > >
> >
> > > >
> >
> > > > >
> >
> > > >
> >
> > > > > Tks for help,
> >
> > > >
> >
> > > > >
> >
> > > >
> >
> > > > > Daniela.
> >
> > > >
> >
> > > >
> >
> > > >
> >
> > > > Enviado do Email para Windows 10
> >
> > > >
> >
> > > >
> >
> > > >
> >
> > > > De: Gedare Bloom
> >
> > > > Enviado:quinta-feira, 9 de julho de 2020 16:41
> >
> > > > Para: Daniela Oliveira
> >
> > > > Cc:users at rtems.org
> >
> > > > Assunto: Re: Header missing
> >
> > > >
> >
> > > >
> >
> > > >
> >
> > > > Hi Daniela,
> >
> > > >
> >
> > > >
> >
> > > >
> >
> > > > On Thu, Jul 9, 2020 at 11:53 AM Daniela Oliveira <oliveiradad at gmail.com> wrote:
> >
> > > >
> >
> > > > >
> >
> > > >
> >
> > > > > >Hi guys,
> >
> > > >
> >
> > > > >
> >
> > > >
> >
> > > > > >
> >
> > > >
> >
> > > > >
> >
> > > >
> >
> > > > > > Explaining the steps ..
> >
> > > >
> >
> > > > >
> >
> > > >
> >
> > > > > > I had used the RTEMS user manual, so these are the steps:
> >
> > > >
> >
> > > > >
> >
> > > >
> >
> > > > > > I built a SPARC tool chain.
> >
> > > >
> >
> > > > >
> >
> > > >
> >
> > > > > > - The structure looks like this:
> >
> > > >
> >
> > > > >
> >
> > > >
> >
> > > > > > / opt / rtems -> the binaries for compiling, debugging and manipulating files linked with RTEMS / SPARC
> >
> > > >
> >
> > > > >
> >
> > > >
> >
> > > > > > / rtems / releases / rsb -> downloaded and unzipped packages for installation
> >
> > > >
> >
> > > > >
> >
> > > >
> >
> > > > > > / rtems / kernel -> kernel for BSP generation
> >
> > > >
> >
> > > > >
> >
> > > >
> >
> > > > > > / opt / rtems / 5 / sparc-rtems5 / erc32 -> compiled bsp erc32,is the RTEMS_MAKEFILE_PATH
> >
> > > >
> >
> > > > >
> >
> > > >
> >
> > > >
> >
> > > >
> >
> > > > Can you show the output of:
> >
> > > >
> >
> > > > cd /opt/rtems/5
> >
> > > >
> >
> > > > find . -name bspopts.h
> >
> > > >
> >
> > > >
> >
> > > >
> >
> > > >
> >
> > > >
> >
> > > > FWIW, I just compiled and installed a clean version of rtems5, and get
> >
> > > >
> >
> > > > rtems/5$ find . -name bspopts.h
> >
> > > >
> >
> > > > ./sparc-rtems5/erc32/lib/include/bspopts.h
> >
> > > >
> >
> > > >
> >
> > > >
> >
> > > >
> >
> > > >
> >
> > > > > >
> >
> > > >
> >
> > > > >
> >
> > > >
> >
> > > > > > .../b-erc32-5$ find . -name bspopts.h
> >
> > > >
> >
> > > > >
> >
> > > >
> >
> > > > > > ./sparc-rtems5/c/erc32/lib/libbsp/sparc/erc32/include/bspopts.h
> >
> > > >
> >
> > > > >
> >
> > > >
> >
> > > > > >
> >
> > > >
> >
> > > > >
> >
> > > >
> >
> > > > > > Can you identify what tutorial did you follow, and whether you changed
> >
> > > >
> >
> > > > >
> >
> > > >
> >
> > > > > > any steps?
> >
> > > >
> >
> > > > >
> >
> > > >
> >
> > > > > > I’d used the Rtems User Manual, I’d configurated the project C/C++ in Eclipse, when I receive the fatal error : bspopts.h no such file or directory, then i would changed the bsp.h header
> >
> > > >
> >
> > > > >
> >
> > > >
> >
> > > > > >
> >
> > > >
> >
> > > > >
> >
> > > >
> >
> > > > > > Do you check out the rtems.git/5 branch?
> >
> > > >
> >
> > > > >
> >
> > > >
> >
> > > > > > I checked
> >
> > > >
> >
> > > > >
> >
> > > >
> >
> > > > > > Is this dev/bspopts.h in your installed tree?
> >
> > > >
> >
> > > > >
> >
> > > >
> >
> > > > > > Yeas, confirm.
> >
> > > >
> >
> > > > >
> >
> > > >
> >
> > > > > >
> >
> > > >
> >
> > > > >
> >
> > > >
> >
> > > > > >Tks, Daniela.
> >
> > > >
> >
> > > > >
> >
> > > >
> >
> > > > >
> >
> > > >
> >
> > > > >
> >
> > > >
> >
> > > > > Enviado do Email para Windows 10
> >
> > > >
> >
> > > > >
> >
> > > >
> >
> > > > >
> >
> > > >
> >
> > > > >
> >
> > > >
> >
> > > > > De: Gedare Bloom
> >
> > > >
> >
> > > > > Enviado:quinta-feira, 9 de julho de 2020 12:10
> >
> > > >
> >
> > > > > Para: Daniela Oliveira
> >
> > > >
> >
> > > > > Cc:users at rtems.org
> >
> > > >
> >
> > > > > Assunto: Re: Header missing
> >
> > > >
> >
> > > > >
> >
> > > >
> >
> > > > >
> >
> > > >
> >
> > > > >
> >
> > > >
> >
> > > > > On Thu, Jul 9, 2020 at 9:08 AM Gedare Bloom <gedare at rtems.org> wrote:
> >
> > > >
> >
> > > > >
> >
> > > >
> >
> > > > > >
> >
> > > >
> >
> > > > >
> >
> > > >
> >
> > > > > > On Mon, Jul 6, 2020 at 3:56 PM Daniela Oliveira <oliveiradad at gmail.com> wrote:
> >
> > > >
> >
> > > > >
> >
> > > >
> >
> > > > > > >
> >
> > > >
> >
> > > > >
> >
> > > >
> >
> > > > > > > > Hi guys,
> >
> > > >
> >
> > > > >
> >
> > > >
> >
> > > > > > >
> >
> > > >
> >
> > > > >
> >
> > > >
> >
> > > > > > > >
> >
> > > >
> >
> > > > >
> >
> > > >
> >
> > > > > > >
> >
> > > >
> >
> > > > >
> >
> > > >
> >
> > > > > > > > I have built a RTEMS 5 sparc, as docs.rtems.org tutorial. When I had built the C/C++ project,
> >
> > > >
> >
> > > > >
> >
> > > >
> >
> > > > > > >
> >
> > > >
> >
> > > > >
> >
> > > >
> >
> > > > > > > > I have found a missing header in bsp.h, the bspopts.h. I have no idea why this header appeared inside the DEV directory.
> >
> > > >
> >
> > > > >
> >
> > > >
> >
> > > > > > >
> >
> > > >
> >
> > > > >
> >
> > > >
> >
> > > > > > > > I  rewrote the header bsp.h path, <bspopts.h> for <dev/bspopts.h>
> >
> > > >
> >
> > > > >
> >
> > > >
> >
> > > > > > >
> >
> > > >
> >
> > > > >
> >
> > > >
> >
> > > > > > > >Then I ask: Is this normal?
> >
> > > >
> >
> > > > >
> >
> > > >
> >
> > > > > > >
> >
> > > >
> >
> > > > >
> >
> > > >
> >
> > > > > >
> >
> > > >
> >
> > > > >
> >
> > > >
> >
> > > > > > No, this is not normal.
> >
> > > >
> >
> > > > >
> >
> > > >
> >
> > > > > >
> >
> > > >
> >
> > > > >
> >
> > > >
> >
> > > > > > .../b-erc32-5$ find . -name bspopts.h
> >
> > > >
> >
> > > > >
> >
> > > >
> >
> > > > > > ./sparc-rtems5/c/erc32/lib/libbsp/sparc/erc32/include/bspopts.h
> >
> > > >
> >
> > > > >
> >
> > > >
> >
> > > > > >
> >
> > > >
> >
> > > > >
> >
> > > >
> >
> > > > > > Can you identify what tutorial did you follow, and whether you changed
> >
> > > >
> >
> > > > >
> >
> > > >
> >
> > > > > > any steps?
> >
> > > >
> >
> > > > >
> >
> > > >
> >
> > > > > >
> >
> > > >
> >
> > > > >
> >
> > > >
> >
> > > > > > Do you check out the rtems.git/5 branch?
> >
> > > >
> >
> > > > >
> >
> > > >
> >
> > > > > >
> >
> > > >
> >
> > > > >
> >
> > > >
> >
> > > > >
> >
> > > >
> >
> > > > >
> >
> > > >
> >
> > > > > Is this dev/bspopts.h in your installed tree?
> >
> > > >
> >
> > > > >
> >
> > > >
> >
> > > > >
> >
> > > >
> >
> > > > >
> >
> > > >
> >
> > > > > > > >
> >
> > > >
> >
> > > > >
> >
> > > >
> >
> > > > > > >
> >
> > > >
> >
> > > > >
> >
> > > >
> >
> > > > > > > >
> >
> > > >
> >
> > > > >
> >
> > > >
> >
> > > > > > >
> >
> > > >
> >
> > > > >
> >
> > > >
> >
> > > > > > > > Best regards,
> >
> > > >
> >
> > > > >
> >
> > > >
> >
> > > > > > >
> >
> > > >
> >
> > > > >
> >
> > > >
> >
> > > > > > > >
> >
> > > >
> >
> > > > >
> >
> > > >
> >
> > > > > > >
> >
> > > >
> >
> > > > >
> >
> > > >
> >
> > > > > > > > Daniela.
> >
> > > >
> >
> > > > >
> >
> > > >
> >
> > > > > > >
> >
> > > >
> >
> > > > >
> >
> > > >
> >
> > > > > > >
> >
> > > >
> >
> > > > >
> >
> > > >
> >
> > > > > > >
> >
> > > >
> >
> > > > >
> >
> > > >
> >
> > > > > > > Enviado do Email para Windows 10
> >
> > > >
> >
> > > > >
> >
> > > >
> >
> > > > > > >
> >
> > > >
> >
> > > > >
> >
> > > >
> >
> > > > > > >
> >
> > > >
> >
> > > > >
> >
> > > >
> >
> > > > > > >
> >
> > > >
> >
> > > > >
> >
> > > >
> >
> > > > > > > _______________________________________________
> >
> > > >
> >
> > > > >
> >
> > > >
> >
> > > > > > > users mailing list
> >
> > > >
> >
> > > > >
> >
> > > >
> >
> > > > > > > users at rtems.org
> >
> > > >
> >
> > > > >
> >
> > > >
> >
> > > > > > > http://lists.rtems.org/mailman/listinfo/users
> >
> > > >
> >
> > > > >
> >
> > > >
> >
> > > > >
> >
> > > >
> >
> > > >
> >
> > > >
> >
> > > > _______________________________________________
> >
> > > > users mailing list
> >
> > > > users at rtems.org
> >
> > > > http://lists.rtems.org/mailman/listinfo/users
> >
> > > >
> >
> > > >
> >
> >


More information about the users mailing list