Re: [ptxdist] Autoconf directives not invoking g++ compiler

2019-05-13 Thread Patrick Murray
Hi, Yes I did already change AC_CONFIG_SRCDIR in configure.ac , I have tried renaming the libpsc.c to libpsc.cxx and libpsc.cc , Still make no difference . It seems the "default" is it expects a file called libpsc.c . -- target: libpsc.prepare -- configu

Re: [ptxdist] Autoconf directives not invoking g++ compiler

2019-05-13 Thread Patrick Murray
Hi, I tried renamed libpsc.c to libpsc.cpp ( and .ccx) , no difference in the outcome, running ./configure fails and so does the ptxdist libpsc compile. Question , in a autotools library package are you only allowed either c file or c++ file ? dak@CNU35294ZR:/opt/PHYTEC_BSPs/BSP-Phytec-phyFLE

[ptxdist] Autoconf directives not invoking g++ compiler

2019-05-13 Thread Patrick Murray
Hi, I have created a library package (libpsc) using "src-autoconf-lib" , it builds the template fine , but if use .cpp file it fails. I have tried several changes to configure.ac and ( ran ./configure each time). It fails at the C++ directive #include I have include the configure.ac and some r

[ptxdist] migrating a BSP from 2012.03.0 to 2019.03.1 , building kernel module for linux-3.0.35

2019-04-23 Thread Patrick Murray
Hi , I am getting this include error while building a kernel module after migrating from BSP 2012.03.0 to 2019.03.1 . What's the easiest route to proceed . Regards P. -D"KBUILD_BASENAME=KBUILD_STR(bounds)" -D"KBUILD_MODNAME=KBUILD_STR(bounds)" -fverbose-asm -S -o kernel/bounds.s kernel/bound

Re: [ptxdist] migrating a BSP from 2012.03.0 to 2019.03.1 ,

2019-04-12 Thread Patrick Murray
Ian Abbott wrote: > On 12/04/2019 13:33, Patrick Murray wrote: > > I have installed ptxdist version 2019.03.1 onto a new Ubuntu host > > and I have tried to migrate my i.MX6 BSP (last used with version > > 2012.03.0 ) to 2019.03.1 , but > > > > I am getting this build

[ptxdist] migrating a BSP from 2012.03.0 to 2019.03.1 ,

2019-04-12 Thread Patrick Murray
I have installed ptxdist version 2019.03.1 onto a new Ubuntu host and I have tried to migrate my i.MX6 BSP (last used with version 2012.03.0 ) to 2019.03.1 , but I am getting this build-host error with gcc and pkg-configure gcc version 8.2.0 (Ubuntu 8.2.0-7ubuntu1) configure:3445: $? = 0 confi