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.4 required=5.0 tests=BAYES_00,FORGED_MUA_MOZILLA autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,c3f735b2c954355f X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Received: by 10.68.220.230 with SMTP id pz6mr911588pbc.3.1338443088687; Wed, 30 May 2012 22:44:48 -0700 (PDT) Path: l9ni2575pbj.0!nntp.google.com!news2.google.com!volia.net!news2.volia.net!feed-A.news.volia.net!news.musoftware.de!wum.musoftware.de!de-l.enfer-du-nord.net!feeder2.enfer-du-nord.net!usenet-fr.net!proxad.net!feeder1-2.proxad.net!193.252.117.184.MISMATCH!feeder.news.orange.fr!not-for-mail Date: Thu, 31 May 2012 07:44:48 +0200 From: Pascal Obry Organization: Home - http://www.obry.net User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; fr-FR; rv:1.8.1.22) Gecko/20090605 Thunderbird/2.0.0.22 Mnenhy/0.7.5.0 MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: AWS Windos build trouble. References: <88c7a22d-9dbe-4981-99b7-205d514730f1@googlegroups.com> In-Reply-To: <88c7a22d-9dbe-4981-99b7-205d514730f1@googlegroups.com> Message-ID: <4fc7054f$0$12512$ba4acef3@reader.news.orange.fr> NNTP-Posting-Date: 31 May 2012 07:44:47 CEST NNTP-Posting-Host: 82.124.73.203 X-Trace: 1338443087 reader.news.orange.fr 12512 82.124.73.203:4877 X-Complaints-To: abuse@orange.fr Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Date: 2012-05-31T07:44:47+02:00 List-Id: Shark8, > Alright; I got AWS to build (using cygwin) though it fails on make install. > "Not too much of a problem" I foolishly thought to myself, as I tried to manually put the proper files under the includes directory (which required some fishing about the GPR files), create a project for it, and compile all the files... which I did, but now I'm getting this mess of errors [compiling the AWS "Hello World"]: > > gnatmake -d -PC:\AWS\aws_test.gpr Test.adb > gnatbind -I- -x C:\AWS\Obj\test.ali > gnatlink C:\AWS\Obj\test.ali -o C:\AWS\test.exe > Warning: resolving _getpeername by linking to _getpeername@12 > Use --enable-stdcall-fixup to disable these warnings > Use --disable-stdcall-fixup to disable these fixups > Warning: resolving _getsockname by linking to _getsockname@12 > Warning: resolving _gethostname by linking to _gethostname@8 > Warning: resolving _gethostbyname by linking to _gethostbyname@4 > Warning: resolving _gethostbyaddr by linking to _gethostbyaddr@12 > Warning: resolving _accept by linking to _accept@12 > Warning: resolving _bind by linking to _bind@12 > Warning: resolving _connect by linking to _connect@12 > Warning: resolving _listen by linking to _listen@8 > Warning: resolving _recvfrom by linking to _recvfrom@24 > Warning: resolving _setsockopt by linking to _setsockopt@20 > Warning: resolving _shutdown by linking to _shutdown@8 > Warning: resolving _socket by linking to _socket@12 You are probably mixing Cygwin libraries and native Windows ones. No hope on this route. Please clean-up everything. Make sure GNAT compiler come first in the PATH and then Cygwin toolset. At this point just do: $ make setup $ make $ make install If you have any error during those steps please report. Pascal. -- --|------------------------------------------------------ --| Pascal Obry Team-Ada Member --| 45, rue Gabriel Peri - 78114 Magny Les Hameaux FRANCE --|------------------------------------------------------ --| http://www.obry.net - http://v2p.fr.eu.org --| "The best way to travel is by means of imagination" --| --| gpg --keyserver keys.gnupg.net --recv-key F949BD3B