From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-0.9 required=5.0 tests=BAYES_00,FORGED_GMAIL_RCVD, FREEMAIL_FROM autolearn=no autolearn_force=no version=3.4.4 X-Received: by 2002:ad4:47cd:: with SMTP id p13mr6814370qvw.123.1585891152574; Thu, 02 Apr 2020 22:19:12 -0700 (PDT) X-Received: by 2002:a9d:6315:: with SMTP id q21mr5242850otk.16.1585891152246; Thu, 02 Apr 2020 22:19:12 -0700 (PDT) Path: eternal-september.org!reader01.eternal-september.org!feeder.eternal-september.org!news.mixmin.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Thu, 2 Apr 2020 22:19:11 -0700 (PDT) In-Reply-To: <6ca126be-b21e-4e4e-baca-08f157016185@googlegroups.com> Complaints-To: groups-abuse@google.com Injection-Info: google-groups.googlegroups.com; posting-host=70.109.61.2; posting-account=QF6XPQoAAABce2NyPxxDAaKdAkN6RgAf NNTP-Posting-Host: 70.109.61.2 References: <7dc6d888-696c-4936-b678-66e1c8198449@googlegroups.com> <1751295b-bd07-4a29-8181-2a24764e1644@googlegroups.com> <16db176e-7625-4c0a-bcb4-4968981065f5@googlegroups.com> <6ca126be-b21e-4e4e-baca-08f157016185@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: Subject: Re: Simple parse from https website From: Jere Injection-Date: Fri, 03 Apr 2020 05:19:12 +0000 Content-Type: text/plain; charset="UTF-8" Xref: reader01.eternal-september.org comp.lang.ada:58289 Date: 2020-04-02T22:19:11-07:00 List-Id: On Thursday, April 2, 2020 at 3:35:00 PM UTC-4, Rego, P. wrote: > > Egh, no, this is not AWS and not a part of GNAT Community 2019. I just > > tested if your site worked with Simple Components. > > > > So GNAT.Sockets.Server is a part of Simple Components. I know it is > > confusing but it must be a child of GNAT.Sockets to see a few things > > declared there privately. > > Oh, got it now =) > Ok, so I included Simple Components as a source folder (using source from your site http://www.dmitry-kazakov.de/ada/components_4_48.tgz). But I got those compilation errors: > > 16:6 "Gnat.Sockets.Connection_State_Machine (spec)" depends on "Gnat.Sockets.Server (spec)" > 16:6 "Json_Dmitry (body)" depends on "Gnat.Sockets.Connection_State_Machine (spec)" > 5:6 file "g-socser.ads" not found > 6:6 file "g-socser.ads" not found > 16:6 file "g-socser.ads" not found > 14:6 file "test_http_servers.ads" not found > > It seems that the compiler is looking for abbreviated names for the GNAT.Sockets child packages (but they are there). How can I force the compiler/builder to look for the extended names? Did you try building simple components as a library and "withing" the gpr file instead of adding it to your source directories?