From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on ip-172-31-74-118.ec2.internal X-Spam-Level: X-Spam-Status: No, score=-2.9 required=3.0 tests=BAYES_00,FREEMAIL_FROM, NICE_REPLY_A autolearn=ham autolearn_force=no version=3.4.6 Path: eternal-september.org!reader02.eternal-september.org!news.swapon.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: hreba Newsgroups: comp.lang.ada Subject: Re: file "synchronization-interprocess.ads" not found Date: Tue, 1 Feb 2022 20:37:39 +0100 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Trace: individual.net TgLKe5ufJfSBXPyNPl6SLQYTzpc1nWi3ss0ZJ/uvGqSjQV5tJH Cancel-Lock: sha1:YFLY/Mcpm9acFfGx7GT9R6Ck+u8= User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.5.0 Content-Language: en-GB In-Reply-To: Xref: reader02.eternal-september.org comp.lang.ada:63433 List-Id: On 29.01.22 20:09, Dmitry A. Kazakov wrote: > On 2022-01-29 17:31, hreba wrote: --- snip --- >> Source_Dirs. As I am trying to write a plugin, this is a library >> project of kind relocatable. > > Do you have your own gpr-file? The with-section and the private part of > synchronization-interprocess.ads is OS-dependent. In the provided > gpr-file it is selected by the Target_OS project scenario. > > The source file for Linux is in the subdirectory os/linux. > > Similarly, when using ODBC, you must select the right OS driver and 32- > vs 64-bit because ODBC API depends on the choice. > > The list of scenarios is here: > >    http://www.dmitry-kazakov.de/ada/components.htm#19 > Using the component's project file is not possible because -- driven_pend.gpr:7:17: shared library project "driven_pend" cannot import project "tables" that is not a shared library project -- so I included in my project file's Source_Dirs the Components subdirectories - os/linux - odbc/unixodbc/x86_64 what resulted in -- gnat-sockets-connection_state_machine-little_endian-unsigneds.ads:28:60: file "g-socser.ads" not found gnat-sockets-connection_state_machine-little_endian-unsigneds.ads:28:60: "GNAT.SOCKETS.CONNECTION_STATE_MACHINE.LITTLE_ENDIAN.UNSIGNEDS (body)" depends on "GNAT.SOCKETS.CONNECTION_STATE_MACHINE.LITTLE_ENDIAN.UNSIGNEDS (spec)" gnat-sockets-connection_state_machine-little_endian-unsigneds.ads:28:60: "GNAT.SOCKETS.CONNECTION_STATE_MACHINE.LITTLE_ENDIAN.UNSIGNEDS (spec)" depends on "GNAT.SOCKETS.CONNECTION_STATE_MACHINE.LITTLE_ENDIAN (spec)" gnat-sockets-connection_state_machine-little_endian-unsigneds.ads:28:60: "GNAT.SOCKETS.CONNECTION_STATE_MACHINE.LITTLE_ENDIAN (spec)" depends on "GNAT.SOCKETS.CONNECTION_STATE_MACHINE (spec)" gnat-sockets-connection_state_machine-little_endian-unsigneds.ads:28:60: "GNAT.SOCKETS.CONNECTION_STATE_MACHINE (spec)" depends on "GNAT.SOCKETS.SERVER (spec)" -- Executing find -name "g-socser.ads" in directory Components didn't return any result. Regards, -- Frank Hrebabetzky, Kronach +49 / 9261 / 950 0565