From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail-eopbgr680059.outbound.protection.outlook.com ([40.107.68.59] helo=NAM04-BN3-obe.outbound.protection.outlook.com) by metis.ext.pengutronix.de with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hQ89P-0005DT-W0 for ptxdist@pengutronix.de; Mon, 13 May 2019 12:25:47 +0200 From: Patrick Murray Date: Mon, 13 May 2019 10:25:39 +0000 Message-ID: Content-Language: en-US MIME-Version: 1.0 Subject: Re: [ptxdist] Autoconf directives not invoking g++ compiler List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: ptxdist@pengutronix.de Content-Type: multipart/mixed; boundary="===============1439513953==" Errors-To: ptxdist-bounces@pengutronix.de Sender: "ptxdist" To: "ptxdist@pengutronix.de" --===============1439513953== Content-Language: en-US Content-Type: multipart/alternative; boundary="_000_DM6PR02MB597722ACB4BD34EB91A8C876FD0F0DM6PR02MB5977namp_" --_000_DM6PR02MB597722ACB4BD34EB91A8C876FD0F0DM6PR02MB5977namp_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi, Yes I did already change AC_CONFIG_SRCDIR in configure.ac , I have tried re= naming 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.ma= ke: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_insta= nce_vcb2.cpp device_type_mlc5.cpp exception.cpp debug.cpp device_instance_mlc5.cpp device_insta= nce_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 This email and any attachments may be confidential and/or legally privilege= d. It has been sent for the sole use of the intended recipient(s). If the r= eader 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 prohi= bited. 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 t= hem for any purpose, or store them in any medium. Thank you for your cooper= ation. --_000_DM6PR02MB597722ACB4BD34EB91A8C876FD0F0DM6PR02MB5977namp_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

Hi,

 

Yes I did already change AC_CONFIG_SRCDIR in configu= re.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 f= ile 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/ptx= d_make_world_prepare.make:22: /opt/PHYTEC_BSPs/BSP-Phytec-phyFLEX-i.MX6-PD1= 3.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      &nb= sp;            devic= e_instance_master.cpp     device_instance_vcb2.cpp = ;   device_type_mlc5.cpp       exce= ption.cpp

debug.cpp       &= nbsp;           &nbs= p;   device_instance_mlc5.cpp      = device_instance_vfc2.cpp    device_type_mod.cpp  =       R3PSC.cpp

device_connections.cpp     =      device_instance_mod.cpp    &nb= sp;   device_sets.cpp       &n= bsp;     device_type_plc5.cpp    &n= bsp;  simpleXPath.cpp

device_instance_base.cpp    &nbs= p;   device_instance_plc5.cpp      = device_type_base.cpp        device_type= _plr.cpp        utils.cpp

device_instance_canmod.cpp    &n= bsp; device_instance_plr.cpp        devi= ce_type_canmod.cpp      device_type_ppc5pixel.cpp&= nbsp; xml_processor.cpp

device_instance_collection.cpp  device_instance= _ppc5pixel.cpp  device_type_collection.cpp  device_type_sc7mod.cp= p

device_instance_lcd.cpp     = ;    device_instance_sc7mod.cpp     devi= ce_type_lcd.cpp         device_type= _vcb2.cpp

device_instance_master5.cpp     = device_instance_unknown.cpp    device_type_master.cpp &= nbsp;    device_type_vfc2.cpp

 


This email and any attachments may be confidential and/or legally privilege= d. It has been sent for the sole use of the intended recipient(s). If the r= eader 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 rec= ipient, or have otherwise received this communication in error, please dele= te it from your inbox, notify the sender immediately, and do not disclose the contents to any other person o= r use them for any purpose, or store them in any medium. Thank you for your= cooperation. --_000_DM6PR02MB597722ACB4BD34EB91A8C876FD0F0DM6PR02MB5977namp_-- --===============1439513953== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KcHR4ZGlzdCBt YWlsaW5nIGxpc3QKcHR4ZGlzdEBwZW5ndXRyb25peC5kZQ== --===============1439513953==--