delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/12/02/16:06:30

Message-ID: <19991202194629.26078.qmail@hotmail.com>
X-Originating-IP: [161.114.71.61]
From: "Simon NW23" <simon_nw23 AT hotmail DOT com>
To: djgpp AT delorie DOT com
Subject: rsxntdj importing libs and more questions :)
Date: Thu, 02 Dec 1999 11:46:29 PST
Mime-Version: 1.0
Reply-To: djgpp AT delorie DOT com

I am currently working with rsxntdj.  Have ran into the
problem of missing libs and such.  There is a command
within rsxntdj.hlp that tells of making lib extracts
from dll files.

>makelib wsock32.dll
*** This would produce "wsock32.a".
If you try this on say winsock.dll it will tell
you that it is not a valid win32 file.  Perhaps 16bit?

I am currently trying to get the poorteln.c program to
compile.  Had to name "wsock32.a" to "libwsock32.a" in
order for it to see it.  The command I use to compile
poorteln.c is:

>gccw32 poorteln.c -O -lwsock32
*** get these errors now:
undefined reference to `_getsockhandle'
// contained in stdlib.h & syscall.h -- tried with
   syscall.h as well.
undefined reference to `_beginthread'
// contained in stdlib.h -- yet is included in source
via an include statement.

The only reference I can find to these variables are within
stdlib.h & syscall.h (emx?).  Do we require emx would
be the question.  I may not have added a lib I need.
I am using untouched source included with rsx (poorteln.c).
If anyone knows what I am doing wrong please tell me.

Here is my batch I run before using djgpp or rsx incase
anyone wanted to know:

set path=%path%;d:\rsx\bin;d:\djgpp\bin
set rsxntdj=d:\rsx
set djgpp=d:\djgpp\djgpp.env
SET LIBRARY_PATH=d:\RSX\LIB;d:\djgpp\lib
SET C_INCLUDE_PATH=d:\RSX\INCLUDE;d:\djgpp\include

I have scourged the net looking for source and info only to
come up with literally nothing.  I found the rsx webpage,
but there is not much.  The only info I have is within the
docs and hlp files.  If anyone knows of any links please
post them.

Until then... cheers :)

______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019