public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* RE: New Question:
@ 1997-09-25 22:55 Sergey Okhapkin
  1997-09-26 11:19 ` Kermit Tensmeyer
  0 siblings, 1 reply; 3+ messages in thread
From: Sergey Okhapkin @ 1997-09-25 22:55 UTC (permalink / raw)
  To: gnu-win32, 'Kermit Tensmeyer'

Kermit Tensmeyer wrote:
>  I found the source of the library as libwsock32.a, so I added 
> -lwsock32.a. No complaints from gcc, so i assume that it found
>  the directory and the file. But it still complains that _rexec
>  and _recv are not found in the link.

Include <sys/socket.h> to your sourses. Rexec is not implemented.

-- 
Sergey Okhapkin, http://www.lexa.ru/sos
Moscow, Russia
Looking for a job.


-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".

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

* Re: New Question:
  1997-09-25 22:55 New Question: Sergey Okhapkin
@ 1997-09-26 11:19 ` Kermit Tensmeyer
  0 siblings, 0 replies; 3+ messages in thread
From: Kermit Tensmeyer @ 1997-09-26 11:19 UTC (permalink / raw)
  To: gnu-win32

Sergey Okhapkin wrote:
> 
> Kermit Tensmeyer wrote:
> >  I found the source of the library as libwsock32.a, so I added
> > -lwsock32.a. No complaints from gcc, so i assume that it found
> >  the directory and the file. But it still complains that _rexec
> >  and _recv are not found in the link.
> 
> Include <sys/socket.h> to your sourses. Rexec is not implemented.

  No.   Nice guess, but wrong.

 sys/socket.h documents something else.

 I understand that the executible Rexec (1) is _not_ implmented.
 However the library libwsock32.a contains the library functions
 rexec (3), recv (3)

 I will include a list of all entry points found in this library.
 the include file should also have prototypes for public functions,
 but not necessarly for the private functions.

  for details  use nm on the library libwsock32.a

 (of course if you want the symbols for other libraries you
  can use the same tool.  see the documents on nm.)


libwsock32.a	_socket
libwsock32.a	_shutdown
libwsock32.a	_setsockopt
libwsock32.a	_sethostname
libwsock32.a	_sendto
libwsock32.a	_send
libwsock32.a	_select
libwsock32.a	_s_perror
libwsock32.a	_rresvport
libwsock32.a	_rexec
libwsock32.a	_recvfrom
libwsock32.a	_recv
libwsock32.a	_rcmd
libwsock32.a	_ntohs
libwsock32.a	_ntohl
libwsock32.a	_listen
libwsock32.a	_ioctlsocket
libwsock32.a	_inet_ntoa
libwsock32.a	_inet_network
libwsock32.a	_inet_addr
libwsock32.a	_htons
libwsock32.a	_htonl
libwsock32.a	_getsockopt
libwsock32.a	_getsockname
libwsock32.a	_getservbyport
libwsock32.a	_getservbyname
libwsock32.a	_getprotobynumber
libwsock32.a	_getprotobyname
libwsock32.a	_getpeername
libwsock32.a	_getnetbyname
libwsock32.a	_gethostname
libwsock32.a	_gethostbyname
libwsock32.a	_gethostbyaddr
libwsock32.a	_dn_expand
libwsock32.a	_connect
libwsock32.a	_closesocket
libwsock32.a	_bind
libwsock32.a	_accept
libwsock32.a	___WSAFDIsSet
libwsock32.a	_WSApSetPostRoutine
libwsock32.a	_WSAUnhookBlockingHook
libwsock32.a	_WSAStartup
libwsock32.a	_WSASetLastError
libwsock32.a	_WSASetBlockingHook
libwsock32.a	_WSARecvEx
libwsock32.a	_WSAIsBlocking
libwsock32.a	_WSAGetLastError
libwsock32.a	_WSACleanup
libwsock32.a	_WSACancelBlockingCall
libwsock32.a	_WSACancelAsyncRequest
libwsock32.a	_WSAAsyncSelect
libwsock32.a	_WSAAsyncGetServByPort
libwsock32.a	_WSAAsyncGetServByName
libwsock32.a	_WSAAsyncGetProtoByNumber
libwsock32.a	_WSAAsyncGetProtoByName
libwsock32.a	_WSAAsyncGetHostByName
libwsock32.a	_WSAAsyncGetHostByAddr
libwsock32.a	_WEP
libwsock32.a	_TransmitFile
libwsock32.a	_SetServiceW
libwsock32.a	_SetServiceA
libwsock32.a	_NPLoadNameSpaces
libwsock32.a	_GetTypeByNameW
libwsock32.a	_GetTypeByNameA
libwsock32.a	_GetServiceW
libwsock32.a	_GetServiceA
libwsock32.a	_GetNameByTypeW
libwsock32.a	_GetNameByTypeA
libwsock32.a	_GetAddressByNameW
libwsock32.a	_GetAddressByNameA
libwsock32.a	_EnumProtocolsW
libwsock32.a	_EnumProtocolsA



-- 
-------
  Kermit Tensmeyer    (E & T - Networking)
  Kermit@ticnet.com     Dallas
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".

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

* New Question:
@ 1997-09-25 10:23 Kermit Tensmeyer
  0 siblings, 0 replies; 3+ messages in thread
From: Kermit Tensmeyer @ 1997-09-25 10:23 UTC (permalink / raw)
  To: gnu-win32

Yea, I Know,  RTFM.

What I'd like is a pointer to the right FM...

 I'm trying to get a little piece of code working..

 Works on Unix fine.

  Move code to NT, compile and link.  "it" complains about missing
 object modules. I used perl and nm to search the libraries to
 find the particular library.

 I found the source of the library as libwsock32.a, so I added 
-lwsock32.a. No complaints from gcc, so i assume that it found
 the directory and the file. But it still complains that _rexec
 and _recv are not found in the link.

 so either it's not translating the name (hardly, I think _name
 is almost universal for the gcc linkers), wrong library (maybe)
 or there is a missing include file.

  Is there a include file that matchs the functions in the 
  libwsock32.a and gives the prototypes?

  somehow I think that it would be unusual if the functions
  (parameters and returns) would match the Unix implementation
  for sock_stream and remote execution.

  Hints?  I would be glad to RTFM.

-- 
-------
  Kermit Tensmeyer    (E & T - Networking)
  Kermit@ticnet.com     Dallas
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".

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

end of thread, other threads:[~1997-09-26 11:19 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1997-09-25 22:55 New Question: Sergey Okhapkin
1997-09-26 11:19 ` Kermit Tensmeyer
  -- strict thread matches above, loose matches on Subject: below --
1997-09-25 10:23 Kermit Tensmeyer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).