Rocksolid Light

Welcome to RetroBBS

mail  files  register  newsreader  groups  login

Message-ID:  

Leveraging always beats prototyping.


devel / comp.lang.ada / Re: Main program can't find subprogram

SubjectAuthor
* Main program can't find subprogramrichardthiebaud
`* Re: Main program can't find subprogramreinert
 `- Re: Main program can't find subprogramrichardthiebaud

1
Main program can't find subprogram

<ue7ctd$fegk$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=10067&group=comp.lang.ada#10067

  copy link   Newsgroups: comp.lang.ada
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: thiebauddick2@aol.com (richardthiebaud)
Newsgroups: comp.lang.ada
Subject: Main program can't find subprogram
Date: Sun, 17 Sep 2023 13:27:09 -0400
Organization: A noiseless patient Spider
Lines: 9
Message-ID: <ue7ctd$fegk$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Sun, 17 Sep 2023 17:27:09 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="f5ea45da094e9e4e5324bf88ed876455";
logging-data="506388"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/xHMMDrT2KqvgK7J+Unoyg9v+X94wJ5VM="
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
Thunderbird/102.15.0
Cancel-Lock: sha1:DVlOrTRgNFs3CN+yeCMVGmPQD6M=
Content-Language: en-US
 by: richardthiebaud - Sun, 17 Sep 2023 17:27 UTC

I have a main program crypt.adb I have a seperate project randproj.ads
and randproj.adb crypt has a line "with randproj" but when I compile
crypt either directly with gnat or with alr it does not find randproj.

crypt.adb, randproj.ads, and randproj.adb are all in the same directory.

I have the feeling I'm missing something easy to do.

How do I get crypt.adb to find randproj.ads?

Re: Main program can't find subprogram

<19d89db4-8f09-4a19-9297-9cdf7eff5563n@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=10068&group=comp.lang.ada#10068

  copy link   Newsgroups: comp.lang.ada
X-Received: by 2002:a05:6214:440a:b0:656:4a8b:55f3 with SMTP id oj10-20020a056214440a00b006564a8b55f3mr72675qvb.7.1694972578389;
Sun, 17 Sep 2023 10:42:58 -0700 (PDT)
X-Received: by 2002:a05:6808:21aa:b0:3a3:e17e:d2ea with SMTP id
be42-20020a05680821aa00b003a3e17ed2eamr3193388oib.8.1694972578080; Sun, 17
Sep 2023 10:42:58 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!border-2.nntp.ord.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.ada
Date: Sun, 17 Sep 2023 10:42:57 -0700 (PDT)
In-Reply-To: <ue7ctd$fegk$1@dont-email.me>
Injection-Info: google-groups.googlegroups.com; posting-host=84.209.88.37; posting-account=bPTmZAoAAAC_6HP9XLKB9aAAxBa6BuOR
NNTP-Posting-Host: 84.209.88.37
References: <ue7ctd$fegk$1@dont-email.me>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <19d89db4-8f09-4a19-9297-9cdf7eff5563n@googlegroups.com>
Subject: Re: Main program can't find subprogram
From: reinkor@gmail.com (reinert)
Injection-Date: Sun, 17 Sep 2023 17:42:58 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Lines: 13
 by: reinert - Sun, 17 Sep 2023 17:42 UTC

søndag 17. september 2023 kl. 19:27:12 UTC+2 skrev richardthiebaud:
> I have a main program crypt.adb I have a seperate project randproj.ads
> and randproj.adb crypt has a line "with randproj" but when I compile
> crypt either directly with gnat or with alr it does not find randproj.
>
> crypt.adb, randproj.ads, and randproj.adb are all in the same directory.
>
> I have the feeling I'm missing something easy to do.
>
> How do I get crypt.adb to find randproj.ads?

In the gpr file, have you: for Source_Dirs use ("src", ...
?

Re: Main program can't find subprogram

<ue7fqq$fu37$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=10069&group=comp.lang.ada#10069

  copy link   Newsgroups: comp.lang.ada
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: thiebauddick2@aol.com (richardthiebaud)
Newsgroups: comp.lang.ada
Subject: Re: Main program can't find subprogram
Date: Sun, 17 Sep 2023 14:16:58 -0400
Organization: A noiseless patient Spider
Lines: 16
Message-ID: <ue7fqq$fu37$1@dont-email.me>
References: <ue7ctd$fegk$1@dont-email.me>
<19d89db4-8f09-4a19-9297-9cdf7eff5563n@googlegroups.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Sun, 17 Sep 2023 18:16:59 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="f5ea45da094e9e4e5324bf88ed876455";
logging-data="522343"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19BFHoH+9XRlWoo6iYRgcGjUtuHtKT9ShM="
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
Thunderbird/102.15.0
Cancel-Lock: sha1:e8sPL5D7stNZ0lRAr8HJQkXEfjE=
In-Reply-To: <19d89db4-8f09-4a19-9297-9cdf7eff5563n@googlegroups.com>
Content-Language: en-US
 by: richardthiebaud - Sun, 17 Sep 2023 18:16 UTC

On 9/17/23 13:42, reinert wrote:
> søndag 17. september 2023 kl. 19:27:12 UTC+2 skrev richardthiebaud:
>> I have a main program crypt.adb I have a seperate project randproj.ads
>> and randproj.adb crypt has a line "with randproj" but when I compile
>> crypt either directly with gnat or with alr it does not find randproj.
>>
>> crypt.adb, randproj.ads, and randproj.adb are all in the same directory.
>>
>> I have the feeling I'm missing something easy to do.
>>
>> How do I get crypt.adb to find randproj.ads?
>
> In the gpr file, have you: for Source_Dirs use ("src", ...
> ?

Thanks, that did it.

1
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor