Thomas De Contes | 14 Oct 04:59
Favicon

mac os x / intel

hi :-)

adasockets 1.8.5 works fine on mac os x / ppc,
but not on mac os x / intel :

gcc -dynamiclib ${wl}-flat_namespace ${wl}-undefined ${wl}suppress - 
o .libs/libadasockets.0.0.0.dylib  .libs/sockets-constants.o .libs/ 
sockets-link.o .libs/sockets-multicast.o .libs/sockets-naming.o .libs/ 
sockets-stream_io.o .libs/sockets-thin.o .libs/sockets-types.o .libs/ 
sockets-utils.o .libs/sockets.o   -install_name  /Users/thomas/ 
Documents/info/bin/autoinstall/autre/lib/libadasockets.0.dylib -Wl,- 
compatibility_version -Wl,1 -Wl,-current_version -Wl,1.0
/usr/bin/ld: unknown flag: -compatibility_version

do you need the complete log ?

ps :
http://www.rfc1149.net/download/adasockets/adasockets.pdf is old
you could delete it, since it is in the .tgz
(or have ou a specific reason to keep it ?)

--

-- 
j'agis contre l'assistanat, je travaille dans une SCOP !

_______________________________________________
AdaSockets mailing list
AdaSockets <at> lists.rfc1149.net
http://lists.rfc1149.net/mailman/listinfo/adasockets

(Continue reading)

Samuel Tardieu | 4 Nov 21:30
Favicon
Gravatar

Re: mac os x / intel

>>>>> "Thomas" == Thomas De Contes <d.l.tDeContes <at> free.fr> writes:

Thomas> hi :-) adasockets 1.8.5 works fine on mac os x / ppc, but not
Thomas> on mac os x / intel :

The error you describe may be fixed in the latest libtool
version. It should be fixed in the next AdaSockets release. Thanks for
the report.

Thomas> ps : http://www.rfc1149.net/download/adasockets/adasockets.pdf
Thomas> is old you could delete it, since it is in the .tgz (or have
Thomas> ou a specific reason to keep it ?)

You are right, I will remove it.

  Sam
--

-- 
Samuel Tardieu -- sam <at> rfc1149.net -- http://www.rfc1149.net/

_______________________________________________
AdaSockets mailing list
AdaSockets <at> lists.rfc1149.net
http://lists.rfc1149.net/mailman/listinfo/adasockets

Thomas De Contes | 5 Nov 16:20
Favicon

Re: mac os x / intel


Le 4 nov. 07 à 21:30, Samuel Tardieu a écrit :

>>>>>> "Thomas" == Thomas De Contes <d.l.tDeContes <at> free.fr> writes:
>
> Thomas> hi :-) adasockets 1.8.5 works fine on mac os x / ppc, but not
> Thomas> on mac os x / intel :

In fact it was between gnat 4.0 / gnat 4.3

>
> The error you describe may be fixed in the latest libtool
> version. It should be fixed in the next AdaSockets release. Thanks for
> the report.

Thank you, it works fine :-)

btw,
Could you make a project file (.gpr) for adasockets please ? :-)
I use them since i use AWS, and i find them very usefull :-)

And could you make an "udprelay", as an example moreover, please ? It  
would be usefull too :-)

--

-- 
j'agis contre l'assistanat, je travaille dans une SCOP !

_______________________________________________
AdaSockets mailing list
AdaSockets <at> lists.rfc1149.net
(Continue reading)

Samuel Tardieu | 5 Nov 16:52
Favicon
Gravatar

Re: mac os x / intel

On  5/11, Thomas De Contes wrote:

> Could you make a project file (.gpr) for adasockets please ? :-)
> I use them since i use AWS, and i find them very usefull :-)

Feel free to contribute one.

> And could you make an "udprelay", as an example moreover, please ? It would 
> be usefull too :-)

Feel free to contribute one too.

  Sam

_______________________________________________
AdaSockets mailing list
AdaSockets <at> lists.rfc1149.net
http://lists.rfc1149.net/mailman/listinfo/adasockets

Thomas De Contes | 15 Nov 04:50
Favicon

Re: mac os x / intel


Le 5 nov. 07 à 16:52, Samuel Tardieu a écrit :

> On  5/11, Thomas De Contes wrote:
>
>> Could you make a project file (.gpr) for adasockets please ? :-)
>> I use them since i use AWS, and i find them very usefull :-)
>
> Feel free to contribute one.

I don't know project files enough for that

If someone wants to do it,
i know that gtkada does allow both gtkada-config and project files,  
so you can make the comparison,
then look at adasockets-config to see what is needed

If noone wants, no mater,
i'll use adasockets-config on top of my project files, i think it's  
compatible :-)

>
>> And could you make an "udprelay", as an example moreover, please ?  
>> It would
>> be usefull too :-)
>
> Feel free to contribute one too.

Ok :-)
I need it (and it is under my competences), so i do it :-)
(Continue reading)

Samuel Tardieu | 19 Nov 17:51
Favicon
Gravatar

Re: mac os x / intel

>>>>> "Thomas" == Thomas De Contes <d.l.tDeContes <at> free.fr> writes:

Thomas> Ok :-) I need it (and it is under my competences), so i do it
Thomas> :-) http://dl.free.fr/iHQYK02sl/udprelay.adb

Thanks.

Thomas> But i need your help on udp sockets usage : What should i do
Thomas> instead of Connect l 96 ?

Doesn't it work as-is?

Thomas> btw, What does Setsockopt l 91 exactly ? is it needed ?

>From the socket(7) Linux manpage:

| SO_REUSEADDR
|        Indicates  that  the rules used in validating addresses supplied
|        in a bind(2) call should allow reuse of  local  addresses.   For
|        PF_INET  sockets  this means that a socket may bind, except when
|        there is an active listening socket bound to the address.   When
|        the listening socket is bound to INADDR_ANY with a specific port
|        then it is not possible to bind  to  this  port  for  any  local
|        address.  Argument is an integer boolean flag.

Thomas> What do you think about other code ?

It looks fine, although I haven't tried it. Did you?

  Sam
(Continue reading)

Thomas De Contes | 15 Nov 04:43
Favicon

Re: mac os x / intel


Le 4 nov. 07 à 21:30, Samuel Tardieu a écrit :

>>>>>> "Thomas" == Thomas De Contes <d.l.tDeContes <at> free.fr> writes:
>
> Thomas> http://www.rfc1149.net/download/adasockets/adasockets.pdf
> Thomas> is old You could delete it, since it is in the .tgz (or have
> Thomas> you a specific reason to keep it ?)
>
> You are right, I will remove it.

Well, there is a pb :-/
The .pdf in http://www.rfc1149.net/download/adasockets/ 
adasockets-1.8.6.tar.gz is 0 byte length :-(

How can one get the doc, please ?

--

-- 
j'agis contre l'assistanat, je travaille dans une SCOP !

_______________________________________________
AdaSockets mailing list
AdaSockets <at> lists.rfc1149.net
http://lists.rfc1149.net/mailman/listinfo/adasockets

Samuel Tardieu | 19 Nov 17:44
Favicon
Gravatar

Re: mac os x / intel

>>>>> "Thomas" == Thomas De Contes <d.l.tDeContes <at> free.fr> writes:

Thomas> Well, there is a pb :-/ The .pdf in
Thomas> http://www.rfc1149.net/download/adasockets/
Thomas> adasockets-1.8.6.tar.gz is 0 byte length :-(

Thomas> How can one get the doc, please ?

You can remove it and it should get regenerated when you do "make"
(provided you installed the proper tools). I will make a new package
one of those days with the doc fixed, thanks for the heads up.

  Sam
--

-- 
Samuel Tardieu -- sam <at> rfc1149.net -- http://www.rfc1149.net/

_______________________________________________
AdaSockets mailing list
AdaSockets <at> lists.rfc1149.net
http://lists.rfc1149.net/mailman/listinfo/adasockets


Gmane