comp.lang.ada
 help / color / mirror / Atom feed
* Re: Apex Socket linking
  1999-06-15  0:00 Apex Socket linking askeya
@ 1999-06-15  0:00 ` Samuel T. Harris
  0 siblings, 0 replies; 2+ messages in thread
From: Samuel T. Harris @ 1999-06-15  0:00 UTC (permalink / raw)


askeya wrote:
> 
> Apex Ada95 question:
> 
> I have a very simple program to open a socket.  I "with"ed in
> Unix_Network_Operations and the supporting specs.  The program compiles
> with no problems but I get a link error because the linker can not find
> "socket".  The "socket" man page says to link in -lxnet.  How can I do
> this in Apex?
> 
> Model: sun4_solaris2.ada95.thread.3.0.0.rel
> 
> I know this is not an Apex group, but this is the closest I can find.
> 
> Thanx.
> --
> ---------------------------------------------------
> |                 Andy Askey                      |
> |              Software Engineer                  |
> |           Raytheon Systems Company              |
> |   670 Discovery Drive, Huntsville, AL  35806    |
> |   Phone: (256) 971-2367  Fax: (256) 971-2306    |
> |        andrew_j_askey@res.raytheon.com          |
> ---------------------------------------------------

Add -lxnet to your NON_ADA_LINKAGE switch of the view
with the main program being linked.

You can also try using pragma Link_With in the main
programs source code.

-- 
Samuel T. Harris, Principal Engineer
Raytheon, Scientific and Technical Systems
"If you can make it, We can fake it!"




^ permalink raw reply	[flat|nested] 2+ messages in thread

* Apex Socket linking
@ 1999-06-15  0:00 askeya
  1999-06-15  0:00 ` Samuel T. Harris
  0 siblings, 1 reply; 2+ messages in thread
From: askeya @ 1999-06-15  0:00 UTC (permalink / raw)


Apex Ada95 question:

I have a very simple program to open a socket.  I "with"ed in
Unix_Network_Operations and the supporting specs.  The program compiles
with no problems but I get a link error because the linker can not find
"socket".  The "socket" man page says to link in -lxnet.  How can I do
this in Apex?

Model: sun4_solaris2.ada95.thread.3.0.0.rel

I know this is not an Apex group, but this is the closest I can find.

Thanx.
-- 
---------------------------------------------------
|                 Andy Askey                      |
|              Software Engineer                  |
|           Raytheon Systems Company              |
|   670 Discovery Drive, Huntsville, AL  35806    |
|   Phone: (256) 971-2367  Fax: (256) 971-2306    |
|        andrew_j_askey@res.raytheon.com          |
---------------------------------------------------




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1999-06-15  0:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-06-15  0:00 Apex Socket linking askeya
1999-06-15  0:00 ` Samuel T. Harris

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox