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
----------------------
configure: error: cannot find sources (libpsc.c) in ../libpsc or ..
make: *** [/opt/lib/ptxdist-2019.03.1/rules/post/ptxd_make_world_prepare.make:22: /opt/PHYTEC_BSPs/BSP-Phytec-phyFLEX-i.MX6-PD13.2.4/platform-phyFLEX-i.MX6/state/libpsc.prepare] Error 1
I still believe it hasn’t found the C++ compiler .
dak@CNU35294ZR:/opt/PHYTEC_BSPs/BSP-Phytec-phyFLEX-i.MX6-PD13.2.4/local_src/libpsc$ grep CONFIG_SRCDIR *.*
grep: autom4te.cache: Is a directory
configure.ac:#AC_CONFIG_SRCDIR([R3PSC.cpp])
configure.ac:#AC_CONFIG_SRCDIR([libpsc.cxx])
configure.ac:AC_CONFIG_SRCDIR([libpsc.cc])
dak@CNU35294ZR:/opt/PHYTEC_BSPs/BSP-Phytec-phyFLEX-i.MX6-PD13.2.4/local_src/libpsc$ ls libpsc.*
libpsc.cc libpsc.c_orig libpsc.h
dak@CNU35294ZR:/opt/PHYTEC_BSPs/BSP-Phytec-phyFLEX-i.MX6-PD13.2.4/local_src/libpsc$ ls *.cpp
accessors.cpp device_instance_master.cpp device_instance_vcb2.cpp device_type_mlc5.cpp exception.cpp
debug.cpp device_instance_mlc5.cpp device_instance_vfc2.cpp device_type_mod.cpp R3PSC.cpp
device_connections.cpp device_instance_mod.cpp device_sets.cpp device_type_plc5.cpp simpleXPath.cpp
device_instance_base.cpp device_instance_plc5.cpp device_type_base.cpp device_type_plr.cpp utils.cpp
device_instance_canmod.cpp device_instance_plr.cpp device_type_canmod.cpp device_type_ppc5pixel.cpp xml_processor.cpp
device_instance_collection.cpp device_instance_ppc5pixel.cpp device_type_collection.cpp device_type_sc7mod.cpp
device_instance_lcd.cpp device_instance_sc7mod.cpp device_type_lcd.cpp device_type_vcb2.cpp
device_instance_master5.cpp device_instance_unknown.cpp device_type_master.cpp device_type_vfc2.cpp