Re: [Discuss OpenCPI] Ubuntu 19 Support

From: Brian Padalino <bpadalino_at_gmail.com>
Date: Thu, 05 Dec 19 17:23:38 -0500

On Thu, Dec 5, 2019 at 5:19 PM James Kulp <jek_at_parera.com> wrote:

> On 12/5/19 4:56 PM, Brian Padalino wrote:
> > I'm trying to add Ubuntu 19.x support to OpenCPI.
>
> Thanks!
>
> > My procedure has been to
> > add the directory projects/core/rcc/platforms/ubuntu19 and the following
> > files:
> >
> > - README
> > - ubuntu19-check.sh
> > - ubuntu19.mk
> > - ubuntu-packages.sh
> >
> > I also needed to change some source files due to updated GCC warnings
> > turning into errors, specifically:
> >
> > - os/interfaces/include/OcpiOsEther.h
> > - runtime/dataplane/transport/impl/include/OcpiInputBuffer.h
> > - runtime/util/property/include/OcpiPValueApi.h
> > - runtime/util/property/src/OcpiUtilPValue.cxx
> Note that you can usually just add a compiler flag that turns these
> errors back into warnings so that you don't need to touch framework code
> to get this job done. Its not a bad thing to "fix" that code if the
> warnings are good, but it you can avoid a framework patch to get your
> job done, that's better.
>

Good call. I'll give that a shot instead.


> >
> > I also had to change the kernel module to have a different return type to
> > get everything to build.
>
> Which kernel version did you end up with?
>

Currently I've got 5.3.0-19-generic running.


>
> Is the default shell on that system bash? We sometimes end up assuming
> bash when we shouldn't.
>

No, it's dash. I changed the scripts over to explicitly use bash after
sending this e-mail.


>
> Chris is right, sometimes there are bootstrapping issues with adding new
> software platforms where you have to do stuff to get the project exports
> redone from the project that the new platform is in.
>

Alright. I'll cleaneverything and try building again.

Thanks,
Brian


Received on Thu Dec 05 2019 - 22:23:38 CST

This archive was generated by hypermail 2.3.0 : Fri Jun 05 2026 - 08:45:25 CDT