From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ej1-x62e.google.com (mail-ej1-x62e.google.com [IPv6:2a00:1450:4864:20::62e]) by sourceware.org (Postfix) with ESMTPS id 6643C3857816 for ; Sat, 14 Nov 2020 02:56:45 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 6643C3857816 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=sifive.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=jimw@sifive.com Received: by mail-ej1-x62e.google.com with SMTP id w13so16630502eju.13 for ; Fri, 13 Nov 2020 18:56:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sifive.com; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=lHdANJfdYNBhqYNqq8WFTE7F6baMfhsKsj1U1jizvcU=; b=Wgn0lQGtrZuuZut2uwse/mOvZ0HocvW3El73ASraOaLdStmaQgDgrcCMv5sqbbJgLh 1C7WkyogmIx5OquIwt3ZkL5UgGDUKMnbv5MnPDJ3uoCAHkEpKh3YcJpgGmN42+30rOVF ayOrkwA6PwnOcTGhB2lxif8h+qfV8F1l9YBaTW+f3S9AiWzmaZANgOTG1jRISxUuusSA XTJ4XXQsMI+PuyJ3lq9yGH6p92yl38YU+5/5DUx28E87WrS4UBkGYfZn7pWs8Mn7p0ra 1Y3wvUbYrhcZedkfUdIo3koQTbgAKZ4jNH+7rgdDyT8xcJZP72CNvnMkrIdvG2Ur8OrG 5fJw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=lHdANJfdYNBhqYNqq8WFTE7F6baMfhsKsj1U1jizvcU=; b=pHqLbQ9COecxDECN/Mtr1UtJAmTZ6RyzQHAxKIm+igI0KhHEY4aIakbFAxeH0fnJm1 sFXYRs2CPM0A9W8+/Mu15ulsLwCWditDTu9QSNVrrZgfa+AQjWxd2VXhI2ReTzcS41TR 3GBXId3DbYT2+KekFxi7ZY9VstbONqfhDN6hrM0F7k8TgcCYDQUNaPxXZWXPDwTdat5Y WWGFTdyZrzqvIRD0889UGsvqyOAEXeDJfndh5TcgMghozTq7+iyAn8e0fbLfsY0l+T8p BxaH5OMSMjXZm9o9ZvveDWSGsyjpn9+1S3snfGy44aGirME4eOxyrUDmwgsvu6HHWM9t wepQ== X-Gm-Message-State: AOAM532iYtgeqKDVcD21NAOBcFxyjpUIDwYUdsRmhgGWSbDuMVnQn7nz mTq/iTvUVuivusHub1tQhBZky3W3DTqsZcJJl0yFmQ== X-Google-Smtp-Source: ABdhPJyoauI5OMv3nczUZvwc2xH2B9WJJwgmwzL6P5ahPSguW6eZkTqFsn/tRiuGFe4x7mfJRxxZ7tFkJD/qKAzh+g4= X-Received: by 2002:a17:906:1f92:: with SMTP id t18mr5219489ejr.539.1605322604434; Fri, 13 Nov 2020 18:56:44 -0800 (PST) MIME-Version: 1.0 References: <5faeabef.1c69fb81.3ead6.65e7SMTPIN_ADDED_BROKEN@mx.google.com> In-Reply-To: <5faeabef.1c69fb81.3ead6.65e7SMTPIN_ADDED_BROKEN@mx.google.com> From: Jim Wilson Date: Fri, 13 Nov 2020 18:56:33 -0800 Message-ID: Subject: Re: GCC fails to find headers under Ubuntu To: Gordon McKay Cc: "gcc-help@gcc.gnu.org" X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, HTML_MESSAGE, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, 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" 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: Sat, 14 Nov 2020 02:56:47 -0000 On Fri, Nov 13, 2020 at 7:53 AM Gordon McKay via Gcc-help < gcc-help@gcc.gnu.org> wrote: > 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. > I have tried everything to correct this apparenty simple problem. > You didn't provide enough details to reproduce. However, gsl is a common linux package. The program is probably expecting to find the headers in /usr/include/gsl. Try something like "sudo apt install libgsl-dev" to install the package so that the headers can be found. Not clear how you got gsl into a subfolder. I doubt that is part of the star-chart program. Jim