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 relevant searches below Any suggestions much appreciated. Thanks Pat dak@CNU35294ZR:/opt/PHYTEC_BSPs/BSP-Phytec-phyFLEX-i.MX6-PD13.2.4/local_src/libpsc$ grep -n AC_LANG configure.ac 41:AC_LANG=C++ dak@CNU35294ZR:/opt/PHYTEC_BSPs/BSP-Phytec-phyFLEX-i.MX6-PD13.2.4/local_src/libpsc$ grep -n AC_PROG_ configure.ac 44:#AC_PROG_CC 45:#AC_PROG_CXX 46:AC_PROG_CXXCPP 47:#AC_PROG_CXX[g++] 48:AC_PROG_CXX dak@CNU35294ZR:/opt/PHYTEC_BSPs/BSP-Phytec-phyFLEX-i.MX6-PD13.2.4$ grep -A 3 -B 3 string local_src/libpsc/libpsc_internal.h #pragma once #include #include #include #include #include "libpsc.h" dak@CNU35294ZR:/opt/PHYTEC_BSPs/BSP-Phytec-phyFLEX-i.MX6-PD13.2.4$ ptxdist toolchain found and using toolchain: '/opt/OSELAS.Toolchain-2016.06.0/arm-v5te-linux-gnueabi/gcc-5.4.0-glibc-2.23-binutils-2.26-kernel-4.6-sanitized/bin' dak@CNU35294ZR:/opt/PHYTEC_BSPs/BSP-Phytec-phyFLEX-i.MX6-PD13.2.4/local_src/libpsc$ ls /opt/OSELAS.Toolchain-2016.06.0/arm-v5te-linux-gnueabi/gcc-5.4.0-glibc-2.23-binutils-2.26-kernel-4.6-sanitized/bin arm-v5te-linux-gnueabi-addr2line arm-v5te-linux-gnueabi-g++ arm-v5te-linux-gnueabi-gdb arm-v5te-linux-gnueabi-ranlib arm-v5te-linux-gnueabi-ar arm-v5te-linux-gnueabi-gcc arm-v5te-linux-gnueabi-gprof arm-v5te-linux-gnueabi-readelf arm-v5te-linux-gnueabi-as arm-v5te-linux-gnueabi-gcc-5.4.0 arm-v5te-linux-gnueabi-ld arm-v5te-linux-gnueabi-run arm-v5te-linux-gnueabi-c++ arm-v5te-linux-gnueabi-gcc-ar arm-v5te-linux-gnueabi-ld.bfd arm-v5te-linux-gnueabi-size arm-v5te-linux-gnueabi-c++filt arm-v5te-linux-gnueabi-gcc-nm arm-v5te-linux-gnueabi-ld.gold arm-v5te-linux-gnueabi-strings arm-v5te-linux-gnueabi-cpp arm-v5te-linux-gnueabi-gcc-ranlib arm-v5te-linux-gnueabi-nm arm-v5te-linux-gnueabi-strip arm-v5te-linux-gnueabi-dwp arm-v5te-linux-gnueabi-gcov arm-v5te-linux-gnueabi-objcopy ptxconfig arm-v5te-linux-gnueabi-elfedit arm-v5te-linux-gnueabi-gcov-tool arm-v5te-linux-gnueabi-objdump This email and any attachments may be confidential and/or legally privileged. It has been sent for the sole use of the intended recipient(s). If the reader of this message is not an intended recipient, you are hereby notified that any unauthorized review, use, disclosure, dissemination, distribution, or copying of this communication or any of its contents is strictly prohibited. If you are not the named recipient, or have otherwise received this communication in error, please delete it from your inbox, notify the sender immediately, and do not disclose the contents to any other person or use them for any purpose, or store them in any medium. Thank you for your cooperation.