From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from sa-prd-fep-042.btinternet.com (mailomta27-sa.btinternet.com [213.120.69.33]) by sourceware.org (Postfix) with ESMTPS id 260DC3851C17 for ; Sun, 15 Nov 2020 15:16:51 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 260DC3851C17 Received: from sa-prd-rgout-002.btmx-prd.synchronoss.net ([10.2.38.5]) by sa-prd-fep-042.btinternet.com with ESMTP id <20201115151649.SRMF15135.sa-prd-fep-042.btinternet.com@sa-prd-rgout-002.btmx-prd.synchronoss.net>; Sun, 15 Nov 2020 15:16:49 +0000 X-SNCR-Rigid: 5ED9AA6E1A92BCFB X-OWM-Env-Sender: gordon_mckay@btinternet.com X-VadeSecure-score: verdict=clean score=0/300, class=clean X-RazorGate-Vade: gggruggvucftvghtrhhoucdtuddrgedujedruddvledgjeejucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuueftkffvkffujffvgffngfevqffopdfqfgfvnecuuegrihhlohhuthemuceftddunecunecujfgurhepvffkjghfufggtggfihfhffesrgdtregstderjeenucfhrhhomhepiffqtfffqffpucfovefmtegjuceoghhorhguohhnpghmtghkrgihsegsthhinhhtvghrnhgvthdrtghomheqnecuggftrfgrthhtvghrnhepueffveffgfeuvdelteekhedujefhleekkeejuedvjeevteduvedtffejleeuffetnecukfhppedutddrvddrfeekrdduuddvpdekiedrudefvddruddurddvieenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhephhgvlhhopehsrgdqphhrugdquhigfhgvphdqtdefuddrsghtmhigqdhprhgurdhshihntghhrhhonhhoshhsrdhnvghtpdhinhgvthepuddtrddvrdefkedrudduvddpmhgrihhlfhhrohhmpeeoghhorhguohhnpghmtghkrgihsegsthhinhhtvghrnhgvthdrtghomheqpdhrtghpthhtohepoehgtggtqdhhvghlphesghgttgdrghhnuhdrohhrgheqpdhrtghpthhtohepoehjihhmfiesshhifhhivhgvrdgtohhmqedprhgtphhtthhopeeojhifrghkvghlhidrghgttgesghhmrghilhdrtghomheq X-RazorGate-Vade-Verdict: clean 0 X-RazorGate-Vade-Classification: clean X-SNCR-hdrdom: btinternet.com Received: from sa-prd-uxfep-031.btmx-prd.synchronoss.net (10.2.38.112) by sa-prd-rgout-002.btmx-prd.synchronoss.net (5.8.340) id 5ED9AA6E1A92BCFB; Sun, 15 Nov 2020 15:16:49 +0000 Received: from [86.132.11.26] by email.bt.com with HTTP; Sun, 15 Nov 2020 15:16:49 +0000 To: Jonathan Wakely , jimw@sifive.com Cc: "gcc-help@gcc.gnu.org" Message-ID: <564c1828.1420.175cc7aed71.Webtop.112@btinternet.com> In-Reply-To: References: <5faeac7f.1c69fb81.b55df.57c2SMTPIN_ADDED_BROKEN@mx.google.com> Subject: Re: GCC fails to find headers under Ubuntu MIME-Version: 1.0 User-Agent: OWM Mail 3 X-SID: 112 X-Originating-IP: [86.132.11.26] From: GORDON MCKAY Date: Sun, 15 Nov 2020 15:16:49 +0000 (GMT) X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, HTML_MESSAGE, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2, SPF_HELO_PASS, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: gcc-help@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-help mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 15 Nov 2020 15:16:53 -0000 Hi Jonathan, Jim Thank you for your swift response! I'm afraid it was a relatively simple error I had made. I as attempting to perform steps in the 'makefile' individually without due regard to some fairly important bits of it. I had cloned the GitHub 'star-charter' repository correctly and ensured that the gsl libraries were also present and correct. When I perform 'make' instead of trying to be clever it all works correctly. Thanks again, Gordon ------ Original Message ------ From: "Jonathan Wakely" To: "Gordon McKay" Cc: "gcc-help@gcc.gnu.org" Sent: Friday, 13 Nov, 20 At 19:08 Subject: Re: GCC fails to find headers under Ubuntu On Fri, 13 Nov 2020 at 15:55, Gordon McKay via Gcc-help wrote: Hi, I have a C project, star-charter, which is a straight clone from GitHub. From my $Home in Ubuntu I have a folder, Cprojects, where I keep all my C/C++ projects, each in a separate sub-folder. My start-charter GitHub clone is in the star-charter subfolder The makefile is in the star-charter subfolder All of the source is in the src sub folder of star-charter Main.c is in the src sub-folder. Various libraries and headers are in sub-folders of src, for eample the gsl headers When I attempt to compile main.c which refere to the gsl headers in INCLUDE statements with the sub-folder gsl and header name , a file not found error is thrown. What is the exact command you are running, and the exact error? We can't help without accurate information about exactly what you're doing and what the error is.