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-phyFLEX-i.MX6-PD13.2.4/local_src/libpsc$ ./configure
configure: error: cannot find sources (libpsc.c) in . or ..
ptxdist compile libpsc
----------------------
target: libpsc.compile
----------------------
make[1]: Entering directory '/opt/PHYTEC_BSPs/BSP-Phytec-phyFLEX-i.MX6-PD13.2.4/platform-phyFLEX-i.MX6/build-target/libpsc-build'
make --no-print-directory all-am
make[2]: *** No rule to make target 'libpsc.c', needed by 'liblibpsc_la-libpsc.lo'. Stop.
make[1]: *** [Makefile:476: all] Error 2
make[1]: Leaving directory '/opt/PHYTEC_BSPs/BSP-Phytec-phyFLEX-i.MX6-PD13.2.4/platform-phyFLEX-i.MX6/build-target/libpsc-build'
make: *** [/opt/lib/ptxdist-2019.03.1/rules/post/ptxd_make_world_compile.make:22: /opt/PHYTEC_BSPs/BSP-Phytec-phyFLEX-i.MX6-PD13.2.4/platform-phyFLEX-i.MX6/state/libpsc.compile] Error 2
dak@CNU35294ZR:/opt/PHYTEC_BSPs/BSP-Phytec-phyFLEX-i.MX6-PD13.2.4$