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=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,27efda3aea53e62c X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-07-17 02:15:07 PST Sender: jerry@localhost Newsgroups: comp.lang.ada Subject: Re: compiler errors, include paths, and gnatreg References: From: Jerry van Dijk Date: 17 Jul 2003 11:02:40 +0200 Message-ID: User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.93 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii NNTP-Posting-Host: slip32-106-5-144.rot.nl.prserv.net X-Trace: 17 Jul 2003 09:13:26 GMT, slip32-106-5-144.rot.nl.prserv.net Organization: Global Network Services - Remote Access Mail & News Services X-Complaints-To: abuse@prserv.net Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!newsfeed.us.prserv.net!prserv.net!news3.prserv.net!slip32-106-5-144.rot.nl.prserv.net Xref: archiver1.google.com comp.lang.ada:40392 Date: 2003-07-17T11:02:40+02:00 List-Id: awm917@truman.edu (Aaron W. Myers) writes: > pagers of errors that say something like > compiling.error: "sockets-thin.adb" and "tcprelay.adb" compiled with > different GNAT versions That probably means what it says: that the object code of these files have been compiled by a version of GNAT different from what you are using. Try recompiling them. > > It says that i need to change my ADA_INCLUDE_PATH and ADA_OBJECTS_PATH > environment variables to point to the adapower directory, but i don't > know how to do this. On old versions of windows, that use autoexec.bat, add the lines set ADA_INCLUDE_PATH= set ADA_OBJECTS_PATH= On newer versions select 'My Computer', click on properties, go to the advanced tab en press the 'Environment variables' button. > > and it says i can use gnatreg to do that too, but i don't understand > what that utility does? With gnatreg you can tell the compiler where to find files using the registry instead of environment variables. Run it for more info. > Can anyone answer my questions? thanks a lot! You migh be better off using the Sockets library that is included with GNAT. See the Reference Manual under 'The GNAT library'. -- -- Jerry van Dijk | email: jvandyk@attglobal.net -- Leiden, Holland | web: users.ncrvnet.nl/gmvdijk