From: James Vasile Newsgroups: comp.os.msdos.djgpp Subject: Re: Making Internet Junkbuster Proxy Date: Wed, 03 Nov 1999 23:00:36 -0500 Organization: Columbia University Lines: 49 Message-ID: References: <6S4SOFrFVkMsZbGI0ekOCMSDgdhx AT 4ax DOT com> <38124be0 DOT 26005660 AT news DOT gte DOT net> NNTP-Posting-Host: dialup-cc2-65.cc.columbia.edu Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: newsmaster.cc.columbia.edu 941684398 28872 128.59.58.170 (4 Nov 1999 02:59:58 GMT) X-Complaints-To: postmaster AT columbia DOT edu NNTP-Posting-Date: 4 Nov 1999 02:59:58 GMT X-Newsreader: Forte Agent 1.6/32.525 X-No-Archive: yes To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com 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" wrote: >Damian Yerrick 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).