From: Pascal Obry <pascal@obry.net>
Subject: Re: AWS Windos build trouble.
Date: Thu, 31 May 2012 07:44:48 +0200
Date: 2012-05-31T07:44:47+02:00 [thread overview]
Message-ID: <4fc7054f$0$12512$ba4acef3@reader.news.orange.fr> (raw)
In-Reply-To: <88c7a22d-9dbe-4981-99b7-205d514730f1@googlegroups.com>
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
next prev parent reply other threads:[~2012-05-31 5:44 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-05-31 4:56 AWS Windos build trouble Shark8
2012-05-31 5:44 ` Pascal Obry [this message]
2012-05-31 7:01 ` Shark8
2012-06-01 22:14 ` Pascal Obry
2012-06-02 2:03 ` Shark8
2012-06-03 14:45 ` Pascal Obry
2012-06-04 16:04 ` Shark8
2012-06-04 16:33 ` Pascal Obry
2012-06-06 3:37 ` Shark8
2012-06-06 6:56 ` Pascal Obry
2012-06-06 13:55 ` Shark8
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox