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.9 required=5.0 tests=BAYES_00,FORGED_GMAIL_RCVD, FREEMAIL_FROM,WEIRD_PORT autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,79d422601576e972,start X-Google-Attributes: gid103376,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news3.google.com!feeder1-2.proxad.net!proxad.net!feeder1-1.proxad.net!club-internet.fr!feedme-small.clubint.net!news.motzarella.org!motzarella.org!not-for-mail From: Sebastien Morand Newsgroups: comp.lang.ada Subject: AWS issue Date: Sat, 17 May 2008 21:00:40 +0000 Organization: A noiseless patient Spider Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: feeder.motzarella.org U2FsdGVkX18+BvxL23a0i8hsim2uFDvV6PMY3xDf4kbaB80WL3+toh6Iud+jaJTe6qFYE/TU9vp7no7Hco3K2ftFIOYyhsw28zZ8RAVKWAhP2Dmh6TkflEgp/3QnSVO9uYQgYLwPEfE= X-Complaints-To: Please send complaints to abuse@motzarella.org with full headers NNTP-Posting-Date: Sat, 17 May 2008 20:58:33 +0000 (UTC) X-Auth-Sender: U2FsdGVkX1+Isi4CniAB67TPjphT7jiC5biz319GrW4= Cancel-Lock: sha1:inY+RzKRxVbcJP4GiEklcRgEK+4= User-Agent: Thunderbird 2.0.0.12 (X11/20080406) Xref: g2news1.google.com comp.lang.ada:175 Date: 2008-05-17T21:00:40+00:00 List-Id: Hi, I've got two problems on AWS, hope there is some aws 2.3 users here. I'm under FreeBSD 7.0-STABLE running gnat and gcc 4.3 First, there are lines that doesn't compile, I think it's more an ada issue about some think I miss that an AWS issue: $ gnatmake --GCC=gcc-ada -P *gpr && ./httpd gcc-ada -c -I- -gnatA /mnt/programs/home/sebastien/workspaces/httpd/src/httpd/httpd.adb httpd.adb:65:06: no selector "Initialize" for private type "Handler" defined at aws-services-dispatchers-uri.ads:41 httpd.adb:66:06: no selector "Initialize" for private type "Handler" defined at aws-services-dispatchers-virtual_host.ads:39 gnatmake: "/mnt/programs/home/sebastien/workspaces/httpd/src/httpd/httpd.adb" compilation error The lines are the following: 60 H: AWS.Services.Dispatchers.URI.Handler; 61 V: AWS.Services.Dispatchers.Virtual_Host.Handler; 62 C: AWS.Config.Object := AWS.Config.Default_Config; 63 64 begin 65 H.Initialize; 66 V.Initialize; What I don't understand is that AWS.Services.Dispatchers.URI.Handler; is a new AWS.Dispatchers.Handler and Initialize is defined for AWS.Dispatchers.Handler type, so it should be ok. Second I'm not able to run AWS tests, I got the following for the hello_world demo : $ ./hello_world Call me on port 8080, I will stop in 60 seconds... Execution terminated by unhandled exception Exception name: AWS.NET.SOCKET_ERROR Message: Connect : [47] Address family not supported by protocol family Call stack traceback locations: 0x28188ac9 0x2818a535 0x2819196a 0x28183cac 0x2819bd94 0x2819e324 0x804d184 0x804d022 0x804c987 So, Could it be some mistakes in my gnat installation about socket? Sebastien