From: Sebastien Morand <seb.morand@gmail.com>
Subject: AWS issue
Date: Sat, 17 May 2008 21:00:40 +0000
Date: 2008-05-17T21:00:40+00:00 [thread overview]
Message-ID: <g0ngto$gs5$1@registered.motzarella.org> (raw)
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
next reply other threads:[~2008-05-17 21:00 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-05-17 21:00 Sebastien Morand [this message]
2008-05-17 23:15 ` AWS issue Samuel Tardieu
2008-05-18 10:13 ` Per Sandberg
2008-05-18 10:10 ` Ludovic Brenta
2008-05-18 11:51 ` Sebastien Morand
2008-05-18 20:46 ` Simon Wright
2008-05-18 20:59 ` Gautier
2008-05-18 17:16 ` Sebastien Morand
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox