Mail Archives: djgpp/1999/11/03/23:59:16
OK, I have RSXNTDJ 1.5.1, and I managed to compile object code. It's
the linking that's got me stumped.
Make gives me this:
gccw32 -I. -DREGEX -DSTDC_HEADERS -DHAVE_STRING -D_WIN32 -D_DJGPP -o
junkbstr.exe jcc.o parsers.o filters.o loaders.o bind.o conn.o
encode.o ssplit.o socks4.o acl.o gnu_regex.o win32.o wsock32.a
jcc.o(.text+0x2334):jcc.c: undefined reference to `_beginthread'
make.exe: *** [junkbstr.exe] Error 1
I've been informed (see below) that _beginthread is part of the
WinAPI. If such basic elements can't be found, I think I must have
setup RSXNTDJ incorrectly, even though installation seems incredibly
simple. Also, the sample programs I tried to compile worked just fine.
These are in my environment:
DJGPP=C:\code\DJGPP\DJGPP.ENV
C_INCLUDE_PATH=C:\code\djgpp\RSXNTDJ\include\win32
RSXNTDJ=C:\code\djgpp\RSXNTDJ
The rsxntdj directory is also in my path.
If I've missed something basic, please point me to a doc or some such.
Thanks all.
-J
On Sun, 24 Oct 1999 14:39:01 +1000, "Johan Venter"
<jventer AT writeme DOT com> wrote:
>Damian Yerrick <DELCAPSyerricde AT pineight DOT 8mSOFTWARE DOT com> wrote in message
>news:38124be0 DOT 26005660 AT news DOT gte DOT net...
>> > Any thoughts or suggestions would help. If anybody could tell me where
>> > to get a standard windows.h include, I'd appreciate that too.
>>
>> Umm, probably with the version of MSSDK that comes with RSXNTDJ.
>
>There is no version of the MSSDK with RSXNTDJ. RSXNTDJ has always had it's own
>headers (mostly stolen from Cygwin). Now however, with RSXNTDJ 1.5.1, the WinAPI
>is implemented by Anders Norlanders' excellant WinAPI headers package.
>
>> Those functions are defined by the Win32 API. Get RSXNTDJ
>> if you want Win32 support.
>
>Make sure it's RSXNTDJ 1.5.1 too. It's rsxdj151.zip in the vt2k/ directory on
>DJGPP mirrors (Simtel).
- Raw text -