From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail-eopbgr820041.outbound.protection.outlook.com ([40.107.82.41] helo=NAM01-SN1-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 1hQ7WE-0000Qq-Fj for ptxdist@pengutronix.de; Mon, 13 May 2019 11:45:15 +0200 From: Patrick Murray Date: Mon, 13 May 2019 09:45:09 +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="===============1754904831==" Errors-To: ptxdist-bounces@pengutronix.de Sender: "ptxdist" To: "ptxdist@pengutronix.de" --===============1754904831== Content-Language: en-US Content-Type: multipart/alternative; boundary="_000_DM6PR02MB5977ABE2F9801C61230BFBE6FD0F0DM6PR02MB5977namp_" --_000_DM6PR02MB5977ABE2F9801C61230BFBE6FD0F0DM6PR02MB5977namp_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi, I tried renamed libpsc.c to libpsc.cpp ( and .ccx) , no difference in the o= utcome, running ./configure fails and so does the ptxdist libpsc compile. Question , in a autotools library package are you only allowed either c fil= e 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-lib= psc.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.ma= ke: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$ 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_DM6PR02MB5977ABE2F9801C61230BFBE6FD0F0DM6PR02MB5977namp_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

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 on= ly 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-Ph= ytec-phyFLEX-i.MX6-PD13.2.4/platform-phyFLEX-i.MX6/build-target/libpsc-buil= d'

make --no-print-directory all-am

make[2]: *** No rule to make target 'libpsc.c', need= ed by 'liblibpsc_la-libpsc.lo'.  Stop.

make[1]: *** [Makefile:476: all] Error 2<= /p>

make[1]: Leaving directory '/opt/PHYTEC_BSPs/BSP-Phy= tec-phyFLEX-i.MX6-PD13.2.4/platform-phyFLEX-i.MX6/build-target/libpsc-build= '

make: *** [/opt/lib/ptxdist-2019.03.1/rules/post/ptx= d_make_world_compile.make:22: /opt/PHYTEC_BSPs/BSP-Phytec-phyFLEX-i.MX6-PD1= 3.2.4/platform-phyFLEX-i.MX6/state/libpsc.compile] Error 2

dak@CNU35294ZR:/opt/PHYTEC_BSPs/BSP-Phyte= c-phyFLEX-i.MX6-PD13.2.4$

 


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_DM6PR02MB5977ABE2F9801C61230BFBE6FD0F0DM6PR02MB5977namp_-- --===============1754904831== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KcHR4ZGlzdCBt YWlsaW5nIGxpc3QKcHR4ZGlzdEBwZW5ndXRyb25peC5kZQ== --===============1754904831==--